Skip to main content

Notifications

Announcements

No record found.

Microsoft Dynamics CRM (Archived)

How to handle SSRS reports which will take long time in CRM

Posted on by 884

          We have a relatively simple report setup in SSRS ,Report has worked fine but It takes (a) longer time to open.Like, 10-15 minutes to generate the report
I can set multiple sub report in Main Report as per our requirement.
Please help

*This post is locked for comments

  • Community Member Profile Picture
    Community Member Microsoft Employee on at
    RE: How to handle SSRS reports which will take long time in CRM

    Is your link type  = outer necessary to get your requirements.

    Try like this:

    <fetch version="1.0" output-format="xml-platform" mapping="logical" distinct="false">

    <entity name="opportunity"  >

      <attribute name="name" />

    <attribute name="opportunityid" />

      <attribute name="customerid" />

      <attribute name="estimatedvalue" />

     <attribute name="estimatedclosedate" />

      <attribute name="statuscode" />

      <attribute name="new_mostrecentreview" />

      <order attribute="name" descending="false" />

    <filter type="and">

        <condition attribute="statecode" operator="in">

          <value>0</value>

          <value>1</value>

        </condition>

    <condition attribute="opportunityid" operator="eq" value="@Opportunity" />

      </filter>

      <link-entity name="new_review" from="new_reviewid" to="new_mostrecentreview"  link-type="outer" alias="MRR">

        <attribute name="new_reviewid" />

        <attribute name="new_score" />

    <attribute name="new_reviewdate" />

    </link-entity>

    </entity>

    </fetch>

  • CRM Develope Profile Picture
    CRM Develope 884 on at
    RE: How to handle SSRS reports which will take long time in CRM

    Thanks David

    CRM Online

    Code here :-

    <fetch version="1.0" output-format="xml-platform" mapping="logical" distinct="false">

     <entity name="opportunity"  >

       <attribute name="name" />

    <attribute name="opportunityid" />

       <attribute name="customerid" />

       <attribute name="estimatedvalue" />

      <attribute name="estimatedclosedate" />

       <attribute name="statuscode" />

       <attribute name="new_mostrecentreview" />

       <order attribute="name" descending="false" />

    <filter type="and">

         <condition attribute="statecode" operator="in">

           <value>0</value>

           <value>1</value>

         </condition>

       </filter>

    <filter type="and">

         <condition attribute="opportunityid" operator="eq" value="@Opportunity" />

    </filter>

       <link-entity name="new_review" from="new_reviewid" to="new_mostrecentreview"  link-type="outer" alias="MRR">

         <attribute name="new_reviewid" />

         <attribute name="new_score" />

    <attribute name="new_reviewdate" />

    </link-entity>

     </entity>

    </fetch>

  • Suggested answer
    Jason M. Cosman Profile Picture
    Jason M. Cosman 5,234 on at
    RE: How to handle SSRS reports which will take long time in CRM

    Hello;

    The other thing that can be done is to setup these to pre-generate so you load from last loaded report. Have it as a scheduled report; this would stop this long load time; it just depends on how up to date you need the data.

  • David Jennaway Profile Picture
    David Jennaway 14,063 on at
    RE: How to handle SSRS reports which will take long time in CRM

    Is this CRM Online or OnPremise ? If it's OnPremise then I'd check the SQL query and see if that can be optimised by adding any indexes

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

December Spotlight Star - Muhammad Affan

Congratulations to a top community star!

Top 10 leaders for November!

Congratulations to our November super stars!

Tips for Writing Effective Suggested Answers

Best practices for providing successful forum answers ✍️

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 291,253 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 230,188 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans