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

Get Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Request now

Reply
NickProp28
Post Partisan
Post Partisan

Remove the rows when both of the column is null

Dear Community,

 

I retrieved data from company DB, but since its huge data and lots of information. So I did an example in excel file then import to BI.

Here's my data set example:

NickProp28_0-1615366750354.png

I want to remove the rows which consignee and consignor column is having null value. (If not remove, it will affect my later calculation part)

I try to use query editor remove 'null' in Consignee, but in result all the null in Consignee has been remove while there might have data in Consignor. 

NickProp28_0-1615366948048.png

 

Here's the pbix: https://ufile.io/govbkbdh

Grateful for any help & thanks for the attention. 

1 ACCEPTED SOLUTION
Vera_33
Resident Rockstar
Resident Rockstar

Hi @NickProp28 

 

You want to remove both columns are null, insert a step after your current step on the right Applied Steps

Table.SelectRows( yourPreviousStep, each not ( [yourColumn1] = null  and [yourColumn2] = null))

 

View solution in original post

1 REPLY 1
Vera_33
Resident Rockstar
Resident Rockstar

Hi @NickProp28 

 

You want to remove both columns are null, insert a step after your current step on the right Applied Steps

Table.SelectRows( yourPreviousStep, each not ( [yourColumn1] = null  and [yourColumn2] = null))

 

Helpful resources

Announcements
Fabric Data Days Carousel

Fabric Data Days

Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!

October Power BI Update Carousel

Power BI Monthly Update - October 2025

Check out the October 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
Top Kudoed Authors