Advance your Data & AI career with 50 days of live learning, dataviz contests, hands-on challenges, study groups & certifications and more!
Get registeredGet Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Request now
i have this year sales and last year sales in a matrix category wise. and i have added a date range slicer in which is of this year and i am not able to show last year sales in that matrix.
Solved! Go to Solution.
Hi @Anonymous
To show both years in this case you should use the date table + time intelligence functions.
Basic measure ( can be used as a current year)
Result:
Pbix is attached
More detailed tutorial to creating dates table:
https://www.datacamp.com/tutorial/how-to-create-date-tables-in-power-bi-tutorial
More detailed tutorial to YOY calculations:
https://www.youtube.com/watch?v=J4h17Kqyj4M
Hi @Anonymous
To show both years in this case you should use the date table + time intelligence functions.
Basic measure ( can be used as a current year)
Result:
Pbix is attached
More detailed tutorial to creating dates table:
https://www.datacamp.com/tutorial/how-to-create-date-tables-in-power-bi-tutorial
More detailed tutorial to YOY calculations:
https://www.youtube.com/watch?v=J4h17Kqyj4M
Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!
Check out the October 2025 Power BI update to learn about new features.