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) »
  • Use Custom Fields to 'Sort by Column' in Membership Summary Report
Pages: [1]

Author Topic: Use Custom Fields to 'Sort by Column' in Membership Summary Report  (Read 896 times)

Scribbler2099

  • I’m new here
  • *
  • Posts: 25
  • Karma: 0
  • CiviCRM version: 4.4
  • CMS version: Drupal 7.24
  • MySQL version: 5.7
  • PHP version: 5.4.23
Use Custom Fields to 'Sort by Column' in Membership Summary Report
January 28, 2014, 06:26:17 pm
Hey everyone, so my non-profit has a number of delegates who collect member dues.  I would like to be able to run a report that would tell me how many of different membership types each delegate has collected in the last month.  However the only two options for 'sort by column' are 'member since' and 'member type'.  Is there a way to 'sort by column' based on custom fields that I made such as 'delegate' or 'report number'?


tcbirthn

  • I post occasionally
  • **
  • Posts: 33
  • Karma: 0
  • CiviCRM version: 4.6.8
  • CMS version: Wordpress
  • MySQL version: 5.5.37-35.1
  • PHP version: 5.4.29
Re: Use Custom Fields to 'Sort by Column' in Membership Summary Report
July 28, 2014, 11:38:42 am
Bumping for my own knowledge

vmantese

  • I’m new here
  • *
  • Posts: 19
  • Karma: 1
  • CiviCRM version: 4.5.5
  • CMS version: Wordpress 4.1
  • MySQL version: 5.6.21
  • PHP version: 5.6.3
Re: Use Custom Fields to 'Sort by Column' in Membership Summary Report
February 25, 2015, 12:05:37 pm
If you use the variable

protected $_customGroupExtends = array('Individual','Contact')

in the report file (under CRM/Report/Form/*)
then any available custom fields that pertain the the dataset you are extracting will automatically be added to the columns, filters, and sort_by areas of the report. This may add things you don't want but it will include the things you do.


Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Using CiviCRM »
  • Using CiviReport (Moderator: Dave Greenberg) »
  • Use Custom Fields to 'Sort by Column' in Membership Summary Report

This forum was archived on 2017-11-26.