Skip to main content
Microsoft Idea

Power BI

Needs Votes

legend color in conditional formatting

Vote (248) Share
Jesús's profile image

Jesús on 09 Aug 2019 01:19:48

when you have a graph to which you can apply a conditional format the legend stays with the default color, the legend should be put with the colors of the mixed conditional format

Comments (39)
Jesús's profile image Profile Picture

Risto Guijken on 15 Apr 2024 19:09:52

RE: legend color in conditional formatting

Expressing my need for this functionality here. This is really important to maintain consistent colors between visuals. Story telling is very hard without this.

Jesús's profile image Profile Picture

Peter Bastian on 09 Apr 2024 23:19:49

RE: legend color in conditional formatting

Another feature that I can easily code in VBA for making an Excel chart, but cannot be done in Power BI. Easy to code in DAX, but not available to programmatically assign to the legend.As others have said here, this is now a 5-year old request for something basic. Sad to say, but a lot of people believe that because its called "POWER" BI, it is more POWERful than MS Excel across the board. But alas, I must tell my clients, this is simply a myth. There are things you can do in Excel that PBI cannot do, and vice versa. But for them to not offer this kind of basic customization in PBI seems odd to me.

Jesús's profile image Profile Picture

Adumio Adumio on 31 Mar 2024 03:14:22

RE: legend color in conditional formatting

It's Mar 2024 and now I'm voting for a 2019 idea. It sounds like a vote for fun...For my case, I need to color the bar chart based on another column, not the legend column.

Jesús's profile image Profile Picture

on 03 Mar 2024 20:18:30

RE: legend color in conditional formatting

It's 2024 and it's phenomenal that we can't even dynamically color our legends (e.g. in a stacked column bar) by having a conditional formatting option by e.g. a rule or a field.Should be quite simple to implement; hoping this would come soon 🤞🏻

Jesús's profile image Profile Picture

Richard Oliver on 23 Feb 2024 09:13:27

RE: legend color in conditional formatting

The legends could also do to reflect the transparency of a colour that a user sets. Currently, it just shows the selected colour at its default 0% transparency, even if this has been amended in the side panel.

Jesús's profile image Profile Picture

Andrew Tuplin on 11 Jan 2024 21:59:36

RE: legend color in conditional formatting

This is a problem for report consistency. It's not possible to reuse defined category colours in stacked bar charts as they're used in regular bar charts.

Jesús's profile image Profile Picture

Sean Hofland on 11 Oct 2023 07:37:27

RE: legend color in conditional formatting

I am, at the moment, mainly interested in setting the transparency of the bar chart colors and changing the solid color into a (diagonal lines for example)

Jesús's profile image Profile Picture

Sarah Powell on 01 Sep 2023 17:50:05

RE: legend color in conditional formatting

Agreed with the other commenters that this is essential for making stacked and clustered column charts useful and legible at a glance. Hand-picking colors for legend entries that might change in a future data refresh is no solution. Even worse, because Power BI doesn't respect the JSON color scheme and picks any random color, new legend entries could be hot pink or mud brown, and on branded reports presented to business users that is not acceptable.

Jesús's profile image Profile Picture

Jonathan Magnes on 26 Aug 2023 07:13:25

RE: legend color in conditional formatting

Please, how difficult can it be. We can already sort by column, why not color by column. Doesn't have to be advanced, it could just refer to another column, then we can either manually add a lookup function or a custom function to give rgba values, hex values or similar. Absolutely critical to make visualizations coherent and understandable.

Jesús's profile image Profile Picture

Tim Ur on 01 Aug 2023 09:14:48

RE: legend color in conditional formatting

It's 2023 and still no progress here. PowerBI has in some points like this no connection to intelligence and power. Same with limited mekko charts especially without conditional formating, or no synchronized drilldown for all charts with same hierarchy. Some basic stuffs are missing in PowerBI.

Merged Idea (3)