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

Find everything you need to get certified on Fabric—skills challenges, live sessions, exam prep, role guidance, and more. Get started

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
Super User
Super User

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
Sept PBI Carousel

Power BI Monthly Update - September 2024

Check out the September 2024 Power BI update to learn about new features.

September Hackathon Carousel

Microsoft Fabric & AI Learning Hackathon

Learn from experts, get hands-on experience, and win awesome prizes.

Sept NL Carousel

Fabric Community Update - September 2024

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

Top Solution Authors
Top Kudoed Authors