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!To celebrate FabCon Vienna, we are offering 50% off select exams. Ends October 3rd. Request your discount now.
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.
Solved! Go to Solution.
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.
Hi @Anonymous
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.
Regards
Phil
Proud to be a Super User!
Hi @Anonymous
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.
Regards
Phil
Proud to be a 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.