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 CiviReport (Moderator: Dave Greenberg) »
  • Report to "roll up" individual & household contributions
Pages: [1]

Author Topic: Report to "roll up" individual & household contributions  (Read 3164 times)

kmarkley

  • I post frequently
  • ***
  • Posts: 178
  • Karma: 14
  • CiviCRM version: 4.4.3
  • CMS version: Drupal 7.24
  • MySQL version: 5.1.56
  • PHP version: 5.3.27
Report to "roll up" individual & household contributions
December 28, 2011, 01:09:37 pm
I need a report similar to the "top donors" report (i.e. descending aggregate by type/time/etc) that combines individual and household contributions.

Here's the general idea.  With these contributions:

The Smiths: $100
Jane Smith: $50
Joe Loner: $75
John Doe: $25

I need a report that spits out:

The Smiths: $150
Joe Loner: $75
John and Nancy Doe: $25

Has anyone out there made a custom report that does this?

If not, would anyone else find it useful?  I need it kind of badly, and may end up sponsoring it if it doesn't already exist.
(see http://forum.civicrm.org/index.php/topic,22799.0.html)


Thanks.

kmarkley

  • I post frequently
  • ***
  • Posts: 178
  • Karma: 14
  • CiviCRM version: 4.4.3
  • CMS version: Drupal 7.24
  • MySQL version: 5.1.56
  • PHP version: 5.3.27
Re: Report to "roll up" individual & household contributions
December 28, 2011, 01:22:26 pm
Now that I think of it, it would be even cooler if the user could define the relationship (and direction) to "roll up".

We've never had a household request that their individual donation be listed separately (for example in event programs), but it could happen.  A new relationship of "credit donations to" would fix this problem.

Plus, one could easily report on aggregate donation made by employees of an org, even without using the "on behalf of" functionality.

Also, one could just as easily "roll down".  For instance to report on board giving in a way that includes spouses and households of board members.

SarahG (FountainTribe)

  • Ask me questions
  • ****
  • Posts: 782
  • Karma: 29
  • CiviCRM version: 4.4.7
  • CMS version: Drupal 6, Drupal 7
  • MySQL version: 5.5
  • PHP version: 5.3
Re: Report to "roll up" individual & household contributions
January 11, 2012, 10:50:13 am
I have done something similar ( as a contact tab, not a report)

The roll-up is based on the "permissioned relationship" between the contacts. So I did not create any new custom fields.   If someone has update permission to another contact, then the money is rolled together.  For example, spouses permission in both directions, and parents have permission to their children ( but not the reverse. )
Did I help you? Please donate to the Civi-Make-It-Happen campaign  CiviCRM for mobile devices! 

kmarkley

  • I post frequently
  • ***
  • Posts: 178
  • Karma: 14
  • CiviCRM version: 4.4.3
  • CMS version: Drupal 7.24
  • MySQL version: 5.1.56
  • PHP version: 5.3.27
Re: Report to "roll up" individual & household contributions
January 11, 2012, 11:26:16 am
Thanks for responding.

My need is definitely for a report.  We list all our donors in our playbills etc and currently the manual task of combining contributions into households for the list is an hours-long chore that must be repeated every time.

I probably didn't express myself well.  I don't want or need any custom fields.  I only thought that if combining contributions in a report is based on relationships, one could either use a standard relationship such as households OR create a relationship for just that purpose.  This second possibility is just more flexible if households or employers or parent/child doesn't meet one's use-case.  One could even have several reports based on different relationship criteria -- one for companies by cumulative employee donation, one for households, and one for a new "credit my donation to" relationship.

The issue I see with using permissioned relationships is that sometimes, quite rightly, these are reciprocal.  But for the purposes of generating a report one needs by definition to rollup/combine contributions in one direction only.  Also the permissioning encompasses all relationships and one might not necessarily want to combine contributions on every axis.

I had hoped that there were other folks who needed the same sort of thing, but it is starting to look like we'll need to get a custom report built for us from scratch.

Thanks again.

SarahG (FountainTribe)

  • Ask me questions
  • ****
  • Posts: 782
  • Karma: 29
  • CiviCRM version: 4.4.7
  • CMS version: Drupal 6, Drupal 7
  • MySQL version: 5.5
  • PHP version: 5.3
Re: Report to "roll up" individual & household contributions
January 12, 2012, 11:34:07 am
Just curious - what would be the difference between the new relationship "Credit my donation to"  versus a soft-credit to another contact?
Did I help you? Please donate to the Civi-Make-It-Happen campaign  CiviCRM for mobile devices! 

kmarkley

  • I post frequently
  • ***
  • Posts: 178
  • Karma: 14
  • CiviCRM version: 4.4.3
  • CMS version: Drupal 7.24
  • MySQL version: 5.1.56
  • PHP version: 5.3.27
Re: Report to "roll up" individual & household contributions
January 12, 2012, 12:14:16 pm
This is what I get for posting faster than I think.

My specific need is for a report that combines contributions by household.  But immediately after posting it occurred to me that as long as the logic was based on a relationship, it would be much more flexible to let it be based on any relationship.   That's all I was trying to say.  Doesn't matter what you call a relationship or what other purpose it may or may not serve, one could still run a report that aggregates contributions on that relationship.

Basically, I would like the logic to be:

If contact A has relationship X to contact B, then for the purpose of this report:
    1. Don't include A in the report
    2. Include A's contributions in B's aggregate total


The issues I have with soft credits are 1) it is really hard to enforce proper soft-crediting on every donation and event registration, 2) any soft credit data is 'permanent' in the sense that it is tied directly to the donation (consider the creation or dissolution of a household), and 3) there is still no report that merges soft-credits with hard-credits into one list based on who 'gets credit' for the contribution.

