Join us at FabCon Atlanta from March 16 - 20, 2026, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.
Register now!Get Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Request now
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).
Could someone help me understand why this is happening and how to fix it?
Thanks in advance!
Solved! Go to Solution.
I found a way i think ,
Click Tranform Data,
Here is a screenshot:
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.
I found a way i think ,
Click Tranform Data,
Here is a screenshot:
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.
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.
Check out the November 2025 Power BI update to learn about new features.
Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!
| User | Count |
|---|---|
| 103 | |
| 80 | |
| 63 | |
| 50 | |
| 45 |