Showing results for 
Search instead for 
Did you mean: 

Fabric is Generally Available. Browse Fabric Presentations. Work towards your Fabric certification with the Cloud Skills Challenge.

Frequent Visitor

Table conditional formatting Data Bars

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 =


    SELECTEDVALUE(dMaterial[Tipo de Material]),

    "Chapa", "#70A489",

    "Perfil", "#7A1678",

    "Rolo", "#E43943",

    "Subdivisão", "#FAA055")






Super User
Super User

Not currently possible.



If this is important to you please consider voting for an existing idea or raising a new one at

Helpful resources

PBI November 2023 Update Carousel

Power BI Monthly Update - November 2023

Check out the November 2023 Power BI update to learn about new features.

Community News

Fabric Community News unified experience

Read the latest Fabric Community announcements, including updates on Power BI, Synapse, Data Factory and Data Activator.

Power BI Fabric Summit Carousel

The largest Power BI and Fabric virtual conference

130+ sessions, 130+ speakers, Product managers, MVPs, and experts. All about Power BI and Fabric. Attend online or watch the recordings.

Top Solution Authors
Top Kudoed Authors