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

The Power BI DataViz World Championships are on! With four chances to enter, you could win a spot in the LIVE Grand Finale in Las Vegas. Show off your skills.

Reply
RAKESH1986
Helper II
Helper II

how to Skip top Row in Mquery

Hi,

 

could you help me how i can remove this top row.. i have multiple files and I want to remove top row to make next line as header.

RAKESH1986_0-1679048397705.png

 

thanks

rakesh

 

1 ACCEPTED SOLUTION
HotChilli
Super User
Super User

You are on the right track.

Anything you can do to a table, you can do to a table when it's a row in a list.  So if you create a test table in another query, you can get power query to generate the syntax for you.

In this case you want

Table.PromoteHeaders(_ , [PromoteAllScalars=true]))

 

View solution in original post

2 REPLIES 2
HotChilli
Super User
Super User

You are on the right track.

Anything you can do to a table, you can do to a table when it's a row in a list.  So if you create a test table in another query, you can get power query to generate the syntax for you.

In this case you want

Table.PromoteHeaders(_ , [PromoteAllScalars=true]))

 

KeyurPatel14
Responsive Resident
Responsive Resident

Hi @RAKESH1986 ,
You can use Table.PromoteHeaders inside your function.
I hope this will solve your problem and if this helps you then please give it a kudos and accept it as a solution.
Thank you.

Helpful resources

Announcements
Las Vegas 2025

Join us at the Microsoft Fabric Community Conference

March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!

Feb2025 Sticker Challenge

Join our Community Sticker Challenge 2025

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

Feb2025 NL Carousel

Fabric Community Update - February 2025

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

Top Solution Authors
Top Kudoed Authors