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 ?
Anonymous
Try changing the "Data Type: variant" to decimal number.
If you can't do it in the measure formatting options, make sure your columns you are refrencing in the measures for the calculations are formatted as decimal numbers.
- Anonymous6 years agoNot applicable
Hi PaulDBrown ,
Unable to change the data type from Variant as few are having $ format and few don't. I have checked from lowest calculating columns and measures. I have changed them from General to Decimal Number still its the same error.