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

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

Reply
CloudMonkey
Post Prodigy
Post Prodigy

Significance of "From" and "To" in relationships

Hello,

 

Please can someone confirm it has no significance to DAX whether a field is listed in the "From" or "To" column in the manage relationships window? (I think the USERELATIONSIHP function is unaffected)

 

Does it have any significance anywhere else?

 

Thanks

 

CloudMonkey_0-1651667452924.png

 

CM

 

1 ACCEPTED SOLUTION
Syndicate_Admin
Administrator
Administrator

The relationships always have a cardinality.

this implies that a table X (From) filters another table Y (To) predefined in relationships of one to many.

if the ratio is one-to-one, both tables filter each other.

View solution in original post

2 REPLIES 2
DataVitalizer
Super User
Super User

@CloudMonkey 

Usually when creating a new relationship the order of selection affects the cardinality of the relationship.

But, when using the USERELATIONSHIP function you would better make sure that the first attribut represents the Many side of the relatioship and the 2nd Column represents the One side.
For more details check this link https://docs.microsoft.com/en-us/dax/userelationship-function-dax


Did it work ? 👌Mark it as a solution to help spreading knowledge 👉A kudos would be appreciated

Syndicate_Admin
Administrator
Administrator

The relationships always have a cardinality.

this implies that a table X (From) filters another table Y (To) predefined in relationships of one to many.

if the ratio is one-to-one, both tables filter each other.

Helpful resources

Announcements
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

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.