This is best Fabric, Power BI, SQL and AI community event. How do we know? The last event sold out! Save €200 with code FABCMTY200.
Register nowA new Data Days event is coming soon! This time we’re going bigger than ever. Fabric, Power BI, SQL, AI and more. Don't miss out.
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
Check out the May 2026 Power BI update to learn about new features.
Sign up to receive a private message when registration opens and key events begin.
If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.
| User | Count |
|---|---|
| 30 | |
| 26 | |
| 25 | |
| 22 | |
| 13 |
| User | Count |
|---|---|
| 60 | |
| 50 | |
| 26 | |
| 20 | |
| 19 |