Forum Discussion

NewbieJono's avatar
NewbieJono
Icon for Post Partisan rankPost Partisan
2 years ago
Solved

Label max date minus one year

i have a text label that displays the max date minus a year.   i currently use - 365 and it seems to return the wrong month, if I change it to 366 it works. i am guessing its because of leap year? ...
  • lbendlin's avatar
    2 years ago
    Label - Last Year = 
    EDATE( MAX ( 'DIM - Date Table'[Date] ) , -12 )