Join us for an expert-led overview of the tools and concepts you'll need to pass exam PL-300. The first session starts on June 11th. See you there!
Get registeredPower BI is turning 10! Let’s celebrate together with dataviz contests, interactive sessions, and giveaways. Register now.
Hi, I want to create a calculated measure or column that has me select last week's sales and sales from the beginning of the year to last week. I want this to also be a filter so that I can decide if I want to see sales either by previous week or all weeks up to the previous week. What code should I write?
Thank you
What does "week" mean to you? Does your calendar table have yearweek numbers?
exactly!
This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.
Check out the June 2025 Power BI update to learn about new features.
User | Count |
---|---|
15 | |
10 | |
10 | |
10 | |
10 |
User | Count |
---|---|
19 | |
14 | |
13 | |
11 | |
8 |