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

Notifications

Announcements

No record found.

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

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Neeraj Kumar – Community Spotlight

We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…

Leaderboard > 🔒一 Microsoft Dynamics CRM (Archived)

#1
SA-08121319-0 Profile Picture

SA-08121319-0 4

#1
Calum MacFarlane Profile Picture

Calum MacFarlane 4

#3
Alex Fun Wei Jie Profile Picture

Alex Fun Wei Jie 2

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans