Join us at FabCon Atlanta from March 16 - 20, 2026, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.
Register now!The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more
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 special programming?
Solved! Go to Solution.
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])
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 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.
Hi,
Go to Modelling > New Measure and use those functions.
The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!
| User | Count |
|---|---|
| 39 | |
| 37 | |
| 33 | |
| 32 | |
| 29 |
| User | Count |
|---|---|
| 133 | |
| 88 | |
| 85 | |
| 68 | |
| 64 |