Learn from the best! Meet the four finalists headed to the FINALS of the Power BI Dataviz World Championships! Register now
Hi Team,
I have done Line and clusterd column chart, if bar exceed in the line then highlight red colour else gray colour.
how do i fix it.

Thanks,
KV's
Solved! Go to Solution.
Hey @Anonymous ,
you can do the conditional formatting based on a measure.
In the measure you can check:
Bar Color = IF( [Bar Measure] > [Line Measure], "Green", "Red" )
Then you can use that measure for the formatting:
Conditional table formatting in Power BI Desktop - Power BI | Microsoft Docs
Hey @Anonymous ,
you can do the conditional formatting based on a measure.
In the measure you can check:
Bar Color = IF( [Bar Measure] > [Line Measure], "Green", "Red" )
Then you can use that measure for the formatting:
Conditional table formatting in Power BI Desktop - Power BI | Microsoft Docs
| User | Count |
|---|---|
| 57 | |
| 43 | |
| 32 | |
| 16 | |
| 13 |
| User | Count |
|---|---|
| 84 | |
| 70 | |
| 38 | |
| 27 | |
| 24 |