Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

Reply
Anonymous
Not applicable

Power Query - Counting Members of AD Groups

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?

1 ACCEPTED 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.

View solution in original post

3 REPLIES 3
v-yuta-msft
Community Support
Community Support

@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.

 

Anonymous
Not applicable

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.

Helpful resources

Announcements
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

Check out the April 2024 Power BI update to learn about new features.

April Fabric Community Update

Fabric Community Update - April 2024

Find out what's new and trending in the Fabric Community.