Forum Discussion

Anonymous's avatar
Anonymous
Not applicable
4 years ago
Solved

KPI Visual Conditional Formatting

I'm trying to get my KPI visual to show amber for a range of values. I tried using the trend axis conditional formatting to achieve that, however, it doesn't seem to give me the desired outcome. It's still showing colors based on whether the KPI is above or below the target. Any help? Anyone?

po 

  • Hi  Anonymous ,

    You can set dynamic colors for the corresponding regions by clicking the fx flag in Format - Trend axis or Target value.

    Here are the steps you can follow:

    If you want the color and Value of the later trend graph to change, you can create a measure.

    1. Create measure.

    color =
    IF(
        [Measure 2] >=1&&[Measure 2]<=14,"amber","yellow")

    2. Trand axis – Bad color -fx.

    3. Result:

     

    Best Regards,

    Liu Yang

    If this post helps, then please consider Accept it as the solution to help the other members find it more quickly

1 Reply

  • Duia's avatar
    Duia
    Icon for Resolver II rankResolver II

    Hi  Anonymous ,

    You can set dynamic colors for the corresponding regions by clicking the fx flag in Format - Trend axis or Target value.

    Here are the steps you can follow:

    If you want the color and Value of the later trend graph to change, you can create a measure.

    1. Create measure.

    color =
    IF(
        [Measure 2] >=1&&[Measure 2]<=14,"amber","yellow")

    2. Trand axis – Bad color -fx.

    3. Result:

     

    Best Regards,

    Liu Yang

    If this post helps, then please consider Accept it as the solution to help the other members find it more quickly