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.
Can I conditional formatting option if I put three different measures in chart ?
Solved! Go to Solution.
Hi @mianjalil239 - you can add it, but depends upon the chart that you are using, can you mention the chart name also
assumption like column/stacked bar charts, you can set different colors based on conditions for each measure in a stacked or clustered bar/column chart.
You can apply conditional formatting to the line colors, but it's based on the value of the measure or a rule you define in Line chart.
basically ,If you want to use a single conditional formatting rule across all three measures, this can be more complex. Power BI generally requires you to set up conditional formatting separately for each measure.
Hope it helps
Proud to be a Super User! | |
Color Measure =
SWITCH( TRUE(),
[Measure1] > 1000, "#FF0000", -- Red for Measure 1 > 1000
[Measure2] > 500, "#00FF00", -- Green for Measure 2 > 500
[Measure3] > 300, "#0000FF", -- Blue for Measure 3 > 300
"#000000")
Color Measure =
SWITCH( TRUE(),
[Measure1] > 1000, "#FF0000", -- Red for Measure 1 > 1000
[Measure2] > 500, "#00FF00", -- Green for Measure 2 > 500
[Measure3] > 300, "#0000FF", -- Blue for Measure 3 > 300
"#000000")
Hi @mianjalil239 - you can add it, but depends upon the chart that you are using, can you mention the chart name also
assumption like column/stacked bar charts, you can set different colors based on conditions for each measure in a stacked or clustered bar/column chart.
You can apply conditional formatting to the line colors, but it's based on the value of the measure or a rule you define in Line chart.
basically ,If you want to use a single conditional formatting rule across all three measures, this can be more complex. Power BI generally requires you to set up conditional formatting separately for each measure.
Hope it helps
Proud to be a Super User! | |
User | Count |
---|---|
85 | |
79 | |
64 | |
52 | |
46 |
User | Count |
---|---|
101 | |
43 | |
41 | |
39 | |
36 |