Answers.Body: <p>You've found a bug! I've confirmed it and reported it here: <a href="https://issues.civicrm.org/jira/browse/CRM-19855" rel="nofollow noreferrer">https://issues.civicrm.org/jira/browse/CRM-19855</a></p>
  
  <p>Most folks don't change the names of the CiviCRM membership statuses, so this has slipped under the radar for a while.  Internally, membership statuses have both a "Name" and a "Label".  The vast majority of the time, they're the same.  In your case, they're different.</p>
  
  <p>The fix for NEW reports is easy - you literally need to change a single word in the report file.  I'll put instructions below.</p>
  
  <p>Since this was so quick, I had intended to write a patch pro-bono to submit to the CiviCRM core team so this could be fixed for everyone - but in testing I found that this change causes the "Membership Status" field to fall off of existing saved reports.  Fixing this properly means writing an upgrade script, which I unfortunately don't have pro-bono time for.</p>
  
  <p>You can fix this on your own copy of CiviCRM, but until this is fixed in the "upstream" software, you'll have to fix it every time you upgrade.</p>
  
  <p>To fix this:</p>
  
  <ul>
  <li><a href="https://civicrm.stackexchange.com/questions/16610/where-is-civicrm-installed">Find CiviCRM</a> on your web server.</li>
  <li>From your CiviCRM root, go to the <code>CRM/Report/Form/Member</code> folder.</li>
  <li>In that folder are the files that control the reports.  Open the file that corresponds to the report you want to change with a text editor.</li>
  <li><p>in the <code>$fields</code> array, you'll find an entry for Membership Status.  It will look something like this:</p>
  
  <pre><code>'civicrm_membership_status' =&gt; array(
    'dao' =&gt; 'CRM_Member_DAO_MembershipStatus',
    'alias' =&gt; 'mem_status',
    'fields' =&gt; array(
      'name' =&gt; array(
        'title' =&gt; ts('Status'),
        'default' =&gt; TRUE,
      ),
    ),
    'filters' =&gt; array(
      'sid' =&gt; array(
        'name' =&gt; 'id',
        'title' =&gt; ts('Status'),
        'type' =&gt; CRM_Utils_Type::T_INT,
        'operatorType' =&gt; CRM_Report_Form::OP_MULTISELECT,
        'options' =&gt; CRM_Member_PseudoConstant::membershipStatus(NULL, NULL, 'label'),
      ),
    ),
    'grouping' =&gt; 'member-fields',
  ),
  </code></pre></li>
  </ul>
  
  <p>Take this line:</p>
  
  <pre><code>'name' =&gt; array(
  </code></pre>
  
  <p>Change "name" to read "label":</p>
  
  <pre><code>'label =&gt; array(
  </code></pre>
  
  <p>This will fix your reports!  Don't forget to re-add the "Status" field to existing saved reports, and don't forget to make this fix on every upgrade until someone steps forward with time or money to fix this.
  UPDATE: For the Membership Contribution report, find this section:</p>
  
  <pre><code>  'civicrm_membership_status' =&gt; array(
      'dao' =&gt; 'CRM_Member_DAO_MembershipStatus',
      'alias' =&gt; 'mem_status',
      'fields' =&gt; array(
        'membership_status_name' =&gt; array(
          'name' =&gt; 'name',
          'title' =&gt; ts('Membership Status'),
          'default' =&gt; TRUE,
        ),  
      ),
  </code></pre>
  
  <p>change:</p>
  
  <pre><code>'name' =&gt; 'name',
  </code></pre>
  
  <p>to</p>
  
  <pre><code>'name' =&gt; 'label',
  </code></pre>
  
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2017-01-11T18:10:08.400Z
Answers.Text: Thank you so much!  This has sorted my issue with most of the member reports.  For 'Contribution and Memberships Detail' report, the file I'm looking at to edit is ContributionDetail.php - do you know what I need to change here please too?
  
      ` 'civicrm_membership_status' => array(
          'dao' => 'CRM_Member_DAO_MembershipStatus',
          'alias' => 'mem_status',
          'fields' => array(
            'membership_status_name' => array(
              'name' => 'name',
              'title' => ts('Membership Status'),
              'default' => TRUE,
            ),`
Answers.UserDisplayName: astroned
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2017-01-12T00:57:51.027Z
Answers.Text: jon does this answer need an edit to make it clear you are refering to Membership Status and not Type
Answers.UserDisplayName: petednz - fuzion
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2017-01-12T01:07:30.843Z
Answers.Text: @petednz-fuzion Done!  Though of course you could have done it yourself :)
Answers.UserDisplayName: Jon G - Megaphone Tech
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2017-01-12T01:23:33.660Z
Answers.Text: @astroned I updated my answer to be clearer on the Contribution Membership Detail report.  If this solved your problem, please be sure to upvote and mark it as "Solved" - it's an easy way to give back to make this site more helpful to others with similar questions!
Answers.UserDisplayName: Jon G - Megaphone Tech
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2017-01-12T01:23:35.077Z
Answers.Text: i wasn't about to presume i was that correct about the error
Answers.UserDisplayName: petednz - fuzion
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2017-01-12T12:27:45.773Z
Answers.Text: Many thanks :-)
  
  Marked as solved. I couldn't add a vote for you 'cos I'm only a newbie, sorry!
