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

Compete to become Power BI Data Viz World Champion! First round ends August 18th. 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
July 2025 community update carousel

Fabric Community Update - July 2025

Find out what's new and trending in the Fabric community.

July PBI25 Carousel

Power BI Monthly Update - July 2025

Check out the July 2025 Power BI update to learn about new features.

Top Solution Authors