Learn from the best! Meet the four finalists headed to the FINALS of the Power BI Dataviz World Championships! Register 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
| User | Count |
|---|---|
| 56 | |
| 42 | |
| 30 | |
| 18 | |
| 16 |
| User | Count |
|---|---|
| 71 | |
| 59 | |
| 39 | |
| 22 | |
| 22 |