Answers.UserDisplayName: astroned
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2017-01-11T08:17:20.530Z
Answers.LastActivityDate: 2017-01-12T01:22:42.873Z
Answers.LastEditDate: 2017-04-13T12:53:13.207Z
Answers.UserDisplayName: Jon G - Megaphone Tech
Body: <p>We customised the names of the membership status rules to better suit our needs.  For example in the membership status rules screen, 'New' was changed to 'New Members' and 'Current' was changed to 'Paid Up.</p>
  
  <p>On the membership dashboard, the revised names for membership status rules show up correctly.  However, when I run membership reports, it's still showing the original names of 'New' and 'Current' in the Membership Status column.  I've run Update Membership Statuses but no change in any of the membership reports.  Am I missing something here?</p>
  
  <p>Thanking you for your time.</p>
  
Tags: <civimember><reports>
Title: Membership report showing different status than membership dashboard
ThreadText: # Membership report showing different status than membership dashboard
  
  (Asked by: username_0 on 2017-01-10)
  
  We customised the names of the membership status rules to better suit our needs. For example in the membership status rules screen, 'New' was changed to 'New Members' and 'Current' was changed to 'Paid Up.
  
  On the membership dashboard, the revised names for membership status rules show up correctly. However, when I run membership reports, it's still showing the original names of 'New' and 'Current' in the Membership Status column. I've run Update Membership Statuses but no change in any of the membership reports. Am I missing something here?
  
  Thanking you for your time.
  
  **Tags:** civimember, reports
  
  
  ---
  
  ## 1 answers
  
  ### Answer by username_1 on 2017-01-11. Score: 2 | Accepted answer
  
  You've found a bug! I've confirmed it and reported it here: <https://issues.civicrm.org/jira/browse/CRM-19855>
  
  Most folks don't change the names of the CiviCRM membership statuses, so this has slipped under the radar for a while. Internally, membership statuses have both a "Name" and a "Label". The vast majority of the time, they're the same. In your case, they're different.
  
  The fix for NEW reports is easy - you literally need to change a single word in the report file. I'll put instructions below.
  
  Since this was so quick, I had intended to write a patch pro-bono to submit to the CiviCRM core team so this could be fixed for everyone - but in testing I found that this change causes the "Membership Status" field to fall off of existing saved reports. Fixing this properly means writing an upgrade script, which I unfortunately don't have pro-bono time for.
  
  You can fix this on your own copy of CiviCRM, but until this is fixed in the "upstream" software, you'll have to fix it every time you upgrade.
  
  To fix this:
  
  * [Find CiviCRM](https://civicrm.stackexchange.com/questions/16610/where-is-civicrm-installed) on your web server.
  * From your CiviCRM root, go to the `CRM/Report/Form/Member` folder.
  * In that folder are the files that control the reports. Open the file that corresponds to the report you want to change with a text editor.
  * in the `$fields` array, you'll find an entry for Membership Status. It will look something like this:
  
    ```
    'civicrm_membership_status' => array(
      'dao' => 'CRM_Member_DAO_MembershipStatus',
      'alias' => 'mem_status',
      'fields' => array(
        'name' => array(
          'title' => ts('Status'),
          'default' => TRUE,
        ),
      ),
      'filters' => array(
        'sid' => array(
          'name' => 'id',
          'title' => ts('Status'),
          'type' => CRM_Utils_Type::T_INT,
          'operatorType' => CRM_Report_Form::OP_MULTISELECT,
          'options' => CRM_Member_PseudoConstant::membershipStatus(NULL, NULL, 'label'),
        ),
      ),
      'grouping' => 'member-fields',
    ),
  
    ```
  
  Take this line:
  
  ```
  'name' => array(
  
  ```
  
  Change "name" to read "label":
  
  ```
  'label => array(
  
  ```
  
  This will fix your reports! Don't forget to re-add the "Status" field to existing saved reports, and don't forget to make this fix on every upgrade until someone steps forward with time or money to fix this.
  UPDATE: For the Membership Contribution report, find this section:
  
  ```
    'civicrm_membership_status' => array(
      'dao' => 'CRM_Member_DAO_MembershipStatus',
      'alias' => 'mem_status',
      'fields' => array(
        'membership_status_name' => array(
          'name' => 'name',
          'title' => ts('Membership Status'),
          'default' => TRUE,
        ),  
      ),
  
  ```
  
  change:
  
  ```
  'name' => 'name',
  
  ```
  
  to
  
  ```
  'name' => 'label',
  
  ```
  
  > **Comments:**
  > **username_0**: Thank you so much!  This has sorted my issue with most of the member reports.  For 'Contribution and Memberships Detail' report, the file I'm looking at to edit is ContributionDetail.php - do you know what I need to change here please too?      ` 'civicrm_membership_status' => array(         'dao' => 'CRM_Member_DAO_MembershipStatus',         'alias' => 'mem_status',         'fields' => array(           'membership_status_name' => array(             'name' => 'name',             'title' => ts('Membership Status'),             'default' => TRUE,           ),`  
  > **username_2**: jon does this answer need an edit to make it clear you are refering to Membership Status and not Type  
  > **username_1**: @username_2 Done!  Though of course you could have done it yourself :)  
  > **username_1**: @username_0 I updated my answer to be clearer on the Contribution Membership Detail report.  If this solved your problem, please be sure to upvote and mark it as "Solved" - it's an easy way to give back to make this site more helpful to others with similar questions!  
  > **username_2**: i wasn't about to presume i was that correct about the error  
  > **username_0**: Many thanks :-)  Marked as solved. I couldn't add a vote for you 'cos I'm only a newbie, sorry!  
  
  ---
  
  