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

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more

Reply
mianjalil239
Helper III
Helper III

Hi

Can I  conditional formatting option if I  put three different measures in chart ?

2 ACCEPTED SOLUTIONS
rajendraongole1
Super User
Super User

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

 

 





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

Proud to be a Super User!





View solution in original post

ahadkarimi
Solution Specialist
Solution Specialist

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")

View solution in original post

3 REPLIES 3
ahadkarimi
Solution Specialist
Solution Specialist

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")

Thanks Its already done by the help of @tharunkumarRTK

rajendraongole1
Super User
Super User

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

 

 





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

Proud to be a Super User!





Helpful resources

Announcements
Power BI DataViz World Championships

Power BI Dataviz World Championships

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!

December 2025 Power BI Update Carousel

Power BI Monthly Update - December 2025

Check out the December 2025 Power BI Holiday Recap!

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.