Advance your Data & AI career with 50 days of live learning, dataviz contests, hands-on challenges, study groups & certifications and more!
Get registeredGet Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Request now
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.
Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!
Check out the October 2025 Power BI update to learn about new features.