Don't miss your chance to take the Fabric Data Engineer (DP-600) exam for FREE! Find out how by attending the DP-600 session on April 23rd (pacific time), live or on-demand.
Learn moreNext up in the FabCon + SQLCon recap series: The roadmap for Microsoft SQL and Maximizing Developer experiences in Fabric. All sessions are available on-demand after the live show. Register now
Hi
I want to add a new column in Power Query and count the number of PN in the new column.
I made a result in Excel table. could you teach me how to do it in power Query?
Thanks
Solved! Go to Solution.
Hi @Anonymous
There should be different ways to do it, List.Count or Groupby then join, file attached for your reference
Hi @Anonymous
Sorry, One more question. If I want to get a percentage of the new column, for example it should be 33% in both AA1 and BB1. how should I do on the coding
Hi
Which way is more efficiency if I have huge data set?
Hi @Anonymous
List, buffer the list first
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.
| User | Count |
|---|---|
| 5 | |
| 3 | |
| 3 | |
| 3 | |
| 2 |