Skip to main content
Post a question

Notifications

Community site session details
Customer experience | Sales, Customer Insights,...
Answered

CRM Report Wizard - Adding Functions and Counts

Like (0) ShareShare
ReportReport
Posted on 20 Oct 2021 14:57:15 by 15

On the main CRM-Sales User Interface for the Opportunities table, there is the "Run Reports" list of developed reports available to the business users.

I created a new report with the Opportunities entity using the Report Wizard. I was able to add columns, filters, Group filters, Configure Sorting, and add Groupings by key fields.

However, I would like to add a "Count" function within the report to count the number of Organization levels setup within each Opportunity and report only those Opportunity records that have a count greater than 1. I also want to include that number as a column in the report. Essentially I would like the count function to be in the filters, or setup as a separate placeholder in the report, to count the number or organization level records within each Opportunity.

In the Report Wizard there doesn't appear to be an option to include either one of those capabilities.

At this time the work around is to have my users download the report to EXCEL, then add the count function, and use a Pivot table to isolate the Organization level counts.

Is there a way to include a count function in the Report Wizard? Is there a way to add SQL code to calculate counts in a report?

TIA

Randy

  • Verified answer
    Pradeep Rai Profile Picture
    5,487 Super User 2025 Season 1 on 20 Oct 2021 at 17:33:14
    RE: CRM Report Wizard - Adding Functions and Counts

    Hi,

    If i understand it correctly then you want to create report which shows only those records having Org level steup count more than 1 and same count should be appear on report.

    if yes then , please try with below approach:

    1. Create one Rollup Field on Opportunity Entity which will store the related record counts as shown below:

    pastedimage1634751028753v1.png

    2. After this in report add below filter:

    pastedimage1634751069313v2.png
    3. Now in the report we can select required columns along with new rollup field as shown below:

    pastedimage1634751155459v3.png
    Hope this helps.

    Thanks,
    Pradeep.

    Please mark this as VERIFIED. if it helps.

Helpful resources

Quick Links

🌸 Community Spring Festival 2025 Challenge 🌸

WIN Power Platform Community Conference 2025 tickets!

Jonas ”Jones” Melgaard – Community Spotlight

We are honored to recognize Jonas "Jones" Melgaard as our April 2025…

Kudos to the March Top 10 Community Stars!

Thanks for all your good work in the Community!

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 293,757 Super User 2025 Season 1

#2
Martin Dráb Profile Picture

Martin Dráb 232,722 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,158 Moderator

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans
Loading complete