Join us at FabCon Atlanta from March 16 - 20, 2026, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.
Register now!The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more
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
The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!
| User | Count |
|---|---|
| 37 | |
| 36 | |
| 33 | |
| 33 | |
| 29 |
| User | Count |
|---|---|
| 132 | |
| 86 | |
| 85 | |
| 68 | |
| 64 |