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
RenateBK
Helper II
Helper II

How to remove rows where data is missing in specific columns (without using filtering)

Hello, 

 

I have a dataset which is not perfectly cleaned and some rows with wrongful data has been included.

I need to remove these specific rows to avoid confusion and using the "filter" function by just unchecking "null" for the column is not a viable option and removing "blank rows" doesn't work as one cell in the row includes data. 

 

Thus I am wondering if it is possible to create a function where x row will be removed if there is "null" in y column?

 

RenateBK_1-1675251353661.png

(I borrowed the example image from another thread as it illustrates my needs, but doesn't have a solution I can use: https://community.powerbi.com/t5/Desktop/Delete-all-the-row-when-there-is-null-in-one-columns-of-the...)

 

Thank you, 

Renate

2 REPLIES 2
ITManuel
Responsive Resident
Responsive Resident

Hi @RenateBK ,

 

from what I know you can only "remove" rows by filtering them out. What is the issue with filtering blanks on the specific column?

 

You can do that either in PowerQuery or in DAX for the calculations you want to carry our, thus all rows in which there are blanks in the specific column are not present because ignored.

 

Br

The main issue is mostly just consistency as there is a risk that it will be forgotten because I have to filter it out in 10+ different data sets. 

 

However, I think I managed to come up with an easy solution. I simply sort the column with the missing data from "a to z" then I can remove x amount of top rows that's empty without any issue. 

 

Br

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.