Fabric is Generally Available. Browse Fabric Presentations. Work towards your Fabric certification with the Cloud Skills Challenge.
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 @Steffano ,
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 @Steffano ,
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
Check out the November 2023 Power BI update to learn about new features.
Read the latest Fabric Community announcements, including updates on Power BI, Synapse, Data Factory and Data Activator.