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

Data Days is here! Join us now for 60+ days of learning, challenges, and connection. Learn more

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
Fabric Data Days is here Carousel

Fabric Data Days 2026

Don't miss out on Data Days, June 15 through August 7. Learn Fabric, Power BI, SQL, AI and more.

May Power BI Update Carousel

Power BI Monthly Update - May 2026

Check out the May 2026 Power BI update to learn about new features.

Power BI DataViz World Championships carousel

Power BI DataViz World Championships - June 2026

A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.