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

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

Reply
coolshib
Helper III
Helper III

Need help on power query

Hello Everyone,

Need help to convert data from column wise to row wise.

 

My current data set is as follows:

Column 1Column 2
Jan100
Feb200
Mar300
April400
May500

 

I am looking for a result as follows:

JanFebMarAprilMay
100200300400500

 

Thanks in advance.

 

Best Regards,

Shib

1 ACCEPTED SOLUTION
edhans
Super User
Super User

For that, 2 steps @coolshib 

  1. Transpose on the Transform ribbon.
  2. Use first rows to headers on the Home ribbon.

Turns this:

edhans_0-1613406372684.png

into this:

edhans_1-1613406390087.png

 

Just make sure to set your data types when done from the 123/ABC to whatever it needs to be - whole number, number, etc.



Did I answer your question? Mark my post as a solution!
Did my answers help arrive at a solution? Give it a kudos by clicking the Thumbs Up!

DAX is for Analysis. Power Query is for Data Modeling


Proud to be a Super User!

MCSA: BI Reporting

View solution in original post

3 REPLIES 3
edhans
Super User
Super User

For that, 2 steps @coolshib 

  1. Transpose on the Transform ribbon.
  2. Use first rows to headers on the Home ribbon.

Turns this:

edhans_0-1613406372684.png

into this:

edhans_1-1613406390087.png

 

Just make sure to set your data types when done from the 123/ABC to whatever it needs to be - whole number, number, etc.



Did I answer your question? Mark my post as a solution!
Did my answers help arrive at a solution? Give it a kudos by clicking the Thumbs Up!

DAX is for Analysis. Power Query is for Data Modeling


Proud to be a Super User!

MCSA: BI Reporting

@edhansThank you so much..

Glad to be of assistance @coolshib 



Did I answer your question? Mark my post as a solution!
Did my answers help arrive at a solution? Give it a kudos by clicking the Thumbs Up!

DAX is for Analysis. Power Query is for Data Modeling


Proud to be a Super User!

MCSA: BI Reporting

Helpful resources

Announcements
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

Check out the April 2024 Power BI update to learn about new features.

April Fabric Community Update

Fabric Community Update - April 2024

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

Top Solution Authors