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
Hello,
i like to know how many members an AD Group has. Therfore i connected via Power Query our AD and read the "group" Table. In the Field group.members are the user informations stored but i dont know how i get transform them to a head count instead of a list field. Can anyone help?
Solved! Go to Solution.
@Anonymous ,
After you pull the group members, then you can use this power query function on the next step. Reference about power query:
https://www.howtoexcel.org/power-query/the-complete-guide-to-power-query/
Community Support Team _ Jimmy Tao
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
@Anonymous ,
You can use power query function List.Count() in your senario.
List.Count(list as list) as number
Please refer to power query reference:
https://docs.microsoft.com/en-us/powerquery-m/list-count
Community Support Team _ Jimmy Tao
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Thanks, but how can i use it? Do i need to transfor the Query in any ways?
@Anonymous ,
After you pull the group members, then you can use this power query function on the next step. Reference about power query:
https://www.howtoexcel.org/power-query/the-complete-guide-to-power-query/
Community Support Team _ Jimmy Tao
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!
| User | Count |
|---|---|
| 41 | |
| 38 | |
| 36 | |
| 30 | |
| 28 |
| User | Count |
|---|---|
| 129 | |
| 88 | |
| 79 | |
| 68 | |
| 63 |