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...
Unanswered

optimize the performance of this report,

(2) ShareShare
ReportReport
Posted on by 10

I am working on a report that aggregates customer data from the Customer table and the Customer Ledger Entry table. However, the report currently takes a long time to run due to the summation calculations being performed on the Customer Ledger Entry table.

 

I am looking for suggestions on how to optimize the performance of this report, specifically in relation to reducing the time required for the summing operations within the Customer Ledger Entry table.

I have the same question (0)
  • Suggested answer
    Nimsara Jayathilaka. Profile Picture
    2,745 on at
    optimize the performance of this report,
    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
  • Sahan Hasitha Profile Picture
    1,374 on at
    optimize the performance of this report,
    hi
    like this
  • Suggested answer
    Sahan Hasitha Profile Picture
    1,374 on at
    optimize the performance of this report,
    hi
     
    you can use calcsum for calculation 
  • Suggested answer
    Rishabh Kanaskar Profile Picture
    988 on at
    optimize the performance of this report,

    Hi,

    > In addition to FlowFields and queries, check that your Customer Ledger Entry table has proper keys matching your filters (e.g., by Customer No., Posting Date). Add a dedicated key if needed for faster lookups.

    > If you must loop through entries, do it once, store results in a temporary table, and use that table as the data source for the report sections — this avoids repeated CALCFIELDS calls.

    > You can also schedule Adjust Cost – Item Entries and Update Customer Statistics jobs regularly so that calculated values are always up to date and faster to retrieve.

    Thanks
    Rishabh
     
     

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,165

#2
Sohail Ahmed Profile Picture

Sohail Ahmed 2,682 Super User 2025 Season 2

#3
Nimsara Jayathilaka. Profile Picture

Nimsara Jayathilaka. 2,299

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans