web
You’re offline. This is a read only version of the page.
close
Skip to main content
Community site session details

Community site session details

Session Id :
Microsoft Dynamics CRM (Archived)

Duplicate lines issue in Report Wizard's Report

(0) ShareShare
ReportReport
Posted on by 23,577

Hi Guys

I am trying create a report on activities. I have selected Primary Record type as 'Activity' and Related record type as 'Activity Party'

Following are the screenshots:

14352.1.PNG

1602.2.PNG

Following is the query I applied:

4426.3.PNG

There are some custom fields on phone call, which I added as columns in this report

2768.4.PNG

I have just one phone call, but the report shows it as 4 phone calls

5482.5.PNG

Am i doing something wrong, or its a bug?

*This post is locked for comments

I have the same question (0)
  • Verified answer
    Yadnyesh Kuvalekar Profile Picture
    4,102 on at
    RE: Duplicate lines issue in Report Wizard's Report

    Did you try running query in advance find and see how many records you are getting?

    Seems like all the parties involved in phone call activity are returned and hence you might be getting more than one record.

    You can use XRmToolBox to run fetchxml.

  • PS Profile Picture
    23,577 on at
    RE: Duplicate lines issue in Report Wizard's Report

    Advanced find shows me just one call

  • Suggested answer
    Yadnyesh Kuvalekar Profile Picture
    4,102 on at
    RE: Duplicate lines issue in Report Wizard's Report

    Can you paste the fetchxml generated by advanced find?

    Try putting distinct = true in fetchxml.

    <fetch version='1.0' output-format='xml-platform' mapping='logical' distinct='true' >

  • PS Profile Picture
    23,577 on at
    RE: Duplicate lines issue in Report Wizard's Report

    Hi Yadnyesh

    How silly of me :D

    Complete forgot about, activity parties. Was thinking it can be done via Report Wizard.

    I am doing it by Fetch XML now.

    Thanks for your help!

  • Yadnyesh Kuvalekar Profile Picture
    4,102 on at
    RE: Duplicate lines issue in Report Wizard's Report

    No problem.

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Abhilash Warrier – Community Spotlight

We are honored to recognize Abhilash Warrier as our Community Spotlight honoree for…

Leaderboard > 🔒一 Microsoft Dynamics CRM (Archived)

#1
Community Member Profile Picture

Community Member 2

#1
HR-09070029-0 Profile Picture

HR-09070029-0 2

#1
UllrSki Profile Picture

UllrSki 2

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans