Forum Discussion
Dee
Helper III
6 years agoHow to find second latest date after max date
Hi all, I am trying to find the second latest date after the MAX date. orderdate 2019-12-11 2019-12-31 2019-12-31 This is what I have tried but doesn't seem to work. ``` calcul...
Anonymous
6 years agoNot applicable
Dee - You can do a measure like the following:
Second Largest =
var _Largest = max(Orders[orderdate])
return CALCULATE(
max(Orders[orderdate]),
Orders[orderdate] < _Largest
)