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

Join the Fabric FabCon Global Hackathon—running virtually through Nov 3. Open to all skill levels. $10,000 in prizes! Register now.

Reply
Anonymous
Not applicable

Create column where there is no relationship between 2 tables

I am new to Power BI.  I have 3 tables:  Table A, Table B, and Table C.  Table A and Table B both have a relationship with Table C but do not have a relationship with each other.  I am trying to figure out how to concatenate 2 fields (one from Table A and one from Table B).  

 

Any help would be appreciated.  Thanks!

1 ACCEPTED SOLUTION
v-xicai
Community Support
Community Support

Hi @Anonymous ,

 

According to your description, I create sample data to test the scenario. You can create measure Concatenate in Table A to meet your demand.

 

Concatenate = MAX('Table A'[Text])&"-"&MAX('Table B'[Text])

 

If the Cross filter direction in the relationships which Table A and Table B have with Table C are both Single, return the result like picture below, which concatenate each row value from Table A and Table B.

5.jpg

6.png

While, if there are one or two Both for the Cross filter direction in the relationships which Table A and Table B have with Table C , return the result like picture below, which concatenate only matched row value from Table A and Table B.

 

7.png

 

 

 

 

 

Here is my test pbix: https://qiuyunus-my.sharepoint.com/:u:/g/personal/pbipro_qiuyunus_onmicrosoft_com/EUn5kSNkSoVAh48ErNYcKnMBcNdN45IbIReW0-6s6Q4y4Q?e=vKxJmA

 

Best Regards,

Amy

 

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

View solution in original post

2 REPLIES 2
v-xicai
Community Support
Community Support

Hi @Anonymous ,

 

According to your description, I create sample data to test the scenario. You can create measure Concatenate in Table A to meet your demand.

 

Concatenate = MAX('Table A'[Text])&"-"&MAX('Table B'[Text])

 

If the Cross filter direction in the relationships which Table A and Table B have with Table C are both Single, return the result like picture below, which concatenate each row value from Table A and Table B.

5.jpg

6.png

While, if there are one or two Both for the Cross filter direction in the relationships which Table A and Table B have with Table C , return the result like picture below, which concatenate only matched row value from Table A and Table B.

 

7.png

 

 

 

 

 

Here is my test pbix: https://qiuyunus-my.sharepoint.com/:u:/g/personal/pbipro_qiuyunus_onmicrosoft_com/EUn5kSNkSoVAh48ErNYcKnMBcNdN45IbIReW0-6s6Q4y4Q?e=vKxJmA

 

Best Regards,

Amy

 

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Anonymous
Not applicable

Thank you so much, @v-xicai !  I've been struggling with this for days.

Helpful resources

Announcements
September Power BI Update Carousel

Power BI Monthly Update - September 2025

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

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
Top Kudoed Authors