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

Get Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Request now

Reply
Anonymous
Not applicable

Combine multiple rows to one single row based on common ID.

I have some issue to shift data from rows to combine to just one row based on a common ID (column A)

Below is my original data set:

 

WIP_NOSTAGESSTART_TIMEEND_TIMESTATUSQTYREJECTED_QTY
ED8166102/10/2018 9:05:00 AM02/10/2018 9:05:00 AM210
ED8166202/10/2018 9:05:00 AM02/10/2018 9:05:00 AM210
ED8166302/10/2018 9:05:00 AM02/10/2018 9:06:00 AM210
ED8166402/10/2018 9:06:00 AM02/10/2018 9:06:00 AM210
ED8166522/10/2018 4:32:00 PM22/10/2018 4:33:00 PM210
ED8166623/10/2018 9:28:00 AM23/10/2018 9:28:00 AM210
ED8166724/10/2018 9:55:00 AM24/10/2018 9:56:00 AM210

 

I like to reshape it to something like this:

 

WIP_NOSTAGESSTART_TIMEEND_TIMESTATUSQTYREJECTED_QTYSTAGESSTART_TIMEEND_TIMESTATUSQTYREJECTED_QTYSTAGESSTART_TIMEEND_TIMESTATUSQTYREJECTED_QTYSTAGESSTART_TIMEEND_TIMESTATUSQTYREJECTED_QTYSTAGESSTART_TIMEEND_TIMESTATUSQTYREJECTED_QTYSTAGESSTART_TIMEEND_TIMESTATUSQTYREJECTED_QTYSTAGESSTART_TIMEEND_TIMESTATUSQTYREJECTED_QTY
ED8166102/10/2018 9:05:00 AM02/10/2018 9:05:00 AM210202/10/2018 9:05:00 AM02/10/2018 9:05:00 AM210302/10/2018 9:05:00 AM02/10/2018 9:06:00 AM210402/10/2018 9:06:00 AM02/10/2018 9:06:00 AM210522/10/2018 4:32:00 PM22/10/2018 4:33:00 PM210623/10/2018 9:28:00 AM23/10/2018 9:28:00 AM210724/10/2018 9:55:00 AM24/10/2018 9:56:00 AM210
1 ACCEPTED SOLUTION
Mariusz
Community Champion
Community Champion

Hi @Anonymous 

 

You can use Power Query to do this, it takes three steps, please see the attached file.

 

 

Best Regards,
Mariusz

If this post helps, then please consider Accepting it as the solution.

 

View solution in original post

2 REPLIES 2
Mariusz
Community Champion
Community Champion

Hi @Anonymous 

 

You can use Power Query to do this, it takes three steps, please see the attached file.

 

 

Best Regards,
Mariusz

If this post helps, then please consider Accepting it as the solution.

 

Anonymous
Not applicable

Thanks!

It's what Im looking for!

Helpful resources

Announcements
November Power BI Update Carousel

Power BI Monthly Update - November 2025

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

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!

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 Solution Authors