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 everyone!
I am trying to build a line graph where I have the following data:
- Y axe: Total Sales
- X axe: Days of the week (Monday, tuesday, etc.)
- Line A: Last week sales
- Line B: Previous last week sales
I was able to manage almost everything but I cannot seem to get both values in the same graph.
Can you help?
Thanks a lot!
Solved! Go to Solution.
Hi Freeman,
At the end I went for this:
Hi !
Thanks for your quick answer. All good except, I dont have the WEEK option, only MONTH; YEAR, DATE, QUARTER, I guess I need to create it?
Thanks a lot for your help!
You are right, there is no WEEK interval. You can try -7 DAY and -14 DAY.
Unfortunately, that would run weeks and not "calendar weeks" (from monday to sunday only)
What does that mean? Could you please provide a screenshot or upload the simplified report?
Hi Freeman,
At the end I went for this:
Glad to hear that. With WEEKNUM, we even don't need the Date table, bravo!!!
Check out the July 2025 Power BI update to learn about new features.
User | Count |
---|---|
23 | |
9 | |
7 | |
6 | |
6 |
User | Count |
---|---|
28 | |
11 | |
11 | |
10 | |
6 |