Forum Discussion
Michaelbean21
2 years agoAdvocate II
SAMEPERIODLASTYEAR function no longer working
Has anyone else experienced the SAMEPERIODLASTYEAR function as of the July 2023 PowerBi update no longer functioning in their report?
- 2 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.
Idrissshatila
2 years agoSuper User
Hello Michaelbean21 ,
did you try to use Previous year function ?
If I answered your question, please mark my post as solution, Appreciate your Kudos 👍
Michaelbean21
2 years agoAdvocate II
This function is also not working for me. I have had the SAMEPERIODLASTYEAR measure working for over 6 months now and all of a sudden it started returning null values in my report.