cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Kiran_yed Frequent Visitor
Frequent Visitor

Power BI DAX Join error

Trying to join two tables based on a column name 'User_Id'.  'User_Id' column is present in both the tables for join purpose, but why is the below error coming? This error is same with NATURAL LEFT OUTER Join and NATURAL INNER JOIN.. Capture.PNG

Please Help! 

 

Thanks,

Kiran

2 REPLIES 2
Super User
Super User

Re: Power BI DAX Join error

Right, so oddly enough you can't have columns with the same names when joining tables in DAX. You usually use something like SELECTCOLUMNS to not change the names of the columns (trust me, it doesn't make sense but it works). This is explained very well in @Phil_Seamark 's book, Beginning DAX with Power BI on pages 118-121.


I have book! Learn Power BI from Packt


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

Proud to be a Datanaut!

Kiran_yed Frequent Visitor
Frequent Visitor

Re: Power BI DAX Join error

Thanks Greg, But can you tell me how does NATURALINNERJOIN work in my situation. what's the use of NATURALINNERJOIN and NATURAL LEFT OUTER JOIN, 

my sample table schema:

Table1: Partner_ID, User_Id

Table2: User_Id, User_Name,UserEmailId

can you please tell me how to inner join these two tables on User_Id?

 

 

Thanks in advance


@Greg_Deckler wrote:

Right, so oddly enough you can't have columns with the same names when joining tables in DAX. You usually use something like SELECTCOLUMNS to not change the names of the columns (trust me, it doesn't make sense but it works). This is explained very well in @Phil_Seamark 's book, Beginning DAX with Power BI on pages 118-121.


 

Helpful resources

Announcements
Ask Amir Anything

Exclusive LIVE Community Event No. 2 – Ask Amir Anything

Next in our Triple A series: Ask Amir Netz questions about the latest updates, features and future.

Ask Amanda Anything Q&A

Ask Amanda Anything Q&A

Learn the answers to some of the questions asked during the Amanda Triple A event.

October 2019 Community Highlights

October 2019 Community Highlights

October was a busy month in the community. Read the recap article to learn about some of the events and content.

New Solution Badges

New Solution Badges

Two waves of brand new solution badges are coming! Read the article for more information on our new community badges.

Users Online
Currently online: 6 members 2,740 guests
Please welcome our newest community members: