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
Dear All,
i'm doing a treemap, and i would like the negative values to be displayed as abs values, while at the moment i have them displayed as zero. How can i do? please notice that the field does not come from a measure, is a field on my excel database.
thanks
Mirco
Solved! Go to Solution.
@mircogia Treemap doesn't support negative values, so if you need to see the negative values, you may need a different visual.
Another thought I had was the do the measure as I showed, but then add a calculated column to categorize them as negative or positive. Then have a treemap that way, like this:
The calculated column is fairly straightforward:
Respectfully,
Zoe Douglas (DataZoe)
Follow me on LinkedIn at https://www.linkedin.com/in/zoedouglas-data
See my reports and blog at https://www.datazoepowerbi.com/
Hi @mircogia ,
I'd suggest that you create a measure based on the column that is coming from excel to transform the data. Maybe this would work?
Measure =
ABS ( SUM ( Table[Value] ) )
Respectfully,
Zoe Douglas (DataZoe)
Follow me on LinkedIn at https://www.linkedin.com/in/zoedouglas-data
See my reports and blog at https://www.datazoepowerbi.com/
hi, i saw the solution but i don't understand what it means "You could try to measure to show negative value" , any advice?
as i would need to know anyway when is negative, i didn't want to convert the data
thanks
@mircogia Treemap doesn't support negative values, so if you need to see the negative values, you may need a different visual.
Another thought I had was the do the measure as I showed, but then add a calculated column to categorize them as negative or positive. Then have a treemap that way, like this:
The calculated column is fairly straightforward:
Respectfully,
Zoe Douglas (DataZoe)
Follow me on LinkedIn at https://www.linkedin.com/in/zoedouglas-data
See my reports and blog at https://www.datazoepowerbi.com/
that's a good idea!! many thanks for the advice
Hi @mircogia ,
So your issue is solved,right?Could you pls mark the reply as answered to close it?
Much appreciated.
Hi @mircogia ,
There is an existing thread for this:
https://community.powerbi.com/t5/Desktop/displaying-negative-values-in-Treemap/m-p/847381
Thanks,
Pragati
The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!
| User | Count |
|---|---|
| 38 | |
| 36 | |
| 33 | |
| 30 | |
| 28 |
| User | Count |
|---|---|
| 128 | |
| 88 | |
| 79 | |
| 67 | |
| 62 |