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

Compete to become Power BI Data Viz World Champion! First round ends August 18th. Get started.

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
August Power BI Update Carousel

Power BI Monthly Update - August 2025

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

August 2025 community update carousel

Fabric Community Update - August 2025

Find out what's new and trending in the Fabric community.

Top Solution Authors