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

Earn a 50% discount on the DP-600 certification exam by completing the Fabric 30 Days to Learn It challenge.

Reply
ryand009
Regular Visitor

PBI creating incorrect relationship

Hello.

 

I'm creating a non active relationship from my Canendar table to a date on my Catalog table (see below). Problem is PBI is automatically creating a 1:1, when it s definitely a 1:M relationship. Thre are multiple occurances of the same date in Catalog. Both attributes are Date types, formatted as dd/mm/yyyy

Not sure why this is happening and its producing some odd values in measures?

 

Any advice, gladly accepted.

 

ryand009_1-1695153564719.png

 

Thanks in advanve

Ron

 

 

 

 

2 REPLIES 2
Greg_Deckler
Super User
Super User

@ryand009 Can you just edit the relationship by double-clicking it and change it to 1:M? 


@ me in replies or I'll lose your thread!!!
Instead of a Kudo, please vote for this idea
Become an expert!: Enterprise DNA
External Tools: MSHGQM
YouTube Channel!: Microsoft Hates Greg
Latest book!:
The Definitive Guide to Power Query (M)

DAX is easy, CALCULATE makes DAX hard...
CoreyP
Solution Sage
Solution Sage

This was happening to me just yesterday. I was only using sample data with three rows, but it was because there were not multiple values of the same date in the fact table. When I made two rows have the same date value, it allowed the 1:*. Are you certain your catalog table has multiple of the same date value? 

Helpful resources

Announcements
LearnSurvey

Fabric certifications survey

Certification feedback opportunity for the community.

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

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

April Fabric Community Update

Fabric Community Update - April 2024

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