Forum Discussion
Anonymous
6 years agoNot applicable
Error on Subtracting two measures having format
Hi PaulDBrown and @all, Here is one more Issue i am facing. I think you can fix this. Continuing to the link below. https://community.powerbi.com/t5/Desktop/sign-currency-for-only-few-rows-bas...
- 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,
PaulDBrown
Community Champion
6 years agoAnonymous
by "format" do you mean you are using the Function FORMAT( ) ?
Anonymous
6 years agoNot applicable
yes PaulDBrown
- v-lid-msft6 years ago
Community Support
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, - Anonymous6 years agoNot applicable
Hi,
Please try to apply the FORMAT function for the whole arithmetic operation and not for each measure.
so basicaly, FORMAT([January]-[February],....)