Don't miss your chance to take the Fabric Data Engineer (DP-700) exam on us!
Learn moreWe've captured the moments from FabCon & SQLCon that everyone is talking about, and we are bringing them to the community, live and on-demand. Starts on April 14th. Register now
Can anyone help me to show what syntax to be used I. Power query editor to get the count of skills
Solved! Go to Solution.
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.
When you run above list function, you want to change your data to a list first. Then it can return your number.
Use following formula in a custom column
= List.Count(Text.Split([skills],","))
Tried, but not getting exact count of 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.
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-...
Edit - I didn't realize that there is another thread running. You can continue in one thread only. Both threads are not needed.
If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.
A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.
Share feedback directly with Fabric product managers, participate in targeted research studies and influence the Fabric roadmap.
| User | Count |
|---|---|
| 5 | |
| 4 | |
| 3 | |
| 3 | |
| 2 |
| User | Count |
|---|---|
| 8 | |
| 8 | |
| 6 | |
| 6 | |
| 5 |