Find everything you need to get certified on Fabric—skills challenges, live sessions, exam prep, role guidance, and more.
Get startedGrow your Fabric skills and prepare for the DP-600 certification exam by completing the latest Microsoft Fabric challenge.
I have a column that has two names, like manager's name and supervisor's name, but it hasn't a pattern.
Sometimes the manager's name is the first name, sometimes not. I want to separate these names and have two columns, one for managers and one for supervisors.
Original situation:
Column |
Manager1; Supervisor1 |
Supervisor1; Manager2 |
Manager3; Supervisor1 |
Supervisor2; Manager2 |
Expected Result:
Manager | Supervisor |
Manager1 | Supervisor1 |
Manager2 | Supervisor1 |
Manager3 | Supervisor1 |
Manager2 | Supervisor2 |
Can somebody help me?
Solved! Go to Solution.
Hi @denersena
If you know who is a supervisor or a manager, please prepare another table which has two columns indicating the position title of every person. For example,
Then split the original column by delimiter ";" in the old table.
Add custom steps in the formula bar to get Supervisor and Manager Names list separately.
Then add custom columns to determine whether the Supervisor Name List or Manager Name List contains that person.
After that, remove the first two columns. You will have the result you want. I have attached the demo at bottom. You can download it to see details.
Best Regards,
Community Support Team _ Jing
If this post helps, please Accept it as Solution to help other members find it.
Is there any logic to figure out which is which on each row? Unique text in one of them?
Pat
no, but i know who is a supervisor or a manager
Hi @denersena
If you know who is a supervisor or a manager, please prepare another table which has two columns indicating the position title of every person. For example,
Then split the original column by delimiter ";" in the old table.
Add custom steps in the formula bar to get Supervisor and Manager Names list separately.
Then add custom columns to determine whether the Supervisor Name List or Manager Name List contains that person.
After that, remove the first two columns. You will have the result you want. I have attached the demo at bottom. You can download it to see details.
Best Regards,
Community Support Team _ Jing
If this post helps, please Accept it as Solution to help other members find it.
Join the community in Stockholm for expert Microsoft Fabric learning including a very exciting keynote from Arun Ulag, Corporate Vice President, Azure Data.
Check out the June 2024 Power BI update to learn about new features.
User | Count |
---|---|
39 | |
21 | |
20 | |
13 | |
13 |