How do you show the number of members in a group using views please?

I had a look at this post bu unfortunately the relationship have changed in drupal og 7.2

How to show the count of members that belong to a group?

Many thanks for your help

1 Answer 1


It's look the same, please follow instructions from image: enter image description here

Full image: https://i.stack.imgur.com/45olm.jpg

  • I don't why but it's still not working 1. I've added "OG membership: OG membership from Node group" 2. added "OG membership: Group User from OG membership" > Relationship "OG membership from node group" 3. (Group user from OG membership) COUNT(DISTINCT User: Uid) (Uid)
    – Charles
    Jul 8, 2014 at 17:11
  • What's shown for you?>
    – Nikit
    Jul 8, 2014 at 23:28
  • All different group show as a count of 1. Even when they have different amount of memebers
    – Charles
    Jul 12, 2014 at 10:27
  • is your views generated SQL code closer to my?
    – Nikit
    Jul 12, 2014 at 11:23

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

Not the answer you're looking for? Browse other questions tagged or ask your own question.