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.
Hello, is there a way to create a measure for sameperiodlastyear so I can drag it into a dashboard? If I want to create a column in a dashboard with today's date, I can simply create a measured called Today and the DAX formula is Today = today(); however, I can't seem to do that with sameperiodlastyear.
This is what I want in my dashboard, with Date available in the data.
Date | Sameperiodlastyear |
1/1/2020 | 1/1/2019 |
1/8/2020 | 1/8/2019 |
1/15/2020 | 1/15/2019 |
1/22/2020 | 1/22/2019 |
1/29/2020 | 1/29/2019 |
2/5/2020 | 2/5/2019 |
Solved! Go to Solution.
Hi @Anonymous ,
Try this measure:
User | Count |
---|---|
25 | |
12 | |
8 | |
6 | |
6 |
User | Count |
---|---|
26 | |
12 | |
12 | |
10 | |
6 |