Reply
avatar user
Anonymous
Not applicable

count number of instances in a column that contains more than one value in a cell in the same table

I am trying to get from this: 

Project IDProject NameProject Analyst(s)
1Project ABob
2Project BRicky;#Bob
3Project CAnna;#Eric;#Victoria;#Andrew
4Project DAnna;#Eric
5Project EAnna;#Victoria
6Project FVictoria
7Project GAndrew;#Derek
8Project HAndrew;#Victoria;#Bob
9Project IBob

 

To this:

Name of AnalystsNumber of projects
Bob3
Ricky1
Anna3
Eric2
Victoria4
Andrew3
Derek1

 

I've tried doing a calculate distinct count formula but i am not getting the results as shown. I am trying to show this through a bar chart. Any ideas?

1 ACCEPTED SOLUTION
Nathaniel_C
Community Champion
Community Champion

@Anonymous ,

I might try to split those columns in Power Query first. It appears that you have delimiters available. Then rename the columns to PA1, PA2 etc. 


Let me know if you have any questions.

If this solves your issues, please mark it as the solution, so that others can find it easily. Kudos are nice too.
Nathaniel





Did I answer your question? Mark my post as a solution!

Proud to be a Super User!




View solution in original post

1 REPLY 1
Nathaniel_C
Community Champion
Community Champion

@Anonymous ,

I might try to split those columns in Power Query first. It appears that you have delimiters available. Then rename the columns to PA1, PA2 etc. 


Let me know if you have any questions.

If this solves your issues, please mark it as the solution, so that others can find it easily. Kudos are nice too.
Nathaniel





Did I answer your question? Mark my post as a solution!

Proud to be a Super User!




avatar user

Helpful resources

Announcements
March PBI video - carousel

Power BI Monthly Update - March 2025

Check out the March 2025 Power BI update to learn about new features.

March2025 Carousel

Fabric Community Update - March 2025

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

Top Solution Authors (Last Month)
Top Kudoed Authors (Last Month)