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

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more

Reply
Varan_15
Helper III
Helper III

convert Row to column in powerquery

Hi all,

I have source data which is contain row level process step i need to split into column level data in edit query transformation.

ex: source file

1.PNG

 

Expected result using edit query: (Process row steps (input,review,print)  need to convert into column level with IN and OUT time)

 

2.PNG

 

Thanks,

Varan

1 ACCEPTED SOLUTION
ryan_mayu
Super User
Super User

@Varan_15 

1. SELECT IN TIME and OUT TIME , then unpivot columns

1.PNG

 

2. merge column

2.PNG

 

3. select merge column and pivot column

3.PNG4.PNG





Did I answer your question? Mark my post as a solution!

Proud to be a Super User!




View solution in original post

5 REPLIES 5
MSuser5
Helper III
Helper III

Hi All,

can we achive this using summarize calculated column ?

ryan_mayu
Super User
Super User

@Varan_15 

1. SELECT IN TIME and OUT TIME , then unpivot columns

1.PNG

 

2. merge column

2.PNG

 

3. select merge column and pivot column

3.PNG4.PNG





Did I answer your question? Mark my post as a solution!

Proud to be a Super User!




@ryan_mayu ,

 

Great job thanks it's working fine.

you are welcome





Did I answer your question? Mark my post as a solution!

Proud to be a Super User!




@ryan_mayu ,

 

there is second scenario if i want to keep all the input rows as named like input 1 and input 2..... how can we achive this way for example

1.PNG2.PNG

 

Thanks,

Helpful resources

Announcements
Power BI DataViz World Championships

Power BI Dataviz World Championships

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!

December 2025 Power BI Update Carousel

Power BI Monthly Update - December 2025

Check out the December 2025 Power BI Holiday Recap!

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.