CiviCRM Community Forums (archive)

*

News:

Have a question about CiviCRM?
Get it answered quickly at the new
CiviCRM Stack Exchange Q+A site

This forum was archived on 25 November 2017. Learn more.
How to get involved.
What to do if you think you've found a bug.



  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Using CiviCRM »
  • Using Core CiviCRM Functions (Moderator: Yashodha Chaku) »
  • Searching for People who Used to Be Group Members
Pages: [1]

Author Topic: Searching for People who Used to Be Group Members  (Read 711 times)

marktuma

  • I’m new here
  • *
  • Posts: 10
  • Karma: 1
Searching for People who Used to Be Group Members
September 19, 2010, 11:02:13 pm
Hi,

I've searched the forum but I couldn't find anything related to this.  We're just starting to use CiviCRM and today I'll be introducing it to other staff members, so if anyone can answer this question in a hurry that might save my bacon in a small way!

I see that if I remove someone from a group that CiviCRM tracks this - old group membership is still shown in the contacts details.  I'd like to be able to get CiviCRM to give me all the people who used to be members of "Group X", but I can't see a way to search for that.  Can anyone tell me where to look please?

Even better would be the ability to ask CiviCRM for everyone who left "Group X" between a pair of dates.  Is this possible?

Thanks,
Mark

marktuma

  • I’m new here
  • *
  • Posts: 10
  • Karma: 1
Re: Searching for People who Used to Be Group Members
September 19, 2010, 11:10:16 pm
Ignore me, I've just found it!

For anyone who doesn't already know the answer this is the search criteria that got me the result I wanted:
Code: [Select]
Contacts IN Test Mailing Group ...AND...
Group Status - 'Added' or 'Removed'

Thanks for looking,
Mark

marktuma

  • I’m new here
  • *
  • Posts: 10
  • Karma: 1
Re: Searching for People who Used to Be Group Members
September 19, 2010, 11:16:48 pm
This must look bad - talking to myself, lol...

But, whilst I can get a straight list of people who used to be in a mailing group I can't see anyway to combine it with other criteria.  Is this something I'd need to create a custom search for?  There doesn't seem to be anyway to add
Code: [Select]
Group Status - 'Removed' to Search Builder

Thanks,
Mark

Erik Hommel

  • Forum Godess / God
  • I live on this forum
  • *****
  • Posts: 1773
  • Karma: 59
    • EE-atWork
  • CiviCRM version: all sorts
  • CMS version: Drupal
  • MySQL version: Ubuntu's latest LTS version
  • PHP version: Ubuntu's latest LTS version
Re: Searching for People who Used to Be Group Members
September 19, 2010, 11:24:09 pm
Don worry Mark, we all talk to ourselves regularly..... ;)
Erik
Consultant/project manager at EEatWork and CiviCooP (http://www.civicoop.org/)

Donald Lobo

  • Administrator
  • I’m (like) Lobo ;)
  • *****
  • Posts: 15963
  • Karma: 470
    • CiviCRM site
  • CiviCRM version: 4.2+
  • CMS version: Drupal 7, Joomla 2.5+
  • MySQL version: 5.5.x
  • PHP version: 5.4.x
Re: Searching for People who Used to Be Group Members
September 20, 2010, 04:20:07 am

you can create a smart group with all the members who are "removed" from a group

use this smart group in your other queries

lobo
A new CiviCRM Q&A resource needs YOUR help to get started. Visit our StackExchange proposed site, sign up and vote on 5 questions

marktuma

  • I’m new here
  • *
  • Posts: 10
  • Karma: 1
Re: Searching for People who Used to Be Group Members
September 20, 2010, 06:37:47 am
Excellent, thanks Donald

Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Using CiviCRM »
  • Using Core CiviCRM Functions (Moderator: Yashodha Chaku) »
  • Searching for People who Used to Be Group Members

This forum was archived on 2017-11-26.