Get certified for free when you join Fabric Data Days 2026 and dive into Fabric, Power BI, SQL, AI, and other essential data skills.
Join nowJuly 28 - August 9 | Final Round of the Power BI Dataviz World Championships. This is your chance. Learn more
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?
Solved! Go to Solution.
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
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
Join us in Barcelona for FabCon and SQLCon, the Fabric, Power BI, SQL, and AI community event. Save €200 with code FABCMTY200.
If you love stickers, then you will definitely want to check out our community sticker challenge, Barcelona edition!
Check out the July 2026 Power BI update to learn about new features.
| User | Count |
|---|---|
| 26 | |
| 22 | |
| 22 | |
| 20 | |
| 17 |
| User | Count |
|---|---|
| 35 | |
| 29 | |
| 21 | |
| 19 | |
| 17 |