The ultimate Fabric, Power BI, SQL, and AI community-led learning event. Save €200 with code FABCOMM.
Get registeredCompete to become Power BI Data Viz World Champion! First round ends August 18th. Get started.
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.
User | Count |
---|---|
38 | |
14 | |
12 | |
11 | |
8 |
User | Count |
---|---|
51 | |
36 | |
22 | |
21 | |
18 |