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

Compete to become Power BI Data Viz World Champion! First round ends August 18th. Get started.

Reply
jdubs
Helper V
Helper V

Filter table where two columns contain data (OR)

I want to remove rows from a table visual where neither ColumnA OR ColumnB contain a value. How can I do this?

 

e.g. In this example row #3 would be filtered out from the table

 

Row #ColumnAColumnB
1X 
2 X
3  
4XX
1 ACCEPTED SOLUTION
mwegener
Most Valuable Professional
Most Valuable Professional

Hi @jdubs ,

 

you can create a calculated table in DAX

Tabelle 2 = FILTER(Tabelle,OR(Tabelle[ColumnA] <> BLANK(), Tabelle[ColumnB] <> BLANK()))

 

Did I answer your question?
Please mark my post as solution, this will also help others.
Please give Kudos for support.

Marcus Wegener works as Full Stack Power BI Engineer at BI or DIE.
His mission is clear: "Get the most out of data, with Power BI."
twitter - LinkedIn - YouTube - website - podcast - Power BI Tutorials


View solution in original post

3 REPLIES 3
mwegener
Most Valuable Professional
Most Valuable Professional

Hi @jdubs ,

 

you can create a calculated table in DAX

Tabelle 2 = FILTER(Tabelle,OR(Tabelle[ColumnA] <> BLANK(), Tabelle[ColumnB] <> BLANK()))

 

Did I answer your question?
Please mark my post as solution, this will also help others.
Please give Kudos for support.

Marcus Wegener works as Full Stack Power BI Engineer at BI or DIE.
His mission is clear: "Get the most out of data, with Power BI."
twitter - LinkedIn - YouTube - website - podcast - Power BI Tutorials


Thank you @mwegener. That's exactly what I needed. Still getting the hang of this DAX stuff 🙂

jdbuchanan71
Super User
Super User

In power query you could add a column that combines your two, then delete rows where the check column is blank, then delete the check column.

Helpful resources

Announcements
July 2025 community update carousel

Fabric Community Update - July 2025

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

July PBI25 Carousel

Power BI Monthly Update - July 2025

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

Top Solution Authors