Advance your Data & AI career with 50 days of live learning, dataviz contests, hands-on challenges, study groups & certifications and more!
Get registeredGet Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Learn more
Hello,
I have a table with 2 columns, week and sales. I want to display the sales of the last 4 weeks based on the week that the user chose. Is that Possible?
Something like
User select week 30
| Week 30 | 120,000 | 
| Week 29 | 118,000 | 
| Week 28 | 124,000 | 
| Week 27 | 130,000 | 
Solved! Go to Solution.
Hi @marami21 ,
You could refer to my sample for details.
Best Regards,
Zoe Zhi
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Hi @marami21 ,
You could refer to my sample for details.
Best Regards,
Zoe Zhi
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
@marami21 - I have this almost exact example in The Complex Selector - https://community.powerbi.com/t5/Quick-Measures-Gallery/The-Complex-Selector/m-p/1116633#M534
@marami21 , if you need rolling 3/4 week data refer
https://medium.com/@amitchandak.1978/power-bi-wtd-questions-time-intelligence-4-5-98c30fab69d3
https://community.powerbi.com/t5/Community-Blog/Week-Is-Not-So-Weak-WTD-Last-WTD-and-This-Week-vs-La...
refer, if want to select 1 week and display 4 week + Above links
https://www.youtube.com/watch?v=duMSovyosXE
Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!
Check out the October 2025 Power BI update to learn about new features.