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
dancarr22
Helper V
Helper V

Create subtable based on comma separated value in main table

Hello,

 

We are connecting to Dynamics 365 and - in several tables - we have multiselect pick lists.  i.e. When we enter a contact we can select multiple values of the 'contact type' for a given contact - example in table below.  John Smith is both a Salesperson and an Account Manager.

This contact field is displayed as a comma separated value in PBI table.  How can we break this out to display as a separate table?  We'd also want to have the contact name so can join back to main Contact table.  (In reality would use key/ID fields instead of name - thisis just for the example).

Appreciate any help you can provide.

 

 

Thanks,

Dan


PBI_Dynamics_CommaSeparated.PNG

1 ACCEPTED SOLUTION
HotChilli
Community Champion
Community Champion

Split the 'Contact Type' column on ','

Select the 'Contact Name' and Address columns.

Go to the Transform Menu.

Select 'Unpivot-> Unpivot other columns'

Tidy up the data

View solution in original post

2 REPLIES 2
HotChilli
Community Champion
Community Champion

Split the 'Contact Type' column on ','

Select the 'Contact Name' and Address columns.

Go to the Transform Menu.

Select 'Unpivot-> Unpivot other columns'

Tidy up the data

Thanks!  That worked exactly as needed!

Greatly appreciate your assistance.

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.

Top Solution Authors