March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount! Early bird discount ends December 31.
Register NowBe one of the first to start using Fabric Databases. View on-demand sessions with database experts and the Microsoft product team to learn just how easy it is to get started. Watch now
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.
@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])))
@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])))
March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!
Your insights matter. That’s why we created a quick survey to learn about your experience finding answers to technical questions.
Arun Ulag shares exciting details about the Microsoft Fabric Conference 2025, which will be held in Las Vegas, NV.
User | Count |
---|---|
124 | |
87 | |
85 | |
70 | |
51 |
User | Count |
---|---|
205 | |
153 | |
97 | |
79 | |
69 |