Forum Discussion
Yazid
2 years agoHelper I
Find max date for each year
Dear, I would like to have a DAX code able to return me the Max date for each year. Example as below: Thanks in advance for your support
ryan_mayu
2 years agoSuper User
change the start date to date type
then create a column
output = if('Table'[startdate]=maxx(FILTER('Table',year('Table'[startdate])=year(EARLIER('Table'[startdate]))),'Table'[startdate]),'Table'[startdate])