Power BI is turning 10, and we’re marking the occasion with a special community challenge. Use your creativity to tell a story, uncover trends, or highlight something unexpected.
Get startedJoin us for an expert-led overview of the tools and concepts you'll need to become a Certified Power BI Data Analyst and pass exam PL-300. Register now.
Hi
Our financial year is split into 13 periods with 4 weeks per period. What I'd like to do is have a report with two visuals and a week slicer so that when a user chooses a week, one visual shows the income for that week and the second visual shows the total income for the period that that week sits in.
My simplified date table looks like this:
Week | Period |
1 | 1 |
2 | 1 |
3 | 1 |
4 | 1 |
5 | 2 |
6 | 2 |
7 | 2 |
8 | 2 |
And the simplified data table looks like this:
Week | Income |
1 | 500 |
2 | 1000 |
3 | 600 |
4 | 400 |
5 | 600 |
6 | 700 |
7 | 300 |
8 | 400 |
So if the week slicer was set to week 2 then the "week" visual would show £1,000 and the "period" visual would show £2,500 (£500+£1,000+£600+£400).
I hope I've explained that clearly - any help would be really appreciated.
Solved! Go to Solution.
Hi,
You may refer to my solution here.
Hope this helps.
Hi,
You may refer to my solution here.
Hope this helps.
Thanks so much Ashish, that's exactly what I'm after. If it's not too much trouble, would you mind explaining how the formula for the period works? In particular the "ABCD" part.
You are welcome. The SUMMARIZE function creates a virtual table. ABCD is the title of the column which i have added in that virtual table.
What happens when you have a 53rd week?
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 |
---|---|
79 | |
78 | |
59 | |
36 | |
33 |
User | Count |
---|---|
94 | |
61 | |
56 | |
49 | |
41 |