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

Enhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends September 15. Request your voucher.

Reply
Anonymous
Not applicable

Filter for same ID from two (or more) sources

I have 2 tables (lets call A and B) which evaluate seperate measures. They are both joined to a lookup table (lets call C) for 'store' which has some more join information for attributes, etc.., which we use for display level filtering.

 

What I want to achieve is filtering both ways A and B to only show the IDs (and information from C) which exist in BOTH A AND B.

 

Is there some smart way I can do this? I tried doing it in my SQL view level, but problem is that comparing different time periods eventuates out of sync 'stores'. 

 

I need to do this to show like-for-like metrics, and ignore the rows which do not exist in both A AND B.

I need this to work with many different interactive visual level filters from C, so it needs to be dynamic, and re-evaluate if the rows exist in A AND B each time the filters are changed. (dates, etc).

 

 

I hope this makes sense? and I hope there is a way.

 

Thanks,

Jake

 

1 REPLY 1
v-chuncz-msft
Community Support
Community Support

@Anonymous,

 

You may try INTERSECT Function to add a calculated table.

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

Helpful resources

Announcements
August Power BI Update Carousel

Power BI Monthly Update - August 2025

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

August 2025 community update carousel

Fabric Community Update - August 2025

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