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

Split column with comma delimiter and uneven number of items

Hei!

 

I'm working with a dataset listing technical documents with unique numbers.  A list of reviewers is assigned to each document.  All reviewers are listed in *one field* named "Reviewers" and each name is split by comma.

 

Challenge: each document has a different number of reviewers.  If I split column by comma delimiter, I will end up with anywhere from 1 to 10 columns of names.

 

Goal: Count how many documents are assigned to each reviewer.

 

The dataset looks something like this

 

DocNoDocTitleAreaReviewers
123-XYZData Sheet97Person 1, Person 2, Person 3
456-ROPPlot Plan21Person 2, Person 5
789-LMNI/O List72Person 1, Person 2, Person 6, Person 7
012-SATEquipment List21Person 2, Person 6

 

Aim is to count how many documents Person 2 is responsible for reviewing at every weekly cut-off.

 

Thanks ever so much for your ideas!

 

Cheers.

1 ACCEPTED SOLUTION
AllisonKennedy
Super User
Super User

See if this link will help. https://www.excel-university.com/split-delimited-list-into-rows/

Please @mention me in your reply if you want a response.

Copying DAX from this post? Click here for a hack to quickly replace it with your own table names

Has this post solved your problem? Please Accept as Solution so that others can find it quickly and to let the community know your problem has been solved.
If you found this post helpful, please give Kudos C

I work as a Microsoft trainer and consultant, specialising in Power BI and Power Query.
www.excelwithallison.com

View solution in original post

2 REPLIES 2
AllisonKennedy
Super User
Super User

See if this link will help. https://www.excel-university.com/split-delimited-list-into-rows/

Please @mention me in your reply if you want a response.

Copying DAX from this post? Click here for a hack to quickly replace it with your own table names

Has this post solved your problem? Please Accept as Solution so that others can find it quickly and to let the community know your problem has been solved.
If you found this post helpful, please give Kudos C

I work as a Microsoft trainer and consultant, specialising in Power BI and Power Query.
www.excelwithallison.com

Anonymous
Not applicable

Thanks, @AllisonKennedy   This seems like a great start!

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.