Forum Discussion
NYT8er
6 years agoNew Member
Card Visual to return an absolute value
I have a Card Visual that shows a negative dollar amount and would like to have it show as a positive without transforming all the records in the data model. Any possible way to do this without spec...
- 6 years ago
Hi,
Use the ABS() function - https://docs.microsoft.com/en-us/dax/abs-function-dax. You may also use this measure
=IF([your measure]<0,-[your measure],[your measure])
Ashish_Mathur
6 years agoSuper User
Hi,
Use the ABS() function - https://docs.microsoft.com/en-us/dax/abs-function-dax. You may also use this measure
=IF([your measure]<0,-[your measure],[your measure])
NYT8er
6 years agoNew Member
Ashish_Mathur wrote:Hi,
Use the ABS() function - https://docs.microsoft.com/en-us/dax/abs-function-dax. You may also use this measure
=IF([your measure]<0,-[your measure],[your measure])
There is no where for me to apply either function. I only need the sum value to be returned as an absolute in the Card Visual.
- Ashish_Mathur6 years agoSuper User
Hi,
Go to Modelling > New Measure and use those functions.