Join us for an expert-led overview of the tools and concepts you'll need to pass exam PL-300. The first session starts on June 11th. See you there!
Get registeredPower BI is turning 10! Let’s celebrate together with dataviz contests, interactive sessions, and giveaways. Register now.
Hi everyone,
I have a stacked column chart in Power BI that shows the sum of Box Office Dollars by Year and Genre. The chart is working well, but I have a new requirement where I need the colors in the legend to dynamically adjust based on the latest year's revenue.
Specifically, I want:
Here is an example image of the chart I am working with:
Is there a way to achieve this in Power BI? Any guidance or workaround would be greatly appreciated!
Thanks in advance for your help!
Solved! Go to Solution.
Since stacked or clustered charts don’t support conditional formatting once divided into segments, I doubt it’s feasible. The only trick I know is to leverage the new overlapping functionality, but with complex conditions like yours and more than two categories, it seems like overkill.
For extra assurance, take a look at the video in the link.
https://www.youtube.com/watch?v=MItQGef79Lc
I recommend considering the option of switching to small multiple charts by category. This approach will also be much more readable for users because both stacked charts and conditional formatting involve many elements for the reader's brain to process. Additionally, it will be much easier to apply conditional formatting and highlight what’s needed.
If this post helps, then please consider Accepting it as the solution to help the other members find it more quickly
Since stacked or clustered charts don’t support conditional formatting once divided into segments, I doubt it’s feasible. The only trick I know is to leverage the new overlapping functionality, but with complex conditions like yours and more than two categories, it seems like overkill.
For extra assurance, take a look at the video in the link.
https://www.youtube.com/watch?v=MItQGef79Lc
I recommend considering the option of switching to small multiple charts by category. This approach will also be much more readable for users because both stacked charts and conditional formatting involve many elements for the reader's brain to process. Additionally, it will be much easier to apply conditional formatting and highlight what’s needed.
If this post helps, then please consider Accepting it as the solution to help the other members find it more quickly
User | Count |
---|---|
84 | |
78 | |
70 | |
47 | |
41 |
User | Count |
---|---|
108 | |
53 | |
50 | |
40 | |
40 |