Forum Discussion
Power query
- 4 years ago
Use following formula in a custom column
= List.Count(Text.Split([skills],",")) - 4 years ago
Hi AtchayaP ,
Do your cells contain duplicate or empty skills? If so, please try this formula to see if it returns the correct result.
= List.Count(List.RemoveItems( List.Distinct( Text.Split([skills],",")), {null,""," "} ))If the problem is still not resolved, please provide detailed error information or the expected result you expect. Let me know immediately, looking forward to your reply.
Best Regards,
Winniz
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Use following formula in a custom column
= List.Count(Text.Split([skills],","))- AtchayaP4 years ago
Helper V
Tried, but not getting exact count of skills
- Vijay_A_Verma4 years ago
Most Valuable Professional
Please post your data. Refer to this - How to provide sample data in the Power BI Forum - https://community.powerbi.com/t5/Community-Blog/How-to-provide-sample-data-in-the-Power-BI-Forum/ba-p/963216
Edit - I didn't realize that there is another thread running. You can continue in one thread only. Both threads are not needed.
- v-kkf-msft4 years ago
Community Support
Hi AtchayaP ,
Do your cells contain duplicate or empty skills? If so, please try this formula to see if it returns the correct result.
= List.Count(List.RemoveItems( List.Distinct( Text.Split([skills],",")), {null,""," "} ))If the problem is still not resolved, please provide detailed error information or the expected result you expect. Let me know immediately, looking forward to your reply.
Best Regards,
Winniz
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.