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

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more

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
Power BI DataViz World Championships

Power BI Dataviz World Championships

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!

December 2025 Power BI Update Carousel

Power BI Monthly Update - December 2025

Check out the December 2025 Power BI Holiday Recap!

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.