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

Join us at FabCon Atlanta from March 16 - 20, 2026, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM. Register now.

Reply
Anonymous
Not applicable

Remove row with two filters

How do I remove rows following two steps.

First: filter all null cells in collum T

Second: filter all cells that contains any value in collum S

then delete rows

PBI.JPG

1 ACCEPTED SOLUTION

@Anonymous in formula bar update your filter expression as below, first filter column T by selecting a value and then on filter row step, update the expression as below

 

 

([T] <> null and [S]<>null)  or [S]=null)

 

image.png



Subscribe to the @PowerBIHowTo YT channel for an upcoming video on List and Record functions in Power Query!!

Learn Power BI and Fabric - subscribe to our YT channel - Click here: @PowerBIHowTo

If my solution proved useful, I'd be delighted to receive Kudos. When you put effort into asking a question, it's equally thoughtful to acknowledge and give Kudos to the individual who helped you solve the problem. It's a small gesture that shows appreciation and encouragement! ❤


Did I answer your question? Mark my post as a solution. Proud to be a Super User! Appreciate your Kudos 🙂
Feel free to email me with any of your BI needs.

View solution in original post

5 REPLIES 5
JarroVGIT
Resident Rockstar
Resident Rockstar

You can filter in the query editor, that removes all filtered rows from the dataset. See example dataset (opened in query editor!):

image.png

Now filter out null values by pressing the dropdown menu and deselect null.

image.png

Repeat for the second column, then press Close and Apply and the rows are removed from you available data in the report view.

 

Kind regards

Djerro123

------------------------------

If this answered your question, please mark it as the Solution. This also helps others to find what they are looking for.

Kudo's are welcome 🙂





Did I answer your question? Mark my post as a solution!

Proud to be a Super User!




Anonymous
Not applicable

Doesn't work because row 204, 205, 206... will be deleted and I just want delete rows 197, 198 and 203. Following the steps

 

PBI.JPG

Ah oke that clarifies. Try adding a Custom Column (from Query Editor, tab Add Column) with the follwing:

= if [T] = null and [S] <> null then 1 else 0

Then filter out the 1's in the new column as per my previous post.

 

 

Kind regards

 

Djerro123

 

-------------------------------

 

If this answered your question, please mark it as the Solution. This also helps others to find what they are looking for.

 

Kudo's are welcome 🙂





Did I answer your question? Mark my post as a solution!

Proud to be a Super User!




@Anonymous in formula bar update your filter expression as below, first filter column T by selecting a value and then on filter row step, update the expression as below

 

 

([T] <> null and [S]<>null)  or [S]=null)

 

image.png



Subscribe to the @PowerBIHowTo YT channel for an upcoming video on List and Record functions in Power Query!!

Learn Power BI and Fabric - subscribe to our YT channel - Click here: @PowerBIHowTo

If my solution proved useful, I'd be delighted to receive Kudos. When you put effort into asking a question, it's equally thoughtful to acknowledge and give Kudos to the individual who helped you solve the problem. It's a small gesture that shows appreciation and encouragement! ❤


Did I answer your question? Mark my post as a solution. Proud to be a Super User! Appreciate your Kudos 🙂
Feel free to email me with any of your BI needs.

amitchandak
Super User
Super User

Have you tried In edit query mode? You have options for row operations.  On home tab, edit query option.

Share with Power BI Enthusiasts: Full Power BI Video (20 Hours) YouTube
Microsoft Fabric Series 60+ Videos YouTube
Microsoft Fabric Hindi End to End YouTube

Helpful resources

Announcements
FabCon Global Hackathon Carousel

FabCon Global Hackathon

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

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.