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

The Power BI Data Visualization World Championships is back! It's time to submit your entry. Live now!

Reply
Anonymous
Not applicable

KPI Visual Colour Coding

Is it possible to change the colour of the KPI visual depending on how close it is to the target? My current visual shows green/ red if over/ under, but we would like to show it as orange if we are within 10% of the target. Is this possible?

4 REPLIES 4
Anonymous
Not applicable

Hi @Anonymous,

AFAIK, current KPI visual support conditional color formatting. You can choose the 'color coding' menu and click on the 'fx' icon to choose a measure to use on color formatting.

10.png

Regards,

Xiaoxin Sheng

Anonymous
Not applicable

Hi @Anonymous , thanks for the reply.

I am aware of this colour coding format. My current KPI visuals are in the direction of high is bad in the colour coding fomat. So anything over the target on the KPI is shown as red, under shown as green.

However, I am wanting to show anything that is over the target but is within 10% of the target as orange. Is this possible? My data figure and target's are not in %. Is there some formula I can add that specifies that if my figure is more than 10% over the target then text be red, if it's less than 10% over put it as orange?

Thanks

Anonymous
Not applicable

Hi @Anonymous,

Can you please share some dummy data with a similar data structure and expected results? It should help us clarify your scenario and test to design visuals with particular color formatting.

How to Get Your Question Answered Quickly  

Regards,

Xiaoxin Sheng

amitchandak
Super User
Super User

@Anonymous , How have used conditional formatting that?

One option can color measure 

Switch(true(),

[KPI] < 0,  "Red" ,

[KPI] <.10 , "Orange" , // 10 if nor %

"Green"

)

 

You can use this in conditional formatting using field value.

Share with Power BI Enthusiasts: Full Power BI Video (20 Hours) YouTube
Microsoft Fabric Series 60+ Videos YouTube
Microsoft Fabric Hindi End to End YouTube

Helpful resources

Announcements
FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.