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!Calling all Data Engineers! Fabric Data Engineer (Exam DP-700) live sessions are back! Starting October 16th. Sign up.
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:
Join the Fabric FabCon Global Hackathon—running virtually through Nov 3. Open to all skill levels. $10,000 in prizes!
Check out the September 2025 Power BI update to learn about new features.
User | Count |
---|---|
9 | |
8 | |
7 | |
4 | |
3 |