Forum Discussion
Need Urgent Help on SamePeriodLastYear
- 9 months ago
Hi Lio123,
Thank you for posting your query in the Microsoft Fabric Community Forum.
I’ve reproduced your scenario in Power BI Desktop using a Date dimension and same-month comparison logic.
The month-on-month (same month last year) difference and % difference are working as expected at Month, Category, and SubCategory levels.Based on the reproduction, the output matches the requirement you described (e.g: Jan-2025 vs Jan-2024, Feb-2025 vs Feb-2024). For your reference, I’m attaching the .pbix file so you can review the model, measures and visuals used.
Best regards,
Ganesh Singamshetty. - 8 months ago
Hi Lio123 ,
Assuming you have a Fact Table connected to a DIm table, you can use attached pbix as reference for ALL YOY,MOM,QOQ calculations.
Please give kudos or mark it as solution once confirmed.
Thanks and Regards,
Praful
Do you have date dimention table and marked it as calendar table?
cengizhanarslanyes I have a date dim table.