- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content

Weekly Sales Data like in Excel Pivot
Hello,
I have a sales report in PowerBI, i would like to do same as in Excel Weekly Differences ( with previous week )
In Excel Pivot i made from groupping with 7 day like below, and differences from previous week.
I tryto get it in PowerBI, i can do but the order always wrong, i try to add serial order but now it's showing like below;
I tried to hide serial section but goes wrong order again.
How can i do this same like in Excel? Anybody can help?
Thank you
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content

@MustafaP , You should have a sort column for week.
Assuming the s.no can sort week correctly, you can use that as sort column.
Click on week column -> Column Tools -> Sort By Column -> and Choose S.No.
https://docs.microsoft.com/en-us/power-bi/desktop-sort-by-column
For Week on week, you can use offset function
Offset Previous Week = CALCULATE([Pax],OFFSET(-1, ALL('Table'[Week],'Table'[S. No]),ORDERBY('Table'[S. No])))
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content

@MustafaP , You should have a sort column for week.
Assuming the s.no can sort week correctly, you can use that as sort column.
Click on week column -> Column Tools -> Sort By Column -> and Choose S.No.
https://docs.microsoft.com/en-us/power-bi/desktop-sort-by-column
For Week on week, you can use offset function
Offset Previous Week = CALCULATE([Pax],OFFSET(-1, ALL('Table'[Week],'Table'[S. No]),ORDERBY('Table'[S. No])))

Helpful resources
Subject | Author | Posted | |
---|---|---|---|
09-25-2023 09:25 PM | |||
05-22-2023 12:08 PM | |||
08-15-2023 02:44 PM | |||
02-15-2024 07:01 AM | |||
02-10-2023 01:37 AM |
User | Count |
---|---|
101 | |
84 | |
81 | |
54 | |
46 |