Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.
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:
Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City
Check out the April 2024 Power BI update to learn about new features.
User | Count |
---|---|
40 | |
20 | |
19 | |
15 | |
15 |
User | Count |
---|---|
47 | |
28 | |
25 | |
17 | |
17 |