Forum Discussion

PabloGiraldo's avatar
PabloGiraldo
Helper IV
5 years ago
Solved

Dates Traffic Light

Hi,   I would like a column that turns red, yellow, green if today's date is within 0-30 days, 31-45 days, 46-90 days, respectively.    See attached screenshot for reference.   Thank you, Pabl...
  • Anonymous's avatar
    Anonymous
    5 years ago

    Hi  PabloGiraldo  ,

    Here are the steps you can follow:

    1. Create calculated column.

    day = DATEDIFF(MAX(Submittals[Required date]),TODAY(),DAY)

    2. In Format, select Conditional formatting, select the field Indicator, and turn it on

    3. Select Format by as Rules and Based on field as [day]

    Grant conditions:

    Red: 0<=day<30

    Yellow: 30<=day<45

    Green: 45<=day<90

    Date more than 90 days to differentiate from a small green circle

    4. Result.

     

    You can downloaded PBIX file from here.

     

    Best Regards,

    Liu Yang

    If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.