I am trying to subtract two columns in a view. Column 1 is the traditional "Planned Expense Cost" Field and looks like this in text mode:
aggregator.displayformat=currencyStringCurrencyRounded
aggregator.function=SUM
aggregator.namekey=plannedExpenseCost
aggregator.valuefield=plannedExpenseCost
aggregator.valueformat=doubleAsDouble
displayname=
linkedname=direct
namekey=plannedExpenseCost
querysort=plannedExpenseCost
valuefield=plannedExpenseCost
valueformat=currencyStringCurrencyRounded
Column 2 is shown below in text mode:
displayname=
linkedname=direct
namekey=Planned Capital Cost
querysort=DE:Planned Capital Cost
valuefield=Planned Capital Cost
valueformat=customNumberAsCurrencyStringRounded
I want to subtract column 2 from column 1 and display the value. I thought the formula should be simple, but I am not receiving a result. Here is what I have:
displayname=Expense Cost
textmode=true
valueexpression=SUB({plannedExpenseCost},{plannedCapitalCost})
valueformat=customNumberAsCurrencyStringRounded
Can anyone help with what I am missing?
Thank you!
Cori