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
CloudMonkey
Post Prodigy
Post Prodigy

Query Editor - delete first row

Hi,

 

I have a source excel file with headers in the second row. So I wish to delete the first row and promote the next row to headers. Please can you tell me how to delete the first row? (I can't just filter out blanks because I don't trust the user not to type some notes in the first row).

 

Many Thanks,

 

CM

1 ACCEPTED SOLUTION
v-danhe-msft
Employee
Employee

Hi @CloudMonkey ,

Based on my test, you could use the remove the Top N function to delete the first row in query editor:

1.PNG

Regards,

Daniel He

Community Support Team _ Daniel He
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

View solution in original post

2 REPLIES 2
v-danhe-msft
Employee
Employee

Hi @CloudMonkey ,

Based on my test, you could use the remove the Top N function to delete the first row in query editor:

1.PNG

Regards,

Daniel He

Community Support Team _ Daniel He
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

In the top left corner of the table is a context menu. Click it, and select “remove top rows, 1”


 



* Matt is an 8 times Microsoft MVP (Power BI) and author of the Power BI Book Supercharge Power BI.

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.