Thanks for the questions.  It is helpful to think this stuff through more clearly.



I am a little surprised that no one else has chimed in with a similar need.  We publish a very simple list of all our supporters in declining aggregate amount and grouped into 'supporter categories'  (e.g. 'friends', 'underwriters', 'patrons', super-stars', etc.)  When checks are mailed in, we are smart enough to log the contribution to a household, set the soft-credit, etc etc.  But trying to retroactively do that for every event registration, online donation, and so on would be even more work than it takes now to manually merge individual contributions into households.

All I'm looking for is a report that lists the right contacts in the right order.

Rick Cunningham

  • I post occasionally
  • **
  • Posts: 49
  • Karma: 3
    • Landings Men's Golf Association
  • CiviCRM version: 4.5.7
  • CMS version: Drupal 7.34
Re: Report to "roll up" individual & household contributions
April 10, 2012, 08:45:37 am
Sorry not to have chimed in earlier - we have a similar need, but not exactly the same.  Some background: We decided not to use households, but to make a new relationship "same household" which is two-way. We then defined our Family Membership to extend to others via the "same household" relationship. Now if two or more people are related this way, and any one of them has a membership, they all have a membership, all but one being "by relationship".

Now when we view a particular person's record, we see their membership(s) but we don't see the contributions from the other members of the household. What we need is a way, other than manually, to immediately see all the contributions this particular person has made, and all the contributions that the "same household" related contacts have made.

We can do it the hard way by clicking on relationships, following the relationships, finding the related contacts, looking to see what contributions they have made, etc.

I believe Sarah said she had done something like this as a tab?? That sounds like exactly what we need!

jpilantrose

  • I’m new here
  • *
  • Posts: 4
  • Karma: 0
  • CiviCRM version: 4.5
  • CMS version: Wordpress
  • MySQL version: 5.5.40-cll
  • PHP version: 5.4.35
Re: Report to "roll up" individual & household contributions
February 19, 2015, 09:18:08 am
I hate to bump this, but it seems like this is an enormous oversight in CiviCRM report functionality. Has anyone come up with a custom report solution for this? Being able to roll the donations up to the relationship makes the relationship functionality actually useful.

Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Using CiviCRM »
  • Using CiviReport (Moderator: Dave Greenberg) »
  • Report to "roll up" individual & household contributions

This forum was archived on 2017-11-26.