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

View all the Fabric Data Days sessions on demand. View schedule

Reply
Anonymous
Not applicable

Group Sales people names from one column by creating new column with labels

I have about 100 salespeople in one column, I have to group them into new column by label them "MFG" and "FSI" 

What is the most effective way to do this? Use DAX? 

Creating a conditional column is tedious in this case.  

1 ACCEPTED SOLUTION
amitchandak
Super User
Super User

@Anonymous , You have to create conditional column using if ow switch - https://www.youtube.com/watch?v=gelJWktlR80

 

also refer: https://www.daxpatterns.com/static-segmentation/
https://www.poweredsolutions.co/2020/01/11/dax-vs-power-query-static-segmentation-in-power-bi-dax-power-query/

Share with Power BI Enthusiasts: Full Power BI Video (20 Hours) YouTube
Microsoft Fabric Series 60+ Videos YouTube
Microsoft Fabric Hindi End to End YouTube

View solution in original post

2 REPLIES 2
Anonymous
Not applicable

@amitchandak  many thanks for the quick solution. It solved my main problem. However, one issue remains. 
In this column, I have 100 sales people, where 10 belong to "MFG", another 10 belong to "FSI" and rest of 80 sales people belong to "General". 
For the MFG and FSI grouping, I used your instruction on youtube and it worked well. 
but for the rest of 80 people, is there any expression to group them using minimal formula. Want to avoid putting 80 names in this expression 🙂 Thanks


amitchandak
Super User
Super User

@Anonymous , You have to create conditional column using if ow switch - https://www.youtube.com/watch?v=gelJWktlR80

 

also refer: https://www.daxpatterns.com/static-segmentation/
https://www.poweredsolutions.co/2020/01/11/dax-vs-power-query-static-segmentation-in-power-bi-dax-power-query/

Share with Power BI Enthusiasts: Full Power BI Video (20 Hours) YouTube
Microsoft Fabric Series 60+ Videos YouTube
Microsoft Fabric Hindi End to End YouTube

Helpful resources

Announcements
November Power BI Update Carousel

Power BI Monthly Update - November 2025

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

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!

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
Top Kudoed Authors