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

Enhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.

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
July PBI25 Carousel

Power BI Monthly Update - July 2025

Check out the July 2025 Power BI update to learn about new features.

Join our Fabric User Panel

Join our Fabric User Panel

This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.

June 2025 community update carousel

Fabric Community Update - June 2025

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