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

Get Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Request now

Reply
vazperen
Frequent Visitor

Duplicate value not allowed, many to many

 

 

 

Hello, Newby with databases and PowerBI.  I was creating a table with Horse racing results and everything went well until one horse finally showed up again under the results table.  I have two tables, one called Horse Results, and another called Picks.  I checked the relationship properties, based on some other comments, I believe I have it as many-to-many with cross filter direction as "both".  Probably is something is easy to fix..thanks of the input.

 

 

 

 

Duplicate.PNG

 

relation.PNG

 

tables.PNG

 

 

 

1 ACCEPTED SOLUTION
vanessafvg
Super User
Super User

@vazperen you will need to create a distinct list of horses, you cannot do many to many directly, there has to be a unique lookup table in the middle, get a distinct list of the horse column and place it between the tables you have remapping the relationship.

 

do you need a many to many relatioship?   where are you filtering the data from in your visuals, you shouln'dt use the  both option unless you know how it works





If I took the time to answer your question and I came up with a solution, please mark my post as a solution and /or give kudos freely for the effort 🙂 Thank you!

Proud to be a Super User!




View solution in original post

2 REPLIES 2
vanessafvg
Super User
Super User

@vazperen you will need to create a distinct list of horses, you cannot do many to many directly, there has to be a unique lookup table in the middle, get a distinct list of the horse column and place it between the tables you have remapping the relationship.

 

do you need a many to many relatioship?   where are you filtering the data from in your visuals, you shouln'dt use the  both option unless you know how it works





If I took the time to answer your question and I came up with a solution, please mark my post as a solution and /or give kudos freely for the effort 🙂 Thank you!

Proud to be a Super User!




Yes, that's what I thought...thanks!

Helpful resources

Announcements
November Power BI Update Carousel

Power BI Monthly Update - November 2025

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

Fabric Data Days Carousel

Fabric Data Days

Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!

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.

Top Solution Authors