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 :
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?

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

    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

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 > Finance | Project Operations, Human Resources, AX, GP, SL

#1
Martin Dráb Profile Picture

Martin Dráb 660 Most Valuable Professional

#2
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 512 Super User 2025 Season 2

#3
Sohaib Cheema Profile Picture

Sohaib Cheema 291 User Group Leader

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans