Get certified for free when you join Fabric Data Days 2026 and dive into Fabric, Power BI, SQL, AI, and other essential data skills.
Join nowTry your skills in the Power BI Dataviz World Championship! Round one ends June 26. Join 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
| User | Count |
|---|---|
| 3 | |
| 3 | |
| 2 | |
| 2 | |
| 2 |
| User | Count |
|---|---|
| 11 | |
| 9 | |
| 5 | |
| 5 | |
| 4 |