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

The Power BI DataViz World Championships are on! With four chances to enter, you could win a spot in the LIVE Grand Finale in Las Vegas. Show off your skills.

Reply
Lewdis_
Frequent Visitor

FX Color on stacked bar

I have the following structure with three levels of data. I would like to keep the color of the sub group and product to be based on product group.

 

So for example Road Bikes on the sub level should be blue because its part of Bikes.

 

When I do a stacked chart with one line and legend I cant pick FX as an option. Is there another way?

 

Lewdis__1-1740743206918.png

 

 

 

 

Lewdis__0-1740743115551.png

 

1 REPLY 1
danextian
Super User
Super User

Hi @Lewdis_ 

When you use legends either by using a column or by adding more than one measures, the option to use conditional formatting is disabled. Unfortunately, there is no way to automatically set the colors based on some criteria other than to manually set them.










Did I answer your question? Mark my post as a solution!


Proud to be a Super User!









"Tell me and I’ll forget; show me and I may remember; involve me and I’ll understand."
Need Power BI consultation, get in touch with me on LinkedIn or hire me on UpWork.
Learn with me on YouTube @DAXJutsu or follow my page on Facebook @DAXJutsuPBI.

Helpful resources

Announcements
Las Vegas 2025

Join us at the Microsoft Fabric Community Conference

March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!

FebPBI_Carousel

Power BI Monthly Update - February 2025

Check out the February 2025 Power BI update to learn about new features.

Feb2025 Sticker Challenge

Join our Community Sticker Challenge 2025

If you love stickers, then you will definitely want to check out our Community Sticker Challenge!

Feb2025 NL Carousel

Fabric Community Update - February 2025

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