Join us at FabCon Atlanta from March 16 - 20, 2026, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.
Register now!To celebrate FabCon Vienna, we are offering 50% off select exams. Ends October 3rd. Request your discount now.
I have created Column chart in POWER BI. All the bars in the column chart are with same color. Now I need that Maximum Bar should have fill color of GREEN and Minimum bar fill color in RED and the remaining in any one color. How to do that?
Solved! Go to Solution.
You can do it with the help of color saturation property of column chart
Please see the attached file
I defined a simple MEASURE and put it in the Color Saturation Field
Measure = SWITCH ( TRUE (), SUM ( Table1[Values] ) = CALCULATE ( MAX ( Table1[Values] ), ALLSELECTED ( Table1[Category] ) ), 1, SUM ( Table1[Values] ) = CALCULATE ( MIN ( Table1[Values] ), ALLSELECTED ( Table1[Category] ) ), 2, 0 )
You can do it with the help of color saturation property of column chart
Please see the attached file
I defined a simple MEASURE and put it in the Color Saturation Field
Measure = SWITCH ( TRUE (), SUM ( Table1[Values] ) = CALCULATE ( MAX ( Table1[Values] ), ALLSELECTED ( Table1[Category] ) ), 1, SUM ( Table1[Values] ) = CALCULATE ( MIN ( Table1[Values] ), ALLSELECTED ( Table1[Category] ) ), 2, 0 )
Any step by step tutorial ?
I only learnt this technique by trial and error after your post
Thanks for this question
sorry i didn't mention it earlier
the colors can be chosen from the data colors section