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

Get inspired! Check out the entries from the Power BI DataViz World Championships preliminary rounds and give kudos to your favorites. View the vizzies.

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
Las Vegas 2025

Join us at the Microsoft Fabric Community Conference

March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!

FebPBI_Carousel

Power BI Monthly Update - February 2025

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

Feb2025 NL Carousel

Fabric Community Update - February 2025

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

Top Solution Authors
Top Kudoed Authors