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

Join us at FabCon Atlanta from March 16 - 20, 2026, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM. Register now.

Reply
emilypinhasi
Frequent Visitor

creating distinct list from list using dax

hi

im trying to turn a column with comma separeted list, into a distinct list

  • the column looks like a,a,b,c,d,c,a,c 
  • i dont know how many items on the list, can be 0-100
  • im trying to create a new column looking like a,b,c,d
  • using DAX

 

ive tried in few ways but i need some kind of loop that it looks like DAX doesnt have such

ideas?

2 REPLIES 2
v-piga-msft
Resident Rockstar
Resident Rockstar

Hi @emilypinhasi,

 

For your scenario, I'm afraid that DAX may not achieve that. 

 

Why not try in Query Editor?

 

We usually split column with comma in Query Editor.

 

split by comma.PNG

 

If you still need help, please share some data sample as table and your desired output so we could help further on it.

 

Best Regards,

Cherry

Community Support Team _ Cherry Gao
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

thanks for the help

i cant use the query editor cause ive created the column using dax

 

maybe ill describe the bigger problem

i have 3 tables:
teams table: column teamName

epics table: columns: key, teams

stories table: columns: epicKey, team

 

foreach story there is one team

im trying to populate the epics table so foreach key, get all the distinct teams from stories (related with the epicKey)

later i need to use the teamName as slicer to filter through the epics

 

hope this makes sense

 

Helpful resources

Announcements
FabCon Global Hackathon Carousel

FabCon Global Hackathon

Join the Fabric FabCon Global Hackathon—running virtually through Nov 3. Open to all skill levels. $10,000 in prizes!

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.