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

Level up your Power BI skills this month - build one visual each week and tell better stories with data! Get started

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
April Power BI Update Carousel

Power BI Monthly Update - April 2026

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

Fabric SQL PBI Data Days

Data Days 2026 coming soon!

Sign up to receive a private message when registration opens and key events begin.

New to Fabric survey Carousel

New to Fabric Survey

If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.

Power BI DataViz World Championships carousel

Power BI DataViz World Championships - June 2026

A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.