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 AX (Archived)

How to improve performance of SSRS report

(0) ShareShare
ReportReport
Posted on by

what are steps we have to follow in improving  performance of SSRS report

*This post is locked for comments

I have the same question (0)
  • Martin Dráb Profile Picture
    237,801 Most Valuable Professional on at

    First of all, you have to identify which part is slow, so you know what to fix. Trace Parser tool will help you with code in AX; ExecutionLog views in report server database will give you overview of the report itself (including time needed to render the report, for example).

  • Mea_ Profile Picture
    60,284 on at

    Hi Jegan,

    There is a good blog series from perf team on SSRS report performance, maybe it will help you

    blogs.msdn.microsoft.com/.../improving-ssrs-report-performance-using-new-r3-features-part-6

  • Suggested answer
    Vilmos Kintera Profile Picture
    46,149 on at

    You might want to make sure that your AX database is healthy, such as you have satisfactory index and statistics maintenance, you have no SQL Server memory pressure, SQL Trace flags recommended for AX are set, you have enough TempDB files, etc. They could all be found in my below summary post and the external links:

    www.daxrunbase.com/.../ax-database-tuning-and-maintenance

    Once you establish that your database and SQL server are healthy, you could move on to identify what is slow from a data, and code perspective by doing a Trace as suggested by Martin.

    If you have identified your SQL statements are wrong, or you have bad query plans, you could try to take a look at included fields in a Query (should not be set as Dynamic if you do not use all), check if you have enough covering indexes. Capture an SQL Server Profiler trace and validate the Execution plans to identify index scans, or too large joins.

  • Jegan Profile Picture
    on at

    I am using the query class for improving the performance for the report.But currently i am using the multiple join and less number of selection fields retrieve from the query. how can i do it using map.

    Here i want to pass it.

    Query:Insert_recordset(temp table, map, query);

    if one table means i can use below link,

    https://blogs.msdn.microsoft.com/axperf/2014/05/06/improving-ssrs-report-performance-using-new-r3-features-part-6/

    but multiple joins means how can i do it.

    Thanks in Advance.

  • Jegan Profile Picture
    on at

    I'm using Query Class( Not AOT query) with multiple table(with specific fields) joins. Here i want to set DYNAMIC propery to NO. How to do it by using X++ Code.

    My Error: Please set dynamic property on each Query datasource field list to No.

  • Suggested answer
    Vilmos Kintera Profile Picture
    46,149 on at

    You could set the dynamic property, and also there is a clearFieldList() method that you could use to remove what is returned, and add the fields which you do need.

    Here you go:

    theaxapta.blogspot.hu/.../sample-union-query-from-ax-2009.html

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 AX (Archived)

#1
Martin Dráb Profile Picture

Martin Dráb 4 Most Valuable Professional

#1
Priya_K Profile Picture

Priya_K 4

#3
MyDynamicsNAV Profile Picture

MyDynamicsNAV 2

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans