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

Power BI is turning 10! Let’s celebrate together with dataviz contests, interactive sessions, and giveaways. Register now.

Reply
EaglesTony
Post Prodigy
Post Prodigy

How to Fix a one-to-many relationship

I have 2 tables.

 

Table1 has a unique column of EpicKey.

Table2 has a column EpicLink.

 

There is a 1 to many relationship between Table1 and Table2, meaning EpicKey is in Table2 as EpicLink for multiple records.

 

When I try to create the relationship of Table1 to Table2 and try to make it One to Many, it is throwing an error "Relationship between EpicKey and EpicLink has the From end cardinality set to One. From end cardinality must always be set to Many, unless the relationship is One-To-One" ??

4 REPLIES 4
lbendlin
Super User
Super User

That doesn't sound right.  Please provide samples of both tables.

Here is what I have: 

1) Epics table has a unique key called "Key"

2) EOS table has a key called "EpicsKey" (There are duplicates of this in the table)

3) Epics has a 1-to-Many relationship to EOS table based on Key-->EpicsKey and it is setup as:

    - Table: SOS

    - Column: EpicsKey

    - Cardinality: Many to One(*:1)

    - Table: Epics

    - Column: Key

    - Cross filter direction: Both

 

I have a 2nd table SOS that needs the same relationship and when I try to set it up the same as above, this is when I am getting an "ambigoous paths" error.

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...

We decided to handle this situation via SQL Stored Procedure that delivers the data.

Helpful resources

Announcements
Join our Fabric User Panel

Join our Fabric User Panel

This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.

June 2025 Power BI Update Carousel

Power BI Monthly Update - June 2025

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

June 2025 community update carousel

Fabric Community Update - June 2025

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