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
NILU090
Helper II
Helper II

many to many relationship problem

Hi Team,

Needed solution from long back, stuck on this point.

I have 2 tables. both has multiple ID. Table (right side) contains ID mulitple time as more than 2 person can be a part of 1 single activity ( or id). I want to filter table & measures when name is selected from table only belongs ID should filter.

I tried with brigde table. however its not working. please help me on this.

 

NILU090_1-1686306716167.png

 

3 REPLIES 3
Anonymous
Not applicable

Hi @NILU090 ,

 

Here I create a sample file to have a test.

vrzhoumsft_0-1686553798428.png

It works onmyside.

vrzhoumsft_1-1686553827778.png

Please compare my sample with yours.

For reference: Many-to-many relationship guidance - Power BI | Microsoft Learn

 

Best Regards,
Rico Zhou

 

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

johnt75
Super User
Super User

You could create a many-to-many relationship but make the filter direction single so that Table filters Fact.

Depending on the size of Table and the number of distinct names, you could also consider creating a Name table using DISTINCT('Table'[Name]) and create a one-to-many relationship from that to Table. You would then use the new Names table in your slicers and visuals.

darkinvader_
Resolver I
Resolver I

Hi @NILU090 ,

I would suggest an easy asnwer which is to create another dim table which contains distinct ID', but it would cost you a peforance setback.

 

Or else you can reffer this video whcih might solve your problem.
YouTube Video 

 

Regards

darkinvader

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.