Forum Discussion

kevinsray's avatar
kevinsray
Helper II
6 years ago
Solved

Find Difference between Measure Values and Column Values

OK, so I am trying to get some conditional formatting happening, but it is quite difficult. We have a report which shows as follows Task        Frequency LastDone Task 1     Yearly        1/1/2018...
  • dax's avatar
    6 years ago

    Hi kevinsray,

    You could try below measures:

    color =
    IF (
        DATEDIFF ( MAX ( test[LastDone] ), TODAY (), DAY ) > MIN ( test[MaxDays] ),
        "red",
        "green"
    )
    

    Best Regards,
    Zoe Zhi

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