Forum Discussion

burnttoast's avatar
burnttoast
New Member
1 year ago
Solved

Look for an expected blank/missing entry

I have the following data sample and I'm looking to show the below. Every business day the doors are UNLOCKED in the morning and locked in the evening. I need to show the current status of each doo...
  • rajendraongole1's avatar
    1 year ago

    Hi burnttoast  - you can create a measure to dynamically retrieve the most recent status as like below:

     

     

    Latest Status =
    VAR LatestDate = MAX('Lockd'[LatestDate])
    RETURN
    CALCULATE(
        MAX('Lockd'[status]),
        'Lockd'[LatestDate] = LatestDate
    )