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

We've captured the moments from FabCon & SQLCon that everyone is talking about, and we are bringing them to the community, live and on-demand. Starts on April 14th. Register now

Reply
Anya_T
Frequent Visitor

Row to Column

Hi,

 

I have huge daily incoming data in this format

ManagerUser IdColumn2021-19
anukshagbrabhisActual TIM Time (hrs)47.99
anukshagbrabhisActual overlap TIM Time (hrs)47.83
anukshagbrabhisTime Diff %0.33%
anukshagbtejashwActual TIM Time (hrs)21.41
anukshagbtejashwActual overlap TIM Time (hrs)20.52
anukshagbtejashwTime Diff %4.18%
anukshagchinthumActual TIM Time (hrs)46.8
anukshagchinthumActual overlap TIM Time (hrs)46.2
anukshagchinthumTime Diff %1.28%
anukshaghemagActual TIM Time (hrs)3.43
anukshaghemagActual overlap TIM Time (hrs)3.37
anukshaghemagTime Diff %1.65%

 

But i want to have this table like this

ManagerUser IdActual TIM Time (hrs)Actual overlap TIM Time (hrs)Time Diff %
anukshagbrabhis47.9947.830.33%
anukshagbtejashw21.4120.524.18%
anukshagchinthum46.846.21.28%
anukshaghemag3.433.371.65%

 

What are the different ways to do this?

 

 

1 ACCEPTED SOLUTION
ryan_mayu
Super User
Super User

@Anya_T 

i think you can use pivot in the PQ

1.PNG2.PNG

= Table.Pivot(#"Changed Type", List.Distinct(#"Changed Type"[Column]), "Column", "2021-19")




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

Proud to be a Super User!




View solution in original post

2 REPLIES 2
ryan_mayu
Super User
Super User

@Anya_T 

i think you can use pivot in the PQ

1.PNG2.PNG

= Table.Pivot(#"Changed Type", List.Distinct(#"Changed Type"[Column]), "Column", "2021-19")




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

Proud to be a Super User!




daxer-almighty
Solution Sage
Solution Sage

Using the Pivot operation in Power Query. (EDIT: Sorry, I first mistakenly wrote Unpivot.)

Helpful resources

Announcements
New to Fabric survey Carousel

New to Fabric Survey

If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.

Power BI DataViz World Championships carousel

Power BI DataViz World Championships - June 2026

A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.

Join our Fabric User Panel

Join our Fabric User Panel

Share feedback directly with Fabric product managers, participate in targeted research studies and influence the Fabric roadmap.

March Power BI Update Carousel

Power BI Community Update - March 2026

Check out the March 2026 Power BI update to learn about new features.