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

Announcements

No record found.

News and Announcements icon
Community site session details

Community site session details

Session Id :
Microsoft Dynamics CRM (Archived)

CRM 2015 building an activity report - combining activities.

(0) ShareShare
ReportReport
Posted on by

Would it be possible to build an activities report that includes both the regular appointments as well as any logged as task etc and emails etc?

*This post is locked for comments

I have the same question (0)
  • Verified answer
    Dhaval mistry Profile Picture
    810 on at

    You can develop using out of box CRM Report tool (Report Wizard) or using SSRS you can develop any complex report.

    1. Report Wizard : http://www.dynamics101.com/2014/09/reporting-capabilities-dynamics-crm-2013/
    2. Custom Report using FetchXML: http://blogs.msdn.com/b/crm/archive/2010/10/26/how-to-creating-custom-report-with-microsoft-dynamics-crm-2011-bids-fetch-extension.aspx

    https://dynamicscrmgirl.wordpress.com/2014/06/29/crm-2013-ssrs-report-and-sub-reports/

    1. Custom Report using SQL:  (update you with steps) 

    OR CRM also offer out of box Activity Report. Kindly review if its work for you then you dont  need to develop

    Please mark suggested answer if it resolve or guide you.

  • Songtao Lin Profile Picture
    10 on at

    One SQL statement:

    select b.ActivityCount, Entity.PhysicalName, b.ActivityTypeCode

    from Entity

    join (select ActivityTypeCode, count(ActivityTypeCode) as ActivityCount from ActivityPointer group by ActivityTypeCode) as b on Entity.ObjectTypeCode = b.ActivityTypeCode

    using 'Union' to do:

    select 'All Appointments', Count(*) from Appointment
    Union
    select 'All Tasks', Count(*) from Task
    Union
    select 'All Emails', Count(*) from Email

  • Community Member Profile Picture
    on at

    Where do i stick this SQL statement?

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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Stars!

Congratulations to our 2025 Community Spotlights

Thanks to all of our 2025 Community Spotlight stars!

Leaderboard > 🔒一 Microsoft Dynamics CRM (Archived)

#1
JS-09031509-0 Profile Picture

JS-09031509-0 3

#2
AS-17030037-0 Profile Picture

AS-17030037-0 2

#2
Mark Eckert Profile Picture

Mark Eckert 2

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans