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

Announcements

No record found.

News and Announcements icon
Community site session details

Community site session details

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

optimizations to reduce the processing time

(6) ShareShare
ReportReport
Posted on by 188
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
    11,795 Super User 2026 Season 1 on at
    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
  • Verified answer
    Rishabh Kanaskar Profile Picture
    6,225 Super User 2026 Season 1 on at
    Hi,
     
    > Optimize by filtering data as early as possible (using SETFILTER/SETRANGE) and minimizing data iteration inside report triggers.
    > Avoid nested loops where possible, use temporary tables to pre-aggregate data, and leverage FlowFields/Query objects for summations instead of manual calculations.
    > Also, ensure keys on tables match your filters to speed up data retrieval.
     
    Thanks
    Rishabh
  • Verified answer
    Sahan Hasitha Profile Picture
    2,683 on at
    hi
     
    you can use calcsum function to reduce the processing time 
  • Suggested answer
    Nimsara Jayathilaka. Profile Picture
    5,102 Super User 2026 Season 1 on at
    Hi
     
    Replace manual CLE summations with FlowFields or indexed CALCSUMS, and if data volume is very large, build a summary table updated periodically. This will cut runtime drastically.
     
    Thanks
    Nimsara
  • Verified answer
    Gerardo Rentería García Profile Picture
    26,511 Most Valuable Professional on at

    Hi, good day
    I hope this can help you, and give you some hints.

    Report performance - Business Central | Microsoft Learn

    Best Regards
    Gerardo

  • Suggested answer
    Pallavi Phade Profile Picture
    5,570 Super User 2026 Season 1 on at
    Namaste @CU20091458-1
     
    Customer Ledger Entries columns have flowfields coming from Detailed Customer LEdger Entries . Flow fields slows down performance
    Detailed Customer ledger Entries 
     
     
    You can have two approaches i can suggest 
     
    1) Create Query out of report 
    https://www.youtube.com/watch?v=GrAEs1tNFxw - youbtube link in detail 
    2) Create REpot base data item as "dEtailed Customer Ledger Entry" and do summation
     
    Else  verify in telemetry insights
     
    Regards
    Pallavi Phade
     

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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Stars!

Meet the Microsoft Dynamics 365 Contact Center Champions

We are thrilled to have these Champions in our Community!

Congratulations to the April Top 10 Community Leaders

These are the community rock stars!

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

#1
OussamaSabbouh Profile Picture

OussamaSabbouh 1,909 Super User 2026 Season 1

#2
YUN ZHU Profile Picture

YUN ZHU 1,145 Super User 2026 Season 1

#3
AndrewThomas81 Profile Picture

AndrewThomas81 974

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans