This time we’re going bigger than ever. Fabric, Power BI, SQL, AI and more. We're covering it all. You won't want to miss it.
Learn moreGet Fabric Certified for FREE during AI Skills Fest. This week only. Secure your voucher now.
I'm currently doing a daily dashboard with a different sales value per day. So basically I want to create a matrix visual only showing the sales for the same day the past 5 weeks. For example, I will select week 23 and I selected Monday, I want the visual to show only Monday, last Monday, Monday weeks ago, Monday 3 weeks ago in a Matrix. And I want this to be dynamic...so i select Tuesday, then Tuesday data from the past 5 weeks should show, then Wednesday, only Wednesday and so on.
Is there any DAX formula that I could use to do this? Thank you!!! I've been trying to go this direction but have been failing :
Solved! Go to Solution.
Hi @Anonymous
You have to create a calendar table with the needed columns (weekday, week number)
The week number and day can be used in slicers :
Then you can create measures for the week's sales with wanted offsets:
pbix with an example is attached.
More guides about creating calendar tables is by the link:
https://radacad.com/do-you-need-a-date-dimension
About field parameters :
https://www.youtube.com/watch?v=NVREYTHxBvU
If this post helps, then please consider Accepting it as the solution to help the other members find it more quickly
Hi @Anonymous
You have to create a calendar table with the needed columns (weekday, week number)
The week number and day can be used in slicers :
Then you can create measures for the week's sales with wanted offsets:
pbix with an example is attached.
More guides about creating calendar tables is by the link:
https://radacad.com/do-you-need-a-date-dimension
About field parameters :
https://www.youtube.com/watch?v=NVREYTHxBvU
If this post helps, then please consider Accepting it as the solution to help the other members find it more quickly
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 |
|---|---|
| 22 | |
| 22 | |
| 21 | |
| 21 | |
| 16 |
| User | Count |
|---|---|
| 55 | |
| 54 | |
| 46 | |
| 26 | |
| 24 |