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
Hello All ,
I'm using the TreeMap visual in one of my reports. The value from the database is highlighted; I want to replace it with measures in the Tree map.I tried measure and it did not replace the value; yet, the same measure works for other visuals such as tables but not for Treemaps.
Please help me on this.
Filter1 =
var level1 = FIRSTNONBLANK('Dim A'[Level1],'Dim A'[Level1])
return
SWITCH(level1,"NO_BPIGROUP","ABC",level1)
Solved! Go to Solution.
Hello @neha_parmar24 ,
In treemap visualization, Details and Category needs to be column. Measure can't be put on the Details and Category. Measure only can be used on Values and Tooltips in TreeMap visualization.
"Power BI uses the measure value to determine the rectangle size for branches and leaves."
Treemaps in Power BI - Power BI | Microsoft Learn
Kind Regards,
Gökberk Uzuntaş
📌 If this post helps, then please consider Accepting it as a solution and giving Kudos — it helps other members find answers faster!
🔗 Stay Connected:
📘 Medium |
📺 YouTube |
💼 LinkedIn |
📷 Instagram |
🐦 X |
👽 Reddit |
🌐 Website |
🎵 TikTok |
Hello @neha_parmar24 ,
In treemap visualization, Details and Category needs to be column. Measure can't be put on the Details and Category. Measure only can be used on Values and Tooltips in TreeMap visualization.
"Power BI uses the measure value to determine the rectangle size for branches and leaves."
Treemaps in Power BI - Power BI | Microsoft Learn
Kind Regards,
Gökberk Uzuntaş
📌 If this post helps, then please consider Accepting it as a solution and giving Kudos — it helps other members find answers faster!
🔗 Stay Connected:
📘 Medium |
📺 YouTube |
💼 LinkedIn |
📷 Instagram |
🐦 X |
👽 Reddit |
🌐 Website |
🎵 TikTok |
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 |
|---|---|
| 20 | |
| 11 | |
| 10 | |
| 4 | |
| 4 |
| User | Count |
|---|---|
| 34 | |
| 31 | |
| 19 | |
| 12 | |
| 11 |