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

Learn from the best! Meet the four finalists headed to the FINALS of the Power BI Dataviz World Championships! Register now

Reply
kadabrada
Frequent Visitor

Multiple rows per order with various volumes in various columns - need just one row per order

Hi

I got a tricky data set with multiple rows per order, where data is repeating but not for every column equally. I need to find a way to merge them into 1 row per order.

 

Any tips on how to get the desired result as specified in the screenshos? 

 

kadabrada_1-1643215361338.png

 

2 ACCEPTED SOLUTIONS
BA_Pete
Super User
Super User

Hi @kadabrada ,

 

It looks like you can just group on [OrderItemID] and set all other fields to MAX, although I'm not sure how you decided which value to keep from your [Custom] column.

 

Pete



Now accepting Kudos! If my post helped you, why not give it a thumbs-up?

Proud to be a Datanaut!




View solution in original post

v-yalanwu-msft
Community Support
Community Support

Hi, @kadabrada ;

As  BA_Pete  said, you could group by OrderltemlD; then other column as max.

vyalanwumsft_0-1643693218058.png

The final output is shown below:

vyalanwumsft_1-1643693626248.png
Best Regards,
Community Support Team_ Yalan Wu
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

View solution in original post

2 REPLIES 2
v-yalanwu-msft
Community Support
Community Support

Hi, @kadabrada ;

As  BA_Pete  said, you could group by OrderltemlD; then other column as max.

vyalanwumsft_0-1643693218058.png

The final output is shown below:

vyalanwumsft_1-1643693626248.png
Best Regards,
Community Support Team_ Yalan Wu
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

BA_Pete
Super User
Super User

Hi @kadabrada ,

 

It looks like you can just group on [OrderItemID] and set all other fields to MAX, although I'm not sure how you decided which value to keep from your [Custom] column.

 

Pete



Now accepting Kudos! If my post helped you, why not give it a thumbs-up?

Proud to be a Datanaut!




Helpful resources

Announcements
Join our Fabric User Panel

Join our Fabric User Panel

Share feedback directly with Fabric product managers, participate in targeted research studies and influence the Fabric roadmap.

February Power BI Update Carousel

Power BI Monthly Update - February 2026

Check out the February 2026 Power BI update to learn about new features.

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.