Join us at FabCon Atlanta from March 16 - 20, 2026, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.
Register now!The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more
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 @Vera_33
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
The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!
| User | Count |
|---|---|
| 19 | |
| 10 | |
| 9 | |
| 7 | |
| 6 |