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

Next up in the FabCon + SQLCon recap series: The roadmap for Microsoft SQL and Maximizing Developer experiences in Fabric. All sessions are available on-demand after the live show. Register now

Reply
rhl94
Advocate III
Advocate III

Filter table based on multiple OR statement across multiple columns

Hi

 

I want to calculate a filtered table based on if one of the three conditions are met across multiple columns and table.

 

This formula express what I want, but TRUE/FALSE statement across multiple columns are not allowed. Any way to bypass this?

 

CALCULATETABLE(
         TableA;
                 TableA[Invoice] <> -1 ||
                 TableA[Status] = "Active" ||
                 TableB[Type] = "Public")
)
 
         
 
1 ACCEPTED SOLUTION
v-diye-msft
Community Support
Community Support

Hi @rhl94 

 

I believe you can refer to this post:

https://community.powerbi.com/t5/Desktop/FILTER-on-multiple-tables/m-p/304137 

https://community.powerbi.com/t5/DAX-Commands-and-Tips/Calculate-with-filter-on-multiple-tables/m-p/... 

 

Community Support Team _ Dina Ye
If this post helps, then please consider Accept it as the solution to help the other members find it more
quickly.

View solution in original post

3 REPLIES 3
v-diye-msft
Community Support
Community Support

Hi @rhl94 

 

I believe you can refer to this post:

https://community.powerbi.com/t5/Desktop/FILTER-on-multiple-tables/m-p/304137 

https://community.powerbi.com/t5/DAX-Commands-and-Tips/Calculate-with-filter-on-multiple-tables/m-p/... 

 

Community Support Team _ Dina Ye
If this post helps, then please consider Accept it as the solution to help the other members find it more
quickly.
amitchandak
Super User
Super User

Try like


CALCULATETABLE(
TableA;filter(TableA;
TableA[Invoice] <> -1 ||
TableA[Status] = "Active" ||
TableB[Type] = "Public")
)

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

Can't mix table a and b in a filter function

Helpful resources

Announcements
New to Fabric survey Carousel

New to Fabric Survey

If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.

Power BI DataViz World Championships carousel

Power BI DataViz World Championships - June 2026

A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.

Join our Fabric User Panel

Join our Fabric User Panel

Share feedback directly with Fabric product managers, participate in targeted research studies and influence the Fabric roadmap.

March Power BI Update Carousel

Power BI Community Update - March 2026

Check out the March 2026 Power BI update to learn about new features.