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

Community site session details

Session Id :
Small and medium business | Business Central, N...
Suggested answer

optimizations to reduce the processing time

(1) ShareShare
ReportReport
Posted on by 10
hi
 

I am currently working on a report that involves customer-led entries, which includes certain summation calculations. However, the report generation process takes an extended amount of time due to the complexity of these calculations.

 

Could you kindly advise on potential solutions or optimizations to reduce the processing time and improve the efficiency of the report generation?

I have the same question (0)
  • Suggested answer
    Sumit Singh Profile Picture
    4,579 on at
    optimizations to reduce the processing time
    Hi,
    Key optimizations for improving report performance in Business Central:
    1. Data Modeling
    • Use SumIndexFields (SIFT) and FlowFields for pre-aggregated totals.
    • Replace loops with Query objects or CALCSUMS for SQL-side aggregation.
    • Use temporary tables for complex grouping.
    2. Indexing
    • Ensure keys match filters and sort order.
    • Add SumIndexFields for frequently summed fields.
    3. Query Design
    • Apply filters early (SETFILTER, SETRANGE) before fetching data.
    • Avoid calculating FlowFields inside loops.
    • Limit dataset size at the source.
    4. Report Layout
    • Include only necessary fields.
    • Avoid deeply nested DataItems; use pre-joined queries or temp tables.
    5. Caching & Incremental Processing
    • Cache reusable totals.
    • For recurring reports, store intermediate results and update incrementally.
    6. Execution
    • Run heavy reports in background sessions.
    • Monitor SQL performance via telemetry or SQL Profiler.
    Please mark "Verified" it it helps

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…

Andrés Arias – Community Spotlight

We are honored to recognize Andrés Arias as our Community Spotlight honoree for…

Leaderboard > Small and medium business | Business Central, NAV, RMS

#1
Sumit Singh Profile Picture

Sumit Singh 3,055

#2
Sohail Ahmed Profile Picture

Sohail Ahmed 2,682 Super User 2025 Season 2

#3
YUN ZHU Profile Picture

YUN ZHU 2,209 Super User 2025 Season 2

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans