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
emnd
Regular Visitor

Filter based on two column values

Hi,

 

I have two tables:

 

TABLE 1

Columns 1          Column 2    

Item 1                   A                        

Item 2                   B                       

Item 3                   C                         

 

TABLE 2

Column 1          Column 2      

Entry 1                   A                         

Entry 2                   B                         

Entry 3                   C                         

Entry 4                   A                         

Entry 5                   B                         

Entry 6                   C                         

 

I want to filter TABLE 2 based on BOTH column values of the selection in TABLE 1. E.g., If I select "Item 1" in TABLE 1, I want to see Entry 1 and Entry 4 in TABLE 2, because they both have "A" in column 2.

 

Anyone who can help?

1 ACCEPTED SOLUTION
waltheed
Solution Supplier
Solution Supplier

If you create a relationship between these two tables on 'Table1'.[Column 2]  = 'Table2'.[Column 2] then this works as you want. 

 

Cheers, Edgar Walther
ITsmart BI and Analytics consultant

View solution in original post

2 REPLIES 2
waltheed
Solution Supplier
Solution Supplier

If you create a relationship between these two tables on 'Table1'.[Column 2]  = 'Table2'.[Column 2] then this works as you want. 

 

Cheers, Edgar Walther
ITsmart BI and Analytics consultant

Thanks! That solved my problem 🙂

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.