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

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more

Reply
talhaparvaiz
Helper I
Helper I

delete table rows where value is null

Hi,

 

I have a table that when imported, reads something like this

 

Country      City

Canada      Toronto

Canada      

Canada      Calgary

Canada      Vancouver

 

 

I want to delete rows from this table (at data refresh) where City is null... so that my final table should look like this

 

Country      City

Canada      Toronto

Canada      Calgary

Canada      Vancouver

 

Thanks

 

 

1 ACCEPTED SOLUTION
Anonymous
Not applicable

Hi @talhaparvaiz ,

 

In Query Editor, click button at the column header and click Remove Empty feature.

0.PNG

 

Best Regards,

Jay

View solution in original post

3 REPLIES 3
Anonymous
Not applicable

Hi @talhaparvaiz ,

 

In Query Editor, click button at the column header and click Remove Empty feature.

0.PNG

 

Best Regards,

Jay

Anonymous
Not applicable

@talhaparvaiz , go to query editor and filter the City column and unselect the nulls in the dropdown.   

VijayP
Super User
Super User

@talhaparvaiz 

in Power Query editor you can remove the such rows

watch this short video https://drive.google.com/file/d/1joxWn6FCWlXJ_SdVkZkOCZKUVUezvhti/view?usp=sharing




Did I answer your question? Mark my post as a solution! Appreciate your Kudos!!
MY Blog || My YouTube Channel || Connect with me on Linkedin || My Latest Data Story - Ageing Analysis

Proud to be a Super User!


Helpful resources

Announcements
Power BI DataViz World Championships

Power BI Dataviz World Championships

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!

December 2025 Power BI Update Carousel

Power BI Monthly Update - December 2025

Check out the December 2025 Power BI Holiday Recap!

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.