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

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

Reply
vat2do
Helper III
Helper III

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
September Power BI Update Carousel

Power BI Monthly Update - September 2025

Check out the September 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 Solution Authors