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

Join us for an expert-led overview of the tools and concepts you'll need to become a Certified Power BI Data Analyst and pass exam PL-300. Register now.

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
Join our Fabric User Panel

Join our Fabric User Panel

This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.

June 2025 Power BI Update Carousel

Power BI Monthly Update - June 2025

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

June 2025 community update carousel

Fabric Community Update - June 2025

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