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
brs09j
Helper II
Helper II

Does it matter which table you start on when creating a relationship? (Facts vs Dimensional)

 
1 ACCEPTED SOLUTION
v-shex-msft
Community Support
Community Support

Hi @brs09j,

 

About create relationships, power bi will auto modify the direction of relationship(from unique side to multiple side).

In addition, if both of tables not contains the unique value, you can't direct create the relationship between them, you should add an unique table to link these tables.

 

Regards,

Xiaoxin Sheng

Community Support Team _ Xiaoxin
If this post helps, please consider accept as solution to help other members find it more quickly.

View solution in original post

3 REPLIES 3
v-shex-msft
Community Support
Community Support

Hi @brs09j,

 

About create relationships, power bi will auto modify the direction of relationship(from unique side to multiple side).

In addition, if both of tables not contains the unique value, you can't direct create the relationship between them, you should add an unique table to link these tables.

 

Regards,

Xiaoxin Sheng

Community Support Team _ Xiaoxin
If this post helps, please consider accept as solution to help other members find it more quickly.

Hello Xiaoxin,

@v-shex-msft 

The problem is that, even I am sure there is one column contain unique values in one of my two tables, it still warns me "You cannot create a relationship between these two colunms because one of the comumns must have unique values".

 

The table containg the colunmn which has unique values is from my local spreadsheet. I have tested in quite a few ways and made sure there is not duplicated records. But still, Power BI does not allow me create relationships in my case.

 

Thanks!

KHorseman
Community Champion
Community Champion

Not that I have ever noticed. Whether you go from the 1 side to the N side or the N to the 1 it's still a 1:N relationship either way.





Did I answer your question? Mark my post as a solution!

Proud to be a Super User!




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