Don't miss your chance to take the Fabric Data Engineer (DP-600) exam for FREE! Find out how by watching the DP-600 session on-demand now through April 28th.
Learn moreJoin the FabCon + SQLCon recap series. Up next: Power BI, Real-Time Intelligence, IQ and AI, and Data Factory take center stage. All sessions are available on-demand after the live show. Register now
Hi everyone,
I am struggling with grouping the below set of data:
1) Firstly, I want to group the highlited columns. My final result should be: one row with date and total amounts for both columns
2) Secondly, I need to group the backlog - need to receive the last value from the last row (31143).
Does anyone know how to solve this?
Thank you!
Solved! Go to Solution.
Hi @alice25
Here you go:
Attaching the file for your reference.
Hi @alice25
It would be great if you can share the sample data with me and the expected output.
Hi Ankit,
Sample data:
| Last date of the week | Incoming | Shipment | Backlog |
| 12/25/22 | 0 | 1291.03 | 25237 |
| 12/25/22 | 0 | 0 | 25237 |
| 12/25/22 | null | null | null |
| 12/25/22 | 0 | 0 | 25237 |
| 12/25/22 | 0 | 14573.53 | 26528 |
| 12/25/22 | 0 | 0 | 31143 |
Expected:
| Last date of the week | Incoming | Shipment | Backlog |
| 12/25/22 | 0 | 15864.56 | 31143 |
Thank you!
Hi @alice25
Here you go:
Attaching the file for your reference.
Hi Ankit,
Thanks! There is one issue with backlog value - it will not be always max value.
Please find below the example:
| Last date of the week | Incoming | Shipment | Backlog |
| 12/18/22 | 5036.31 | 0 | 31782 |
| 12/18/22 | 0 | 0 | 31143 |
| 12/18/22 | 0 | 1988.02 | 31143 |
| 12/18/22 | 0 | 0 | 26746 |
| 12/18/22 | 0 | 0 | 26746 |
Expected:
| Last date of the week | Incoming | Shipment | Backlog |
| 12/18/22 | 5036.31 | 1988.02 | 26746 |
Hi @alice25
Not possible with group by as we can choose either max, min, sum, avg, count etc with the group by.
Check out the April 2026 Power BI update to learn about new features.
If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.
A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.
| User | Count |
|---|---|
| 10 | |
| 10 | |
| 9 | |
| 7 | |
| 7 |
| User | Count |
|---|---|
| 42 | |
| 32 | |
| 27 | |
| 19 | |
| 19 |