The ultimate Fabric, Power BI, SQL, and AI community-led learning event. Save €200 with code FABCOMM.
Get registeredEnhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends September 15. Request your voucher.
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.
Solved! Go to Solution.
Hi @Anonymous
Please try this, create a new column
IsFcs = IF(CONTAINSSTRING('Table'[Employee Name],"Fcs"),1,0)
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])
table2 = SELECTCOLUMNS(FILTER('Table','Table'[IsFcs]=0),"Club Employee",[Employee Name])
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.
Hi @Anonymous
Please try this, create a new column
IsFcs = IF(CONTAINSSTRING('Table'[Employee Name],"Fcs"),1,0)
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])
table2 = SELECTCOLUMNS(FILTER('Table','Table'[IsFcs]=0),"Club Employee",[Employee Name])
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.
User | Count |
---|---|
15 | |
12 | |
8 | |
7 | |
7 |
User | Count |
---|---|
24 | |
21 | |
12 | |
10 | |
7 |