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

Level up your Power BI skills this month - build one visual each week and tell better stories with data! Get started

Reply
puru85
Helper II
Helper II

Color Coding Based on KPI Threshold

Hi Experts,

I need assistance with incorporating color-coded font for Sales KPI based on targets met in my Power BI report.

puru85_0-1721114485293.png

 

Here are the details:

  1. Sales Target Calculation:

    • The target for sales every month is $50,000 plus an additional 20%.
    • The specific sales target formula is: (50,000 / number of workdays) + 20%

  2. Workdays Calculation:

    • Workdays are calculated as the number of days per month minus public holidays, Saturdays, and Wednesdays. If a public holiday falls on a Wednesday, it should be additionally subtracted.
    • A Public Holiday Table exists in the data model to assist with this calculation.

  3. Color Coding Based on KPI Threshold:

    • I want to apply the following font color coding based on the percentage of the target met:
      • 100% or above: Green
      • Greater than 90% but less than 99%: Blue
      • Greater than 80% but less than 90%: Orange
      • Below 80%: Grey

                          

I have attached my PBIX file for reference. Any guidance on how to implement this in Power BI would be greatly appreciated.

Color Coding Based on KPI Threshold.pbix

Thank you for your help!

 

1 REPLY 1
miTutorials
Super User
Super User

Helpful resources

Announcements
April Power BI Update Carousel

Power BI Monthly Update - April 2026

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

Fabric SQL PBI Data Days

Data Days 2026 coming soon!

Sign up to receive a private message when registration opens and key events begin.

New to Fabric survey Carousel

New to Fabric Survey

If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.

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.