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
sabeensp
Helper IV
Helper IV

Multiple Filter from Mutiple Tables

Hello, I have 2 tables

Table 1 and Table 2 both have join conditions

Table1.Column1 = Table 2.Column2

 

I Need to create a meassure to count

Count(Table1.Column3) with the follwing filters

Table1.Column 5 = "Red"
Table1.Column 6 = "Large"
Table2.Column 3 <> ""

Appreciate your help.

2 REPLIES 2
v-xuding-msft
Community Support
Community Support

Hi @sabeensp ,

I created a measure you can have a try.

Measure = CALCULATE(COUNT(Table1[Column3]),FILTER(Table1,Table1[Column 5] = "Red" && Table1[Column 6] = "Large" && MAX(Table2[Table 2.Column 3])<> BLANK()))

1.PNG

If this is not what you want, can you please post some sample data and the expected result?

 

Best Regards,

Xue

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Best Regards,
Xue Ding
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

@v-xuding-msft 

 

But what if, ID 3 and 4 both have the same values in all the columns?

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.