Forum Discussion
Error on Subtracting two measures having format
- 6 years ago
Hi Anonymous ,
We can try to use the following measure to meet your requirement:
Change = VALUE ( SUBSTITUTE ( [January Total] & "", "$", "" ) ) - VALUE ( SUBSTITUTE ( [February Total] & "", "$", "" ) )If it does not work, could you please share the formula of [Janury Total] and [February Total] if it does not contain any confidential information?
Best regards,
Thanks for reply PaulDBrown
The calculation used for Change are measures [January Total] and [February Total] which have the same data type as shown in below screenshot.
Change = [January Total] - [February Total]
Still results in same error. Is there any thing else I am missing ?
i think some of the columns you use to calculate january total or february total is txt or some are date and other numeric.
- Anonymous6 years agoNot applicable
Hi santiagomur ,
Thanks for reply. I have checked with calculating columns and measures. All of them are set to Decimal Number.- santiagomur6 years ago
Resolver II
try use Jantotal=values(column) FebTot=Values(column) dif=[JanTotal]-[FebTotal]
- PaulDBrown6 years ago
Community Champion
Anonymous
Are you using the function FORMAT in any of the columns or measures?
The error you are getting is saying that somewhere along the calculation line you have a non-number value(s)
- Anonymous6 years agoNot applicable
January and February measures have both have format PaulDBrown