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) »
  • Developer Discussion (Moderator: Donald Lobo) »
  • Need help understanding the membership tables for a query
Pages: [1]

Author Topic: Need help understanding the membership tables for a query  (Read 821 times)

narayanis

  • I post occasionally
  • **
  • Posts: 56
  • Karma: 2
Need help understanding the membership tables for a query
July 14, 2010, 08:07:07 am
I have a need to create a report given a scenario like this:

Out of 40 memberships that expired 30-60 days ago, 32 have renewed and are still current members. The other 8 we've never heard from again or have no interest in renewing. So we have an 80% retention rate (32/40).

Looking at the data, I don't see a way to glean this information. Is there a table I can use to get information on each renewal? The civicrm_membership_payment table is a simple linking table to connect money to the membership, but I don't see where the membership links to a membership transaction for each renewal/upgrade/downgrade. Am I missing a table or is there no way to get this information?  Thanks!

Kurund Jalmi

  • Administrator
  • I’m (like) Lobo ;)
  • *****
  • Posts: 4169
  • Karma: 128
    • CiviCRM
  • CiviCRM version: 4.x, future
  • CMS version: Drupal 7, Joomla 3.x
  • MySQL version: 5.5.x
  • PHP version: 5.4.x
Re: Need help understanding the membership tables for a query
July 19, 2010, 03:39:10 am
I think 'civicrm_membership_log' might give you details about membership history.

Kurund
Found this reply helpful? Support CiviCRM

narayanis

  • I post occasionally
  • **
  • Posts: 56
  • Karma: 2
Re: Need help understanding the membership tables for a query
July 19, 2010, 04:34:05 am
Thank you; I will use this as a start! Are you aware of any plans on the roadmap to enhance CiviMember to record membership transactions as children of a membership record? This would allow much more robust reporting on join/lapse/renew/rejoin/upgrade/downgrade and an easy way to view a patron's membership history.

Kurund Jalmi

  • Administrator
  • I’m (like) Lobo ;)
  • *****
  • Posts: 4169
  • Karma: 128
    • CiviCRM
  • CiviCRM version: 4.x, future
  • CMS version: Drupal 7, Joomla 3.x
  • MySQL version: 5.5.x
  • PHP version: 5.4.x
Re: Need help understanding the membership tables for a query
July 19, 2010, 04:38:10 am
Quote
Are you aware of any plans on the roadmap to enhance CiviMember to record membership transactions as children of a membership record?
Currently there are no plans for this.

Kurund
Found this reply helpful? Support CiviCRM

Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Developer Discussion (Moderator: Donald Lobo) »
  • Need help understanding the membership tables for a query

This forum was archived on 2017-11-26.