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 Core CiviCRM Functions (Moderator: Yashodha Chaku) »
  • Reports shows duplicate contacts but search does not
Pages: [1]

Author Topic: Reports shows duplicate contacts but search does not  (Read 366 times)

biologyben

  • I post occasionally
  • **
  • Posts: 56
  • Karma: 2
  • CiviCRM version: 4.5.3
  • CMS version: Wordpress 4.0
Reports shows duplicate contacts but search does not
November 04, 2014, 09:50:12 am
I recently imported information on a 15 local businesses (all the same name with a store #) and tinkered with the information to get a hang of the system.  On import, it created several duplicates that I was able to merge and now when I search for the businesses by name, I get 15 results - great!

However, when I run a report for the same name and information as the search, I recieve a list with 54, with some businesses duplicated multiple times (up to 6x, most are 4x and some aren't duplicated at all!).  If I click on the each of the duplicated company names for one store in the list, the details are all identical with the same internal civicrm # and each shows the one employee I imported.  Thinking it may be due to multiple relationships made via imports I looked at the contact directly, it shows just one relationship to one individual. Deduping based on name or address shows no duplicates. 

The data looks great everywhere but the report.  Any advice on where to start cleaning this up?

JonGold

  • Ask me questions
  • ****
  • Posts: 638
  • Karma: 81
    • Palante Technology
  • CiviCRM version: 4.1 to the latest
  • CMS version: Drupal 6-7, Wordpress 4.0+
  • PHP version: PHP 5.3-5.5
Re: Reports shows duplicate contacts but search does not
November 04, 2014, 10:55:05 am
Hi Ben,

Could you mention which report you're using?  The issue is likely specific to the report in question.
Sign up to StackExchange and get free expert CiviCRM advice: https://civicrm.org/blogs/colemanw/get-exclusive-access-free-expert-help

biologyben

  • I post occasionally
  • **
  • Posts: 56
  • Karma: 2
  • CiviCRM version: 4.5.3
  • CMS version: Wordpress 4.0
Re: Reports shows duplicate contacts but search does not
November 04, 2014, 10:58:07 am
Yes - of course.  This was a 'contact report' based on 'contact address and phone' - i'm showing email and phone but not addresses, but I believe the result was the same either way.

JonGold

  • Ask me questions
  • ****
  • Posts: 638
  • Karma: 81
    • Palante Technology
  • CiviCRM version: 4.1 to the latest
  • CMS version: Drupal 6-7, Wordpress 4.0+
  • PHP version: PHP 5.3-5.5
Re: Reports shows duplicate contacts but search does not
November 04, 2014, 11:02:35 am
Hmm - there's no report out of the box called "Address and Phone Report" or "Contact Report", so I'm still not sure what the base report is.  Could you please:
* Run the report
* View the source code (Ctrl+U in Firefox)
* Search the source code for: .tpl

Paste that line in here?  It'll look something like:
        <!-- .tpl file invoked: CRM/Report/Form/Contact/Summary.tpl. Call via form.tpl if we have a form in the page. -->
Sign up to StackExchange and get free expert CiviCRM advice: https://civicrm.org/blogs/colemanw/get-exclusive-access-free-expert-help

biologyben

  • I post occasionally
  • **
  • Posts: 56
  • Karma: 2
  • CiviCRM version: 4.5.3
  • CMS version: Wordpress 4.0
Re: Reports shows duplicate contacts but search does not
November 04, 2014, 11:18:54 am
Sorry I forgot that I renamed the report as well as made a copy.  This is the 'Constituent Summary'

<!-- .tpl file invoked: CRM/Report/Form/Contact/Summary.tpl. Call via form.tpl if we have a form in the page. -->
          <form  action="http://bgcparkersburg.org/wp-admin/admin.php?page=CiviCRM&amp;q=civicrm/report/instance/1" method="post" name="Summary" id="Summary" class="CRM_Report_Form_Contact_Summary" >

petednz

  • Forum Godess / God
  • I’m (like) Lobo ;)
  • *****
  • Posts: 4899
  • Karma: 193
    • Fuzion
  • CiviCRM version: 3.x - 4.x
  • CMS version: Drupal 6 and 7
Re: Reports shows duplicate contacts but search does not
November 04, 2014, 11:28:38 am
do you have multiple addresses for the ones that show multiple times?
Sign up to StackExchange and get free expert advice: https://civicrm.org/blogs/colemanw/get-exclusive-access-free-expert-help

pete davis : www.fuzion.co.nz : connect + campaign + communicate

Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Using CiviCRM »
  • Using Core CiviCRM Functions (Moderator: Yashodha Chaku) »
  • Reports shows duplicate contacts but search does not

This forum was archived on 2017-11-26.