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

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

Reply
Steffano
Frequent Visitor

KPI Visual Conditional Formatting

Steffano_0-1659957860716.png

Steffano_1-1659957887085.png

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 

1 ACCEPTED SOLUTION
Duia
Resolver II
Resolver II

Hi  @Steffano ,

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

Duia_0-1660198653923.png

Duia_1-1660198653925.png

Here are the steps you can follow:

Duia_2-1660198653926.png

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.

Duia_3-1660198653927.png

Duia_4-1660198653929.png

3. Result:

Duia_5-1660198653929.png

 

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

View solution in original post

1 REPLY 1
Duia
Resolver II
Resolver II

Hi  @Steffano ,

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

Duia_0-1660198653923.png

Duia_1-1660198653925.png

Here are the steps you can follow:

Duia_2-1660198653926.png

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.

Duia_3-1660198653927.png

Duia_4-1660198653929.png

3. Result:

Duia_5-1660198653929.png

 

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

Helpful resources

Announcements
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

Check out the April 2024 Power BI update to learn about new features.

April Fabric Community Update

Fabric Community Update - April 2024

Find out what's new and trending in the Fabric Community.