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

Join us at FabCon Atlanta from March 16 - 20, 2026, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM. 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
Fabric Data Days Carousel

Fabric Data Days

Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!

October Power BI Update Carousel

Power BI Monthly Update - October 2025

Check out the October 2025 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.

Top Kudoed Authors