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!Vote for your favorite vizzies from the Power BI Dataviz World Championship submissions. Vote now!
Hi All,
I need to fulfil the business requirement: building a progress chart using treemap that the color of the bars can change based on certain value (In this case is measure 'A'). I have tried to implement the Advanced Controls but it didn't get me anywhere. Please kindly need your help.
Solved! Go to Solution.
Hi @ben73 ,
You can try below formula and use it in conditional formatting:
TreemapColor =
SWITCH(
TRUE(),
[Measure A] < 75, "Blue",
[Measure A] >= 75, "light blue",
"Gray"
)
Best Regards,
Adamk Kong
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Hi @ben73 ,
You can try below formula and use it in conditional formatting:
TreemapColor =
SWITCH(
TRUE(),
[Measure A] < 75, "Blue",
[Measure A] >= 75, "light blue",
"Gray"
)
Best Regards,
Adamk Kong
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Hi @Anonymous ,
Thank you for your reply. I decided to use Data bar KPI visual published by Travis Sansome to solve my problem. Maybe next time, I will try your solution.
Vote for your favorite vizzies from the Power BI World Championship submissions!
If you love stickers, then you will definitely want to check out our Community Sticker Challenge!
Check out the January 2026 Power BI update to learn about new features.
| User | Count |
|---|---|
| 17 | |
| 11 | |
| 8 | |
| 7 | |
| 6 |
| User | Count |
|---|---|
| 52 | |
| 40 | |
| 37 | |
| 25 | |
| 24 |