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

Get Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Learn more

Reply
Jayfemi
Helper I
Helper I

DAX

Hi am looking to to create a calculated column and measure looking at the amount of times a name appears and then get a count.

i.e. "derek" but the area i am struggling with is where multiple names occour in one cell i.e. " Josh Greg Jamie Susan" is there anyway to have a dax formual look into a colunm and pick out each individual occourance and count it?

1 ACCEPTED SOLUTION
Eric_Zhang
Microsoft Employee
Microsoft Employee


@Jayfemi wrote:

Hi am looking to to create a calculated column and measure looking at the amount of times a name appears and then get a count.

i.e. "derek" but the area i am struggling with is where multiple names occour in one cell i.e. " Josh Greg Jamie Susan" is there anyway to have a dax formual look into a colunm and pick out each individual occourance and count it?


@Jayfemi

Not in DAX, but in Power Query, you shall re-model your data by split and unpivot.

 

spilt&unpivot.gif

View solution in original post

2 REPLIES 2
Eric_Zhang
Microsoft Employee
Microsoft Employee


@Jayfemi wrote:

Hi am looking to to create a calculated column and measure looking at the amount of times a name appears and then get a count.

i.e. "derek" but the area i am struggling with is where multiple names occour in one cell i.e. " Josh Greg Jamie Susan" is there anyway to have a dax formual look into a colunm and pick out each individual occourance and count it?


@Jayfemi

Not in DAX, but in Power Query, you shall re-model your data by split and unpivot.

 

spilt&unpivot.gif

Abduvali
Skilled Sharer
Skilled Sharer

Hi @Jayfemi,

Just drag and drop the names and do a count on them:

Capture30.PNG

 

Regards

Abduvali

Helpful resources

Announcements
Fabric Data Days Carousel

Fabric Data Days

Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!

October Power BI Update Carousel

Power BI Monthly Update - October 2025

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

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.

Top Solution Authors