Microsoft Fabric Community Conference 2025, March 31 - April 2, Las Vegas, Nevada. Use code FABINSIDER for a $400 discount.
Register nowGet inspired! Check out the entries from the Power BI DataViz World Championships preliminary rounds and give kudos to your favorites. View the vizzies.
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!!!
March 31 - April 2, 2025, in Las Vegas, Nevada. Use code FABINSIDER for a $400 discount!
Check out the February 2025 Power BI update to learn about new features.
User | Count |
---|---|
19 | |
14 | |
10 | |
9 | |
9 |
User | Count |
---|---|
15 | |
12 | |
12 | |
11 | |
11 |