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

Calling all Data Engineers! Fabric Data Engineer (Exam DP-700) live sessions are back! Starting October 16th. Sign up.

Reply
Anonymous
Not applicable

Dax Help

Capture.PNG







I have a column in Power Bi with Employee Name which has mix of club employee and fcs employee. 
I want to create 2 new columns : 1. Club Employee 2. Fcs Employee
The name that starts with FCS is all fcs employee and the reamaining are club employee.

1 ACCEPTED SOLUTION
v-xiaotang
Community Support
Community Support

Hi @Anonymous 

Please try this, create a new column

IsFcs = IF(CONTAINSSTRING('Table'[Employee Name],"Fcs"),1,0)

vxiaotang_0-1670378143771.png

Since there is no relationship between Club Employee and Fcs Employee, you need to put them into separate tables

table1 = SELECTCOLUMNS(FILTER('Table','Table'[IsFcs]=1),"Fcs",[Employee Name])

vxiaotang_2-1670378510293.png

table2 = SELECTCOLUMNS(FILTER('Table','Table'[IsFcs]=0),"Club Employee",[Employee Name])

vxiaotang_3-1670378560024.png

 

 

Best Regards,

Community Support Team _Tang

If this post helps, please consider Accept it as the solution to help the other members find it more quickly.

View solution in original post

2 REPLIES 2
v-xiaotang
Community Support
Community Support

Hi @Anonymous 

Please try this, create a new column

IsFcs = IF(CONTAINSSTRING('Table'[Employee Name],"Fcs"),1,0)

vxiaotang_0-1670378143771.png

Since there is no relationship between Club Employee and Fcs Employee, you need to put them into separate tables

table1 = SELECTCOLUMNS(FILTER('Table','Table'[IsFcs]=1),"Fcs",[Employee Name])

vxiaotang_2-1670378510293.png

table2 = SELECTCOLUMNS(FILTER('Table','Table'[IsFcs]=0),"Club Employee",[Employee Name])

vxiaotang_3-1670378560024.png

 

 

Best Regards,

Community Support Team _Tang

If this post helps, please consider Accept it as the solution to help the other members find it more quickly.

Anonymous
Not applicable

@v-xiaotang 

Sir, You're genius. Thank you very much. It worked. 

Helpful resources

Announcements
November Fabric Update Carousel

Fabric Monthly Update - November 2025

Check out the November 2025 Fabric 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.

Users online (25)