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

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more

Reply
Bokbob
Helper I
Helper I

making relation between tables when reference column values in other table are appended with comma

Hi All, I have 2 tables one is with list of all contacts and other is the events table where it will reference one or more contacts as attendees.

 

And in the events table multiple contacts are stored in single column with comma appended to the names. (i wont have any contact ID stored in events table except their names unfortunatly)

 

For my report i need have a contact filter where they should be able to select a contact and look at any events they participated in.

 

How would i link/have a relation between these 2 tables when the values are multiple/dynamic in events table.

 

Please help me.

 

3 REPLIES 3
v-yuta-msft
Community Support
Community Support

Hi Bokbob,

 

I have made a sample data with table ‘Contacts’ and table ‘Events’ based on your description like below:

11.PNG

1.PNG

To make relationship between them based on column [Contacts], click Edit Queries-> table ‘Events’ -> Transform -> Split Column by Delimiter like below:

2.PNG

3.PNG

The result is like below and then you can create a relationship between the two tables based on ‘Contacts’[Contacts] and ‘Events’[Contacts.1].

4.PNG

 

Regards,

Jimmy Tao

hi Jimmy, I appriciate your reply.

 

 

Please see my sample data. 

 

sample 2.PNGsample 1.PNG

 

So how to have a relation between these 2 tables based on the names in the first image as names could be more than 1 and can be any in number appended with ','

 

Please help.

 

Ashish_Mathur
Super User
Super User

Hi,

 

Share some data and show the expected result.


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

Helpful resources

Announcements
Power BI DataViz World Championships

Power BI Dataviz World Championships

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!

December 2025 Power BI Update Carousel

Power BI Monthly Update - December 2025

Check out the December 2025 Power BI Holiday Recap!

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.