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

Earn a 50% discount on the DP-600 certification exam by completing the Fabric 30 Days to Learn It challenge.

Reply
gio1082
Helper I
Helper I

transpose row to columns

Hi,

a have a lot of data in the following data form. 

gio1082_0-1649343435459.png

I want to transform it like this 

gio1082_1-1649343471848.png

 

How do I do it in the power query? thank you in advance

1 ACCEPTED SOLUTION
amitchandak
Super User
Super User

@gio1082 , first is select ID and unpivot other columns

 

https://radacad.com/pivot-and-unpivot-with-power-bi

rename column , create month column

 

create a new column  Date

= Date.FromText("01-"&[Month]&"-2022")

View solution in original post

2 REPLIES 2
amitchandak
Super User
Super User

@gio1082 , first is select ID and unpivot other columns

 

https://radacad.com/pivot-and-unpivot-with-power-bi

rename column , create month column

 

create a new column  Date

= Date.FromText("01-"&[Month]&"-2022")

Thank you!

Helpful resources

Announcements
LearnSurvey

Fabric certifications survey

Certification feedback opportunity for the community.