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

Data Days is here! Join us now for 60+ days of learning, challenges, and connection. Learn more

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
Fabric Data Days is here Carousel

Fabric Data Days 2026

Don't miss out on Data Days, June 15 through August 7. Learn Fabric, Power BI, SQL, AI and more.

May Power BI Update Carousel

Power BI Monthly Update - May 2026

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

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.