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! Request now
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!!!
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.
| User | Count |
|---|---|
| 8 | |
| 6 | |
| 6 | |
| 4 | |
| 4 |
| User | Count |
|---|---|
| 25 | |
| 16 | |
| 8 | |
| 7 | |
| 7 |