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

Enhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.

Reply
Anonymous
Not applicable

How can I show all numbers as absolute values but have totals reflect the true total

In accounting, some values are assumed to be negative and some clients expect them to be reported as positive numbers. I'd like to show all of the values as positive numbers but show the correct totals.

 

brookseitz_0-1714072374606.png

 

2 ACCEPTED SOLUTIONS
vicky_
Super User
Super User

You can try something like:

Measure = IF(
    HASONEVALUE('Table'[Column for Capital, Capital to Investments etc...])), // i.e this is not a totals column
    ABS([Your exiting calculation here]),
    [Your exiting calculation here])
)

You might need some more involved IF-statements if you need it to work for subtotals too.

View solution in original post

PhilipTreacy
Super User
Super User

Hi @Anonymous 

 

Download example PBIX file

 

Apply a Custom Format String to the values (columns).  For example if you use this format string $#,#;$#,#;$0 (just type it into the Format area as shown below, then hit Enter)

 

Then all negative values will be displayed as positive values, and your totals will still add up properly.

 

cfs22.png

 

Regards

 

Phil

 



Did I answer your question? Then please mark my post as the solution.
If I helped you, click on the Thumbs Up to give Kudos.


Blog :: YouTube Channel :: Connect on Linkedin


Proud to be a Super User!


View solution in original post

2 REPLIES 2
PhilipTreacy
Super User
Super User

Hi @Anonymous 

 

Download example PBIX file

 

Apply a Custom Format String to the values (columns).  For example if you use this format string $#,#;$#,#;$0 (just type it into the Format area as shown below, then hit Enter)

 

Then all negative values will be displayed as positive values, and your totals will still add up properly.

 

cfs22.png

 

Regards

 

Phil

 



Did I answer your question? Then please mark my post as the solution.
If I helped you, click on the Thumbs Up to give Kudos.


Blog :: YouTube Channel :: Connect on Linkedin


Proud to be a Super User!


vicky_
Super User
Super User

You can try something like:

Measure = IF(
    HASONEVALUE('Table'[Column for Capital, Capital to Investments etc...])), // i.e this is not a totals column
    ABS([Your exiting calculation here]),
    [Your exiting calculation here])
)

You might need some more involved IF-statements if you need it to work for subtotals too.

Helpful resources

Announcements
August Power BI Update Carousel

Power BI Monthly Update - August 2025

Check out the August 2025 Power BI update to learn about new features.

August 2025 community update carousel

Fabric Community Update - August 2025

Find out what's new and trending in the Fabric community.