Forum Discussion
lizzy
6 years agoHelper I
Most recent previous date
HI I have a table that looks something like this Person ID Date A 12/31/2019 A 12/1/2019 A 10/2/2019 A 6/1/2019 B 12/10/2019 B 10/1/2019 C 6/12/2019 C 3/1/2019 ...
- Anonymous6 years agoPrevious date =var date_ = 'Table'[Date]var ID_ = 'Table'[Person ID]returnCALCULATE(MAX('Table'[Date]);FILTER(ALL ('Table') ; 'Table'[Person ID] = ID_ && 'Table'[Date] < date_))
littlemojopuppy
6 years agoCommunity Champion
Hi! Take a look at this