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

Enhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends September 15. Request your voucher.

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

KiranR
Frequent Visitor

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

Power BI Monthly Update - August 2025

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

August 2025 community update carousel

Fabric Community Update - August 2025

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