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

Join us at FabCon Atlanta from March 16 - 20, 2026, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM. Register now.

Reply
TechR21
Helper V
Helper V

Is there a way to manual delete a row in power query?

Is there a way to manually delete a row in the dataset in power query? other then the usual options

 

TechR21_0-1677586885230.png

 

3 REPLIES 3
PowerBee777
Regular Visitor

You can try this

Let us say you have 1000 rows in your table (count rows option)

And there is one row that has all null values and you do not need it in further transfromations and want to remove. let us say that is row 2.

Remove rows > remove Alternate Rows >First row to remove give it 2 ( row 2), Number of rows to remove -1 ( As we need to remove only  one row), Number of rows to keep - 999 ( As after removing one row remaining is 999 out of 100) then OK.

Hope this helps

Thank you.

 

AlexisOlson
Super User
Super User

How do you know what row to delete?

 

If it's a row that has a certain value (or blank), you can create a filter.

If it's related to the row number, then you can add an index and filter the index column to remove the row.

alannavarro
Resolver I
Resolver I

This will delete the first row ( power query is index 0)
= Table.AlternateRows(Source,0,1,Table.RowCount(Source))

And here is my understanding of how it works.
= Table.AlternateRows(
Previous Step ,
0 = first row ,
1 = only remove one row ,
Table.RowCount(Previous Step) = Keep all rows)

Helpful resources

Announcements
FabCon Global Hackathon Carousel

FabCon Global Hackathon

Join the Fabric FabCon Global Hackathon—running virtually through Nov 3. Open to all skill levels. $10,000 in prizes!

October Power BI Update Carousel

Power BI Monthly Update - October 2025

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

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.

Top Kudoed Authors