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

Enhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.

Reply
Syndicate_Admin
Administrator
Administrator

Turn top row into a column

Hi everyone, 

This is my first post here.

I need help with transforming a source file into a desired shape. 

I want to turn the data from the top 2 rows into it's own collumn.

I am planning to combine multiple excel fileds into one from a sharepoint holder, so it would be very helpful  if i can identify which row belongs to which item. 

 

Here is what the raw data would look like:

 

and this is what i am hoping to achieve in power query:

 

If anyone knows any solution to this, i would be extremely grateful.

 

thank you beforehand. 

 

 

2 REPLIES 2
Syndicate_Admin
Administrator
Administrator

This worked!

Thank you so much for the help. 

Anonymous
Not applicable

Looks like you just need to 

 

Table.AddColumn(PriorStepOrTableName, "Item Name", each Table.FirstValue(_))

 

--Nate

Helpful resources

Announcements
July 2025 community update carousel

Fabric Community Update - July 2025

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

July PBI25 Carousel

Power BI Monthly Update - July 2025

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