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 CiviContribute (Moderator: Donald Lobo) »
  • Finding people who haven't contributed
Pages: [1]

Author Topic: Finding people who haven't contributed  (Read 1420 times)

tonyg

  • Guest
Finding people who haven't contributed
January 16, 2008, 11:40:14 am
Hello. Is it possible to run a search in CiviContribute for every contact who has not given to your organization?

Related question.  Let's say someone gave in 2006 but not in 2007, can I search for this person?

Thanks for the help.

Dave Greenberg

  • Administrator
  • I’m (like) Lobo ;)
  • *****
  • Posts: 5760
  • Karma: 226
    • My CiviCRM Blog
Re: Finding people who haven't contributed
January 16, 2008, 02:04:54 pm
These searches are not possible in 1.9 and prior w/o doing some fancy footwork in a spreadsheet (comparing exports of folks who contributed in x year to those who contributed this year ....). OR you could create a BIRT report which does those queries.

The good news is that we've added a custom search framework which will make it much easier for folks with a bit of tech skills to create searches which do the above... AND one of the sample custom searches we plan on shipping with the release handles the oft-needed LYBNTY (last year but not this year) search. I hope to be making that sample available on the 2.0 sandbox in the next week or so and will blog / announce it when it's up there.
Protect your investment in CiviCRM by  becoming a Member!

tonyg

  • Guest
Re: Finding people who haven't contributed
January 16, 2008, 02:50:33 pm
That is good news and hopefully it wont require that high a level of tech skills. I work for a nonprofit tech support organization and the organizations we implement CiviCRM for definitely don't qualify.  But the LYBNTY search is definitely a great start.

kenlyle

  • I post occasionally
  • **
  • Posts: 116
  • Karma: 7
Re: Finding people who haven't contributed
January 17, 2008, 09:28:27 am
It appears that this query will at least find the people-  Works perfectly in Access:

SELECT civicrm_contact.display_name, Sum(civicrm_contribution.total_amount) AS SumOftotal_amount
FROM civicrm_contact INNER JOIN civicrm_contribution ON civicrm_contact.id = civicrm_contribution.contact_id
GROUP BY civicrm_contact.display_name;

Also works in PHPMyAdmin.

Sorting can be added easily, or done in Access or Excel or PHPMA.

Have fun!
Ken


Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Using CiviCRM »
  • Using CiviContribute (Moderator: Donald Lobo) »
  • Finding people who haven't contributed

This forum was archived on 2017-11-26.