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
lahcen_aglagal
Regular Visitor

Use the first Row as header in power query

Hi, After merging some tables from different sources, I want to use the first row as headers, but only for specific columns, not all of them. Is there a way to do this? As you can see in the image, the last two columns' headers are already set.Screenshot 2024-04-12 140547.png

 

1 ACCEPTED SOLUTION
Idrissshatila
Super User
Super User

Hello @lahcen_aglagal ,

 

So if the fields you want to do make first row as header for them are the fields before the merge, the at the right side of the power query there's a section named applied steps, so you go to the step before the merge and apply the make first row as header there before the merge step.



Did I answer your question? Mark my post as a solution! Appreciate your Kudos
Follow me on LinkedIn linkedIn
Vote for my Community Mobile App Idea

Proud to be a Super User!




View solution in original post

2 REPLIES 2
v-yohua-msft
Community Support
Community Support

Hi, @lahcen_aglagal 

Here's what I add to Idrissshatila's approach.
As Idrissshatila said,  before your merge Table, you can hit Use first Row as Heads in PowerQuery

 

vyohuamsft_2-1713145024302.png

You can see the preview

vyohuamsft_3-1713145304016.png

 

How to Get Your Question Answered Quickly 

Best Regards

Yongkang Hua

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Idrissshatila
Super User
Super User

Hello @lahcen_aglagal ,

 

So if the fields you want to do make first row as header for them are the fields before the merge, the at the right side of the power query there's a section named applied steps, so you go to the step before the merge and apply the make first row as header there before the merge step.



Did I answer your question? Mark my post as a solution! Appreciate your Kudos
Follow me on LinkedIn linkedIn
Vote for my Community Mobile App Idea

Proud to be a Super User!




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.