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!Get Fabric certified for FREE! Don't miss your chance! Learn more
Hi,
I see there is no PREVIOUSWEEK function in DAX.
Could you please check and advise it there is any other alternative to calculate the previous week result.
For your ready reference, I have attached a copy of the screen image with this email.
Thanks regards,
Asad
Hi,
In most cases, the DATESBETWEEN() function can also be used. You need to share more data, describe your question and show the expected result.
Hi @Asad92 , you have to make a WEEKNUM column on your date table in order to get the previous week. Check the link that might help you doing the previous week calculation. 😉
Solved: Re: Last week Dax - Microsoft Power BI Community
Solved: Re: Dax for Current Week & Previous Week - Microsoft Power BI Community
Calculate Previous Week Sales
Share feedback directly with Fabric product managers, participate in targeted research studies and influence the Fabric roadmap.
Check out the January 2026 Power BI update to learn about new features.
| User | Count |
|---|---|
| 68 | |
| 59 | |
| 44 | |
| 20 | |
| 15 |
| User | Count |
|---|---|
| 104 | |
| 102 | |
| 37 | |
| 26 | |
| 26 |