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 CiviMember (Moderator: Deepak Srivastava) »
  • Find active memberships in a date in the past
Pages: [1]

Author Topic: Find active memberships in a date in the past  (Read 660 times)

xavier

  • Forum Godess / God
  • I’m (like) Lobo ;)
  • *****
  • Posts: 4453
  • Karma: 161
    • Tech To The People
  • CiviCRM version: yes probably
  • CMS version: drupal
Find active memberships in a date in the past
February 10, 2011, 12:51:49 am
Hi,

Wanted to see how many members I had end of last year. All the reports I saw where about the date when they joint.

Is there a way to get the same dashboard view (or any view actually) to see how many active members I had at a specific date ?

(badly need it for reporting)

X+
-Hackathon and data journalism about the European parliament 24-26 jan. Watch out the result

Dave Greenberg

  • Administrator
  • I’m (like) Lobo ;)
  • *****
  • Posts: 5760
  • Karma: 226
    • My CiviCRM Blog
Re: Find active memberships in a date in the past
February 14, 2011, 01:49:13 pm
I don't think there's an existing report or search that can give you that data. You MAY be able to reconstruct the active membership count at a given time using these steps:

* Get count of current active memberships
* Query civicrm_membership_log for all entries between now() and the past date. Group and count by status_id. Then subtract log counts for any NEW statuses (since they were inserted after past date), and add counts for EXPIRED statuses. I think this gets you pretty close.

Going forward, printing off / saving PDF of monthly or quarterly report is a good idea if you need to track this (unless you find the above calc's easy enough to turn into a custom search or new report).
Protect your investment in CiviCRM by  becoming a Member!

Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Using CiviCRM »
  • Using CiviMember (Moderator: Deepak Srivastava) »
  • Find active memberships in a date in the past

This forum was archived on 2017-11-26.