Forum Discussion
DAX Last Year based on custom date dimension
- 9 months ago
Hi sabd80,
Thank you for reaching out to the Microsoft fabric community forum. I reproduced the scenario, and it worked on my end. I used my sample data and successfully implemented it.
I am also including .pbix file for your better understanding, please have a look into it:
Hope this helps clarify things and let me know what you find after giving these steps a try happy to help you investigate this further.
Thank you for using the Microsoft Fabric Community Forum.
Nabha-Ahmed the above code did not work.
I have replaced the code of LastYearStart and LastYearEnd to point to the fiscal year start date and fiscal year end date, but it did not work
Nabha-Ahmed unfortunitally it does not work, it repeats the yearly figure on month and week level.
This my DAX: