Power BI is turning 10! Tune in for a special live episode on July 24 with behind-the-scenes stories, product evolution highlights, and a sneak peek at what’s in store for the future.
Save the dateEnhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.
I created a dax for sameperiod last year calculation. I put calculation in one chart and sameperiodlat year in Prev Chart. But i want to change X-Axis Values to show last year as well. Like 2019 instead of 2020. Is there any other way like using visual level filter where i change bottom chart to last year. For example when someone select Year-month 2020-08 on slicer the bottom chart give 2019-08.
In your Calendar table add a calculated column "Same day last year" and then use that as the x axis for the bottom chart.
User | Count |
---|---|
5 | |
5 | |
3 | |
2 | |
2 |
User | Count |
---|---|
10 | |
7 | |
4 | |
4 | |
4 |