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)

Are there limitations with advanced reporting writing via SSRS and FetchXML?

(0) ShareShare
ReportReport
Posted on by

Can someone speak to any limitations with advanced reporting writing (for example: multi level relationships) using FetchXML and SSRS?  We're hearing from the DYnamics community that the data model design has an impact in this area.    

I'm very, very concerned about this given we're "done" and now needing to implement reporting and were told all along from Microsoft that you can "report on anything" using SSRS.

*This post is locked for comments

I have the same question (0)
  • Cyclefitness Profile Picture
    on at

    I've just received this from a vendor: www.kingswaysoft.com/.../Limitations-with-CRM-FetchXML.

    So how can Microsoft continue to pull their "online" lever when such limitations exist?  I'm really confused here.

  • Suggested answer
    razdynamics Profile Picture
    17,308 User Group Leader on at

    Hi Debra

    Yes there is a tradeoff when deciding between on premise crm and online, CRM Online is limited to using FetchXML for building custom report queries, and this is not as powerful or flexible as SQL would be. FetchXML should allow to fullfill most reporting requirements but if you believe it will fall short for your customers reqs another option is to use a Replication Service that will replicate the CRM online Database to a local SQL Server or on Azure allowing to write SQL Statements instead of being limited to FetchXML.

    Best Wishes, Raz

  • Jason M. Cosman Profile Picture
    5,234 Moderator on at

    Hello Debra;

    FetchXML isn't so bad, there are lots of ways to build the queries. I'd recommend taking a peek at my blog post on options to build fetchxml at [View:https://community.dynamics.com/crm/b/cosmanscrmjourney/archive/2016/03/24/options-for-building-fetchxml] .

    I hope this helps some! It also talks about the sql to fetch converter!

  • Brad Sprigg Profile Picture
    985 on at

    You certainly need to rely more on processing in the report itself rather than in the FetchXML/T-SQL layer. Being that custom code is blocked by the reporting sandbox, this can be problematic. I've especially found that aggregates in FetchXML are a little dubious and that grouping and totalling in the report itself is much more reliable. I am also a big fan of using Common Table Expressions in SQL based reports, something that isn't possible with FetchXML, ditto with subqueries.

    In the end the vast majority of custom reports are possible with FetchXML but there are some notable exceptions.

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!

Meet the Microsoft Dynamics 365 Contact Center Champions

We are thrilled to have these Champions in our Community!

Congratulations to the March Top 10 Community Leaders

These are the community rock stars!

Leaderboard > 🔒一 Microsoft Dynamics CRM (Archived)

#1
JS-09031509-0 Profile Picture

JS-09031509-0 3

#2
Mark Eckert Profile Picture

Mark Eckert 2

#2
AS-17030037-0 Profile Picture

AS-17030037-0 2

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans