Forum Discussion
SAMEPERIODLASTYEAR function no longer working
- 3 years ago
Hi, Michaelbean21
I have tested it and it works. The DAX Guider you can refer.
SAMEPERIODLASTYEAR function (DAX) - DAX | Microsoft Docs
Or you can try the equivalent formula:
DATEADD(dates, -1, year)Pbix in the end you can refer.
Best Regards,
Community Support Team _Charlotte
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Hi, Michaelbean21
I have tested it and it works. The DAX Guider you can refer.
SAMEPERIODLASTYEAR function (DAX) - DAX | Microsoft Docs
Or you can try the equivalent formula:DATEADD(dates, -1, year)
Pbix in the end you can refer.
Best Regards,
Community Support Team _Charlotte
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.