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
Hi
We have been provided a treemap sample (Refer Image 1).
However the tree map visual is Power BI as far as I know does not support condition based Data colors that would display negative values to be shown in shades of red and positive values to be shown in shades of green. We should also be able to show a similar legend as in image 1.
Does anyone know if there is an appropriate visual in power bi to get simmilar results.
Thanks for your help
Matthew
Solved! Go to Solution.
@rveerasamy ok. i was looking into your problem then came up with interesting solution.
As you know, powerbi treemap can only represent positive value as it shows the shape size basis the value. bigger the value, bigger the size.
1. let's assume your data is similar to below table. First two columns are data and last two columns are calculated values
we can have only positive values to show the correct map
change% new = ABS('Table'[Change%])
2. below is how you put values in your visual
i have attached the pbix file as well here. this will help you and others who are looking for similar solution.
Proud to be a Super User!
negi007, We will try your solution and get back to you
@rveerasamy ok. i was looking into your problem then came up with interesting solution.
As you know, powerbi treemap can only represent positive value as it shows the shape size basis the value. bigger the value, bigger the size.
1. let's assume your data is similar to below table. First two columns are data and last two columns are calculated values
we can have only positive values to show the correct map
change% new = ABS('Table'[Change%])
2. below is how you put values in your visual
i have attached the pbix file as well here. this will help you and others who are looking for similar solution.
Proud to be a Super User!
The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!
Check out the November 2025 Power BI update to learn about new features.
| User | Count |
|---|---|
| 59 | |
| 43 | |
| 42 | |
| 23 | |
| 17 |
| User | Count |
|---|---|
| 190 | |
| 122 | |
| 96 | |
| 66 | |
| 47 |