Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more

Reply
NYT8er
New 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 special programming?

1 ACCEPTED SOLUTION
Ashish_Mathur
Super User
Super 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])


Regards,
Ashish Mathur
http://www.ashishmathur.com
https://www.linkedin.com/in/excelenthusiasts/

View solution in original post

3 REPLIES 3
Ashish_Mathur
Super User
Super 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])


Regards,
Ashish Mathur
http://www.ashishmathur.com
https://www.linkedin.com/in/excelenthusiasts/


@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.


Regards,
Ashish Mathur
http://www.ashishmathur.com
https://www.linkedin.com/in/excelenthusiasts/

Helpful resources

Announcements
Power BI DataViz World Championships

Power BI Dataviz World Championships

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!

December 2025 Power BI Update Carousel

Power BI Monthly Update - December 2025

Check out the December 2025 Power BI Holiday Recap!

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.