Skip to main content
Community site session details

Community site session details

Session Id :
Finance | Project Operations, Human Resources, ...
Suggested answer

Process report data on batch job

(0) ShareShare
ReportReport
Posted on by

Hi, 

I am current preparing report data on process report method in DP class. 

Contract class takes two parameters, that is "from date" and  "to date".

However, the code take lots of time to process data because multiple data sources are used to prepare data.

If data is processed for large date interval for e.g month than report processing take time and report connection breaks down.

Is there any way i can prepare data before report is run like in a batch job?

This report is run regularly for different date ranges.

Is it optimal to daily process that much data on batch job for report?

  • Suggested answer
    Martin Dráb Profile Picture
    234,712 Most Valuable Professional on at
    RE: Process report data on batch job

    First of all, try to optimize queries, such as joining tables rather then making multiple database request, limiting fields to transfer, reviewing indexes and so on.

    If it doesn't help, you can use pre-proprocessing (see Help prevent long-running reports from timing out).

    And of course, you can also send a report to a batch; it's supported out of the box.

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

News and Announcements

Now Available: 2025 Release Wave 2

Quick Links

Ramesh Kumar – Community Spotlight

We are honored to recognize Ramesh Kumar as our July 2025 Community…

Congratulations to the June Top 10 Community Leaders!

These are the community rock stars!

Announcing the Engage with the Community forum!

This forum is your space to connect, share, and grow!

Leaderboard > Finance | Project Operations, Human Resources, AX, GP, SL

#1
Abhilash Warrier Profile Picture

Abhilash Warrier 565

#2
Martin Dráb Profile Picture

Martin Dráb 536 Most Valuable Professional

#3
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 402 Super User 2025 Season 1

Product updates

Dynamics 365 release plans