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.

Reply
Anonymous
Not applicable

Concatenate two columns from different tables

Hi, 

 

I am trying to concatenate(distinct) two column from different tables.

I have tried following and other similar expressions: Column  = CONCATENATE(Table1[column], RELATED(Table2[column])) but I am getting same error message (se picture below). 

 

error_message.png

 

 

 

In the picture below you can see what I try to accomplish, and a drawing of the relationship between the tables.

Left is a Power BI table visualisation of the coulmns i want to concatenate and right is the wished result. I have a fact table, and two dimensions. 

help_picture.png

 

Many Thanks

 

 

 

 

2 REPLIES 2
Ashish_Mathur
Super User
Super User

Hi,

You will have to write that as a measure using the CONCATENATEX() function.


Regards,
Ashish Mathur
http://www.ashishmathur.com
https://www.linkedin.com/in/excelenthusiasts/
Anonymous
Not applicable

Hi @Anonymous ,

 

Inorder to achive this you need a relationships between these two tabbles.

 

You can refer this post. May be it is useful.

https://community.powerbi.com/t5/Desktop/how-to-concatenate-two-fields-of-different-data-formats-and/td-p/32338

 

Thanks,

Tejaswi

 

Helpful resources

Announcements
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

Check out the April 2024 Power BI update to learn about new features.

April Fabric Community Update

Fabric Community Update - April 2024

Find out what's new and trending in the Fabric Community.