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 :
Customer experience | Sales, Customer Insights,...
Answered

CRM Report Wizard - Adding Functions and Counts

(0) ShareShare
ReportReport
Posted on 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

I have the same question (0)
  • Suggested answer
    CRM-Reports-RJS Profile Picture
    15 on at
    RE: CRM Report Wizard - Adding Functions and Counts

    Thanks, this helps me get started with adding new field name in the Opportunity entity.

    The new field is called "L5CapCount" and is defined as a Field Type "Rollup" and a  Data Type as a "Whole Number".

    Just curious, did you include a Business Rule that determines when to "count" the field that is being searched?

  • Verified answer
    Pradeep Rai Profile Picture
    5,489 Moderator on at
    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.

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…

Mansi Soni – Community Spotlight

We are honored to recognize Mansi Soni as our August 2025 Community…

Congratulations to the July Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Customer experience | Sales, Customer Insights, CRM

#1
DAnny3211 Profile Picture

DAnny3211 134

#2
Daniyal Khaleel Profile Picture

Daniyal Khaleel 132

#3
Abhilash Warrier Profile Picture

Abhilash Warrier 70 Super User 2025 Season 2

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans