Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

To celebrate FabCon Vienna, we are offering 50% off select exams. Ends October 3rd. Request your discount now.

Reply
Anonymous
Not applicable

Help with Power Query (in PBi) - Groiup By

Hello Community  -  

Our ERP system occassionally does something odd, or perhaps it is a mistake from our supply chain team, but either way what happens is that it ends creating more shipped order lines than what the "orders" table says.     For example, if I were to print a report called "customer orders" from our ERP system, it shows that there were two lines shipped.  

 

But in that same report, if I go to the "shipping" module, we see that the supply chain team has created three separate shipping entries for Line 1  (rather than just one).  

 

The shipment dataflow that we use to capture this infomation (not built by me) captures all three of the lines below, but really I just need those three lines to be reduced to one, while showing the correct aggregated qtys of the three lines.  

 

How to solve, assuming Group By is the answer?

 

texmexdragon2_1-1690739618964.png

 

 

 

 

texmexdragon2_0-1690739507067.png

 

1 REPLY 1
Idrissshatila
Super User
Super User

Hello @Anonymous ,

 

try to remove the duplicates, thus it will remove the added rows.

unless its the sum of these three rows is the right shipped quantity then you use group by.

 

If I answered your question, please mark my post as solution, Appreciate your Kudos 👍

Follow me on Linkedin



Did I answer your question? Mark my post as a solution! Appreciate your Kudos
Follow me on LinkedIn linkedIn
Vote for my Community Mobile App Idea

Proud to be a Super User!




Helpful resources

Announcements
September Power BI Update Carousel

Power BI Monthly Update - September 2025

Check out the September 2025 Power BI update to learn about new features.

Top Kudoed Authors