Share a way that using sub report to show monthly sales comparison.

  • 2 January 2024
  • 1 reply
  • 44 views

Userlevel 6
Badge +5

Hello,

        Happy New year 2024. Everyone.  Somebody surely did this before. I just wrote down my findings to help others which did not know this.
       Supposing the users would like to compare this month’s sales figure with last month and the same month last year. You can do this like below:

     1,  Designing a sub report which we can group by customer or by items that serve your needs.

     2, Designing a main report below, and put 3 sub reports on a line as below.

       For this month, you can pass @monthstart and @monthend as parameters to subreport.

      For last month, you can pass @monthstart-1 and @monthend-1 as parameters to subreport.

      For last year the same month, you can pass   @monthstart-12 and @monthend-12 as parameters to subreport.

    Then you run the main report, it would displaying three months together for your review. 

        Note, if you would like to export it to excel, you should make the textbox same heigth in sub report carefully. 
         Thank you ,happy 2024.


1 reply

Userlevel 7
Badge

Thank you for sharing this tip with the community @ray20! I have added it to the Community Resource Library 😀 

Reply


About Acumatica ERP system
Acumatica Cloud ERP provides the best business management solution for transforming your company to thrive in the new digital economy. Built on a future-proof platform with open architecture for rapid integrations, scalability, and ease of use, Acumatica delivers unparalleled value to small and midmarket organizations. Connected Business. Delivered.
© 2008 — 2024  Acumatica, Inc. All rights reserved