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.

0

NaturalLeftJoin throws "No Coemmon join columns detected" error. Column names in 2 tables are same

NaturalLeftJoin does not work even though the column names in 2 tables are the same "DateKey" and same data type of text

 

mikebreen_0-1655498892588.png

 

As additional troubleshooting, in the Model view, there is a message that the table I'm trying to setup with NatualLeftJoin is already present:

mikebreen_1-1655498985373.png

This is the DAX code for the table:

z_Natljoin = NATURALLEFTOUTERJOIN(z_DaysInWeek1, z_DaysInWeek2)
 

 

 

Status: Delivered

Hi @mikebreen ,

 

You need to have columns that define joins named differently.

It is counter intuitive, but in order for the function to work.

1. Relationship between column(s) defining join must be set before the function can be used.

2. Related column must have different name between two tables being joined.

 

Please check out some of the solutions given by other users in this similar thread.

naturalleftjoin DAX error at-least one common join column 

 

Best Regards,
Community Support Team _ Caitlyn

Comments
v-xiaoyan-msft
Community Support
Status changed to: Delivered

Hi @mikebreen ,

 

You need to have columns that define joins named differently.

It is counter intuitive, but in order for the function to work.

1. Relationship between column(s) defining join must be set before the function can be used.

2. Related column must have different name between two tables being joined.

 

Please check out some of the solutions given by other users in this similar thread.

naturalleftjoin DAX error at-least one common join column 

 

Best Regards,
Community Support Team _ Caitlyn