Power BI is turning 10! Tune in for a special live episode on July 24 with behind-the-scenes stories, product evolution highlights, and a sneak peek at what’s in store for the future.
Save the dateEnhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.
Hi guys,
I searched the internet but couldn't find an answer to this question. I hope it's easier than I think as I am fairly new to PBI.
My target is to have a 3 week-, 6 week- and 13 week average of my data. However the twist is, that the time span I am looking at is changing.
When I have the current week I get the correct result, as I am calculating the time span with the Today function minus the 13 weeks.
My problem starts, when I use the week slider:
You see, that I don't have any calculation for w-3 and 2-6 and on top don't have a w-13 calculation for w-13 but only for the remaining weeks that get shown as the count still starts at week 47.
Long story short. Any super brain here to help me out?
Thanks a lot!
Solved! Go to Solution.
The right end of your slicer marks the maximum of your filter context. So instead of using "today" as the right basis, use MAX(Wochenslicer) and then do the shifts as needed from that point.
The right end of your slicer marks the maximum of your filter context. So instead of using "today" as the right basis, use MAX(Wochenslicer) and then do the shifts as needed from that point.
Check out the July 2025 Power BI update to learn about new features.
This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.
User | Count |
---|---|
65 | |
64 | |
56 | |
39 | |
27 |
User | Count |
---|---|
85 | |
59 | |
45 | |
43 | |
38 |