Forum Discussion
Anonymous
5 years agoNot applicable
DATEADD AND MAX
Hello, I am in trouble with DATEADD DAX function. For now, I have two functions which are running efficiently. Current Month default phase = CALCULATE(SUM('public costs phase'[Heures mens...
- 5 years ago
Hi Anonymous ,
Modify the expression of "MAX(DATEADD('public costs phase'[Monthly Date],-1,month))" as below:
MAXX(DATEADD('public costs phase'[Monthly Date],-1,month),[Monthly Date])Best Regards,
KellyDid I answer your question? Mark my post as a solution!
v-kelly-msft
5 years agoCommunity Support
Hi Anonymous ,
Modify the expression of "MAX(DATEADD('public costs phase'[Monthly Date],-1,month))" as below:
MAXX(DATEADD('public costs phase'[Monthly Date],-1,month),[Monthly Date])
Best Regards,
Kelly
Did I answer your question? Mark my post as a solution!
- Anonymous5 years agoNot applicable
Thanks for you help, it works!!