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 everyone!
Is there a way to make the data bars (table condional formatting) in different color using a DAX measure? I mean, I already wrote a measure but I have no ideia where to insert it. I want to chage the color according to the type of material. If it's a coil, it should be red if it is a slab it should be blue, for example.
I don't want to change de background color, i want to change de data bar color according to my measure. Is this possible?
Thats my measure:
Cores Produção =
SWITCH(
SELECTEDVALUE(dMaterial[Tipo de Material]),
"Chapa", "#70A489",
"Perfil", "#7A1678",
"Rolo", "#E43943",
"Subdivisão", "#FAA055")
Not currently possible.
If this is important to you please consider voting for an existing idea or raising a new one at https://ideas.powerbi.com
Check out the November 2025 Power BI update to learn about new features.
Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!
| User | Count |
|---|---|
| 21 | |
| 10 | |
| 9 | |
| 4 | |
| 4 |
| User | Count |
|---|---|
| 35 | |
| 31 | |
| 19 | |
| 13 | |
| 10 |