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!The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more
Hi All,
Can you kindly help me with the DAX to calculate wins for Same Period Last Year and Same Period Last Month ?
My data resides in 2 talbles. Last Year Data in table "Historical Data" and This Years Data in "Funnel". I do have a Dynamic calendar in my power bi report.
Thanks in advance !
Krishna
Solved! Go to Solution.
Hi @KRISH80 ,
For Same Period Last Year use the following DAX:
https://docs.microsoft.com/en-us/dax/sameperiodlastyear-function-dax
For same period last month, refer the following post:
https://community.powerbi.com/t5/Desktop/Compare-data-with-previous-period-last-month/td-p/90426
If this helps and resolves the issue, appreciate a Kudos and mark it as a Solution! 🙂
Thanks,
Pragati
Hi @KRISH80 ,
For Same Period Last Year use the following DAX:
https://docs.microsoft.com/en-us/dax/sameperiodlastyear-function-dax
For same period last month, refer the following post:
https://community.powerbi.com/t5/Desktop/Compare-data-with-previous-period-last-month/td-p/90426
If this helps and resolves the issue, appreciate a Kudos and mark it as a Solution! 🙂
Thanks,
Pragati
The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!
Check out the November 2025 Power BI update to learn about new features.
| User | Count |
|---|---|
| 20 | |
| 10 | |
| 9 | |
| 4 | |
| 4 |
| User | Count |
|---|---|
| 32 | |
| 31 | |
| 18 | |
| 12 | |
| 11 |