Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

Reply
marina_oliveira
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 =

SWITCH(

    SELECTEDVALUE(dMaterial[Tipo de Material]),

    "Chapa", "#70A489",

    "Perfil", "#7A1678",

    "Rolo", "#E43943",

    "Subdivisão", "#FAA055")

 

marina_oliveira_1-1681130676502.png

 

 

 

1 REPLY 1
lbendlin
Super User
Super User

Not currently possible.

lbendlin_0-1681263441155.png

 

If this is important to you please consider voting for an existing idea or raising a new one at https://ideas.powerbi.com

Helpful resources

Announcements
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

Check out the April 2024 Power BI update to learn about new features.

April Fabric Community Update

Fabric Community Update - April 2024

Find out what's new and trending in the Fabric Community.