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

The Power BI Data Visualization World Championships is back! It's time to submit your entry. Live now!

Reply
aashton
Helper V
Helper V

Power BI says Many-to-Many but no duplicates

Hello,

I have an Applications table, linked to Contracts table on Candidate ID.  The relationship should be many-to-one, there can be multiple applications, but only one Contract for that Candidate ID.  Both are Excel spreadsheets.  I've checked the spreadsheet over and over, there are no duplicates in Candidate ID on the Contracts spreadsheet.  However, Power BI will only allow a many-to-many.  I've read every post, I've tried everything here, https://community.fabric.microsoft.com/t5/Desktop/Can-t-establish-many-to-1-relationship-between-tab... nothing works.  I've cleaned, trimmed, UPPER, coalesce, Candidate ID.  I created a visual with unique Candidate IDs with the Candidate ID count from Contracts, and it correctly displays 492 Candidate IDs, each with a count of 1.  However, from Power Query, using Group By on Candidate ID, I am getting outrageous results.  Showing some candidate ID's have up to 10 rows...they do not.   PLease help.  

aashton_0-1689953650883.png

 

aashton_1-1689953783874.png

 

 

1 REPLY 1
foodd
Community Champion
Community Champion

Please provide sample data (with sensitive information removed) that covers your issue or question completely, in a usable format (not as a screenshot).


https://community.fabric.microsoft.com/t5/Community-Blog/How-to-provide-sample-data-in-the-Power-BI-...


Please show the expected outcome based on the sample data you provided.

https://community.fabric.microsoft.com/t5/Desktop/How-to-Get-Your-Question-Answered-Quickly/m-p/1447...

 

This allows members of the Forum to assess the state of the model, report layer, relationships, and any DAX applied.

Helpful resources

Announcements
Power BI DataViz World Championships

Power BI Dataviz World Championships

The Power BI Data Visualization World Championships is back! It's time to submit your entry.

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.