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

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

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
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

Check out the April 2024 Power BI update to learn about new features.

April Fabric Community Update

Fabric Community Update - April 2024

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