Forum Discussion

AtchayaP's avatar
AtchayaP
Helper V
4 years ago
Solved

Power query

Can anyone help me to show what syntax to be used I. Power query editor to get the count of skills

  • Use following formula in a custom column

    = List.Count(Text.Split([skills],","))
  • 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.

5 Replies