Forum Discussion

richpow's avatar
richpow
Regular Visitor
4 years ago
Solved

Overdue

Hi  I have three fields in a table all dates.    Date Received Due Date Date completed   When Date received is entered it will calculate the date 3 days later and put that in the Due Date colum...
  • v-robertq-msft's avatar
    4 years ago

    Hi, 

    According to your description, I can roughly understand your requirement, I think you can try this measure to apply as the conditional format for the column [Completed data] to achieve your requirement:

    This is the test data I used:

     

    Due Date = 'Table'[Date Received]+3

    Then create a measure like this:

    Color =
    
    IF(
    
        MAX('Table'[Date completed])<>BLANK(),
    
        IF(MAX('Table'[Date completed])>MAX('Table'[Due Date]),"Red","White"),
    
        "Red")

     

    Then you can set the conditional format for the field [Completed data] like this:

    And you can get what you want, like this:

     

    You can download my test pbix file below

     

    If this result is not what you want, you can post some sample data(without sensitive data) and your expected result.

    How to Get Your Question Answered Quickly 

    Thank you very much!

     

    Best Regards,

    Community Support Team _Robert Qin

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