Forum Discussion

jdubs's avatar
jdubs
Helper V
3 years ago
Solved

Color coding Sales Quotas in table

Are there any good tutorials out there or can someone explain how to use conditional formatting to color code a column of Sales history against a Quota column? I tried using Gradient but am getting varied results.

 

I would like the Sales value to turn green when a person is within say 85% of their goal. Yellow when it is between 40-75. And red if it is below 40% of the target value.

 

SalesTarget
$25,000  (Yellow)$50,000
$95,000 (Green)$100,000
$10,000 (Red)$75,000
  • Hi jdubs I created 3 measures, 2 are simple sum

    MeasureSales = SUM(Sheet23[Sales])
    MeasureTarget = sum(Sheet23[Target])

    and third is 

    %KPI =
        DIVIDE([MeasureSales],[MeasureTarget])
    Adjust Sheet23 to your Table name. Rules for conditional formating shown on picture below. I hope this help.

     

     

4 Replies