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

Get Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Request now

Reply
manoj_0911
Advocate V
Advocate V

Why is my custom "JoinKey" column showing as Error in Power BI Desktop?

Hi all,

 

I'm trying to create a relationship between two tables in Power BI using a composite key. So I created a JoinKey column by concatenating multiple fields.

Here's what I did in Table 1 (AG2_AGENT_SUBHOUR_V):

But the JoinKey column is showing Error for every row (see screenshot attached).

manoj_0911_0-1746702004125.png

 

Could someone help me understand why this is happening and how to fix it?

 

Thanks in advance!

1 ACCEPTED SOLUTION
manoj_0911
Advocate V
Advocate V

I found a way i think , 

Click Tranform Data, 

  1. duplicate the columns that we want to use for the join
  2. mark the duplicated columns we want to use for the join, choose "Merge columns".

Here is a screenshot:

manoj_0911_0-1746706812009.png

 

 

Repeat this for the 2nd table.

 

Now We'll be able to use this column to create a relationship between both tables

 

Also Don't forget to "hide" this column from report view.

View solution in original post

2 REPLIES 2
manoj_0911
Advocate V
Advocate V

I found a way i think , 

Click Tranform Data, 

  1. duplicate the columns that we want to use for the join
  2. mark the duplicated columns we want to use for the join, choose "Merge columns".

Here is a screenshot:

manoj_0911_0-1746706812009.png

 

 

Repeat this for the 2nd table.

 

Now We'll be able to use this column to create a relationship between both tables

 

Also Don't forget to "hide" this column from report view.

Anonymous
Not applicable

Hi @manoj_0911,

Thanks for reaching out to the Microsoft fabric community forum.

It looks like you were facing issue while creating a relationship between two tables in Power BI using a composite key. As you mentioned you were able to solve your issue and also provided with a workaround, can you please mark the helpful reply as solution so that other community members can find the solution more easily.

 

If I misunderstand your needs or you still have problems on it, please feel free to let us know.  

Best Regards,
Hammad.
Community Support Team

 

If this post helps then please mark it as a solution, so that other members find it more quickly.

Thank you.

Helpful resources

Announcements
November Power BI Update Carousel

Power BI Monthly Update - November 2025

Check out the November 2025 Power BI update to learn about new features.

Fabric Data Days Carousel

Fabric Data Days

Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.

Top Solution Authors