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

Join us for an expert-led overview of the tools and concepts you'll need to become a Certified Power BI Data Analyst and pass exam PL-300. Register now.

Reply
vat2do
Helper II
Helper II

delete rows in power bi query editor

Greetings to all

 

Have a quick question.

How to delete/remove rows in a table using powerbi query editor having null values in selected column.

 

Appreciate your reply.

1 ACCEPTED SOLUTION

Hi @vat2do 

Yes. When you  remove blank rows so all the respective complete rows will be deleted.

 

 

Don't forget to give thumbs up and accept this as a solution if it helped you!!!

View solution in original post

7 REPLIES 7
Uzi2019
Super User
Super User

Hi @vat2do 
Open power query > Home tab> manage column section > remove rows > remove blank rows

 

Uzi2019_0-1698906558597.png

 

 

 

Don't forget to give thumbs up and accept this as a solution if it helped you!!!

Hi @vat2do 
Did you check my solution???

 

 

 

 

Don't forget to give thumbs up and accept this as a solution if it helped you!!!

let me put my question in this way:

for example.

if column no3 has null values delete all those rows using power query editor

Hi @vat2do 

Yes. When you  remove blank rows so all the respective complete rows will be deleted.

 

 

Don't forget to give thumbs up and accept this as a solution if it helped you!!!

Hi @vat2do 
You can try below option where complete rows are removed.

 

Uzi2019_0-1698908701249.png

 

 

 

Don't forget to give thumbs up and accept this as a solution if it helped you!!!
mohitkumawat
Super User
Super User

Hi,
If you're in the edit queries screen, you click on the arrow and in the drop-down menu you should be able to click sort ascending or descending. In general the null value should sort on the top, where you can uncheck the null mark. or you can 

  1. Select all the columns you want to test for null on.
  2. In the Add Column ribbon, select Merge Columns with no special delimiter.
  3. Filter that newly Merged column for null, or select the "remove empty" filter. Remove Empty will remove blanks and nulls.
  4. Delete the temporary merged column.

 

mohitkumawat_0-1698906447386.png

 

Thanks for the reply,

What if I need to delete the rows having null value in a specific column of a table.

Helpful resources

Announcements
July PBI25 Carousel

Power BI Monthly Update - July 2025

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

Join our Fabric User Panel

Join our Fabric User Panel

This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.

June 2025 community update carousel

Fabric Community Update - June 2025

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