Forum Discussion

Izzuddin's avatar
Izzuddin
New Member
1 year ago
Solved

Conditional Formatting not working on Interactive Bar Chart

Hi all, I am Izzuddin, new to Power BI. I would like to ask on how to make conditional formatting applied in interactive clustered column chart.   I already did conditional formatting on the valu...
  • OwenAuger's avatar
    1 year ago

    Hi Izzuddin 

    If you want the bars to be formatted based on the actual value of each bar, in the conditional formatting dialog box you should use decimal values and "Number" (rather than "Percentage").

    See here.

     

    In this case, you should use

    • If value >= 0 Number and < 0.9999 Number
    • If value >= 0.9999 Number and <= 1

    With the "Percent" option, the Percent values are converted to numbers by interpolating linearly between the Min and Max values visible on the visual, with Min treated as 0% and Max treated as 100%. Effectively using the formula:

    • Number = <Min value visible> + Percent/100 * ( <Max value visible> - <Min value visible> )