Skip to main content

Notifications

Announcements

No record found.

Microsoft Dynamics CRM (Archived)

showing total number of won opportunities grouped by each owner using reports CRM 2016 on prem?

Posted on by 520

Hi

I want report should only display the total count of won opportunities or total actual revenue grouped by owner in CRM 2016 on prem.

Number of records I have is approx 100.

How can I achieve it?

*This post is locked for comments

  • gdas Profile Picture
    gdas 50,085 on at
    RE: showing total number of won opportunities grouped by each owner using reports CRM 2016 on prem?

    Did you tried with the fetchXML which I shared above after update?

  • Suggested answer
    gdas Profile Picture
    gdas 50,085 on at
    RE: showing total number of won opportunities grouped by each owner using reports CRM 2016 on prem?

    There was some single quote in my fetch query , try  now i have replaced with double quote.

  • megha18 Profile Picture
    megha18 520 on at
    RE: showing total number of won opportunities grouped by each owner using reports CRM 2016 on prem?

    Hi Goutam ,

    Thanks for the effort u made,but this script is not working.Also even if I am downloading the fetch xml file and pasting it in the editor still it is giving me the same error.What could be the reason.

    2352.error.png

  • Suggested answer
    gdas Profile Picture
    gdas 50,085 on at
    RE: showing total number of won opportunities grouped by each owner using reports CRM 2016 on prem?

    Here is the FetchXML I build for you , you can use this -

    <fetch version="1.0" output-format="xml-platform" mapping="logical" distinct="false" aggregate="true">
      <entity name="opportunity">
        <attribute name="name" alias="opportunity_count" aggregate="count"/> 
        <attribute name="ownerid" groupby="true" alias="owner"/>
        <attribute name="estimatedvalue_base"  alias="totalamount_sum" aggregate="sum"  />
        <filter type="and">
          <condition attribute="statecode" operator="eq" value="1" />
        </filter>
      </entity>
    </fetch>
  • Suggested answer
    gdas Profile Picture
    gdas 50,085 on at
    RE: showing total number of won opportunities grouped by each owner using reports CRM 2016 on prem?

    Hi Megha ,

    Please have a look below reference  -

    To build fetch XML -

    community.dynamics.com/.../group-by-using-fetchxml

    community.dynamics.com/.../aggregates-and-fetchxml-reports

    Once you build fetch XML , follow below steps to create SSRS report.

    community.dynamics.com/.../ssrs-reports-for-dynamics-365-using-fetchxml

  • megha18 Profile Picture
    megha18 520 on at
    RE: showing total number of won opportunities grouped by each owner using reports CRM 2016 on prem?

    Thanks again Wei Jie Fun,  Can you share any link for this?

  • Suggested answer
    Alex Fun Wei Jie Profile Picture
    Alex Fun Wei Jie 33,626 on at
    RE: showing total number of won opportunities grouped by each owner using reports CRM 2016 on prem?

    Hi,

    if you are using oob report, unfortunately, minimum one column is needed. Else you have to build a custom SSRS.

  • megha18 Profile Picture
    megha18 520 on at
    RE: showing total number of won opportunities grouped by each owner using reports CRM 2016 on prem?

    Hi  Wei Jie Fun,

    Thanku for your prompt solution, can I only display the name of the owners and count only?Like if I dont add topics and actual revenue  as columns system will not allow me as I atleast have to add 1 column.

  • Suggested answer
    gdas Profile Picture
    gdas 50,085 on at
    RE: showing total number of won opportunities grouped by each owner using reports CRM 2016 on prem?

    Hi,

    Please refer below old post  -

    community.dynamics.com/.../68395

  • Verified answer
    Alex Fun Wei Jie Profile Picture
    Alex Fun Wei Jie 33,626 on at
    RE: showing total number of won opportunities grouped by each owner using reports CRM 2016 on prem?

    Hi,

    I am using Report Wizard (OOB report).

    Select Opportunity

    4722.21.PNG

    set the filter to be  status equal won

    1732.19.PNG

    set as below

    8688.20.PNG

    double click owner, and set the Summary type = count

    4722.21.PNG

    Double Click the Actual revenue and set the Summary type = Sum

    3364.23.PNG

    Result

    7673.24.PNG

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

December Spotlight Star - Muhammad Affan

Congratulations to a top community star!

Top 10 leaders for November!

Congratulations to our November super stars!

Tips for Writing Effective Suggested Answers

Best practices for providing successful forum answers ✍️

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 291,280 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 230,214 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans