Hello,
New to SWQL and having trouble with the COUNT function. I have 200 custom groups that have various number of members. I am looking to create a table that contains the name (can do), custom properties (can do), and the count of elements within the specific group (where the trouble begins). Here is what I have so far:
SELECT TOP 1000 c.ContainerID, c.CustomProperties.GroupCity, c.CustomProperties.GroupState, COUNT(c.Members.DisplayName) AS DisplayNameCount
FROM Orion.Container c
If I remove the COUNT statement, it runs with all of my other data.
Once I get this, my next job will be to perform counts using various filters on the DisplayName....but one step at a time....
Any help is appreciated.