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

Vote for your favorite vizzies from the Power BI Dataviz World Championship submissions. Vote 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
Power BI DataViz World Championships

Power BI Dataviz World Championships

Vote for your favorite vizzies from the Power BI World Championship submissions!

Sticker Challenge 2026 Carousel

Join our Community Sticker Challenge 2026

If you love stickers, then you will definitely want to check out our Community Sticker Challenge!

January Power BI Update Carousel

Power BI Monthly Update - January 2026

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

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.