Answers.Body: <p>In the past when I have tried doing this sort of thing I have had to use a Drupal module. </p>
  
  <p>Maybe try this module:
  <a href="https://www.drupal.org/project/views_aggregator" rel="nofollow noreferrer">https://www.drupal.org/project/views_aggregator</a></p>
  
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2016-12-05T17:37:45.843Z
Answers.LastActivityDate: 2016-12-05T17:37:45.843Z
Answers.UserDisplayName: Sleewok
Body: <p>I was able to create Drupal Views that nicely lists Organization with their related individuals. It worked with both approaches with CiviCRM Relationships as well as CiviCRM Contacts as base view. Once you have this, it would seem simple then to switch on Aggregation and then count the contacts, but no. I tried what I could but with both approaches it returned illogically unexpected results. </p>
  
  <p>Anyone successfully made a view to that can list Organizations with the number of their related Individuals? I would appreciate if you could share your experience. </p>
  
Tags: <drupal-views><relationships>
Title: Drupal views: How to aggregate CivCRM Relationships?
ThreadText: # Drupal views: How to aggregate CivCRM Relationships?
  
  (Asked by: username_0 on 2016-12-02)
  
  I was able to create Drupal Views that nicely lists Organization with their related individuals. It worked with both approaches with CiviCRM Relationships as well as CiviCRM Contacts as base view. Once you have this, it would seem simple then to switch on Aggregation and then count the contacts, but no. I tried what I could but with both approaches it returned illogically unexpected results.
  
  Anyone successfully made a view to that can list Organizations with the number of their related Individuals? I would appreciate if you could share your experience.
  
  **Tags:** drupal-views, relationships
  
  
  ---
  
  ## 1 answers
  
  ### Answer by username_1 on 2016-12-05. Score: 1
  
  In the past when I have tried doing this sort of thing I have had to use a Drupal module.
  
  Maybe try this module:
  <https://www.drupal.org/project/views_aggregator>
  
  
  ---
  
  