Forum Discussion

StevenHiatt's avatar
StevenHiatt
Frequent Visitor
4 years ago
Solved

Find Max Date Prior to Today

I have order data with dates both in the past and in the future. It is connected to a date calendar table. I would like to find the most recent date prior to today.   For example, if today was Apri...
  • PaulDBrown's avatar
    4 years ago

    Try:

    Max Date =
    CALCULATE( MAX('Order Data'[Order Date]), FILTER(ALL(Order Data), Order Data[Date]<= TODAY()))