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...
Suggested Answer

issue on report

(0) ShareShare
ReportReport
Posted on by 70

my custom report gives 2 copies of the invoice, the first one is correct but the second one has the invoice total, subtotal doubled

could anyone please help me on this ASAP .

comparing the subtotal from the 1st copy to the second copy its getting doubled , someone please help me on this !!!

Thanks in advance .

Regards,
Yathish

  • sVerme Profile Picture
    120 on at

    Probably something wrong with the calculation in the dataset.

    We need more information / code to help.

  • Suggested answer
    Nitin Verma Profile Picture
    21,812 Moderator on at

    Hi,

    You have to clear your Subtotal variable before you are creating your second copy of the report.

    Thanks.

  • Yathish JR Profile Picture
    70 on at

    subtotal has only caption and reference , no particular variable is defined in the code . i searched for it

    SubtotalCaptionLbl: Label 'Subtotal:';

    column(SubtotalCaption; SubtotalCaptionLbl)

                           {

                           }

    only these 2 lines come .

    Thanks.

  • Suggested answer
    Nitin Verma Profile Picture
    21,812 Moderator on at

    Apart from label, I meant how it calculating the values, also you need to clear that values before creating the second copy of the report.

  • Yathish JR Profile Picture
    70 on at

    when i searched for subtotal in my code , only those 2 lines are coming i dont know where its is getting calculated , Its not there

  • Suggested answer
    IB-29041624-0 Profile Picture
    1,191 Moderator on at

    The variable you got the sum in can have a different name. So i think you need to share the comple al code for your report.

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

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Women in Power Builds Momentum

Expanding mentorship, skilling, and AI innovation

Congratulations to the August Top 10 Community Leaders

These are the community rock stars!

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

#1
OussamaSabbouh Profile Picture

OussamaSabbouh 715 Super User 2026 Season 2

#2
YUN ZHU Profile Picture

YUN ZHU 452 Super User 2026 Season 2

#3
AndrewThomas81 Profile Picture

AndrewThomas81 371 Super User 2026 Season 2

Last 30 days Overall leaderboard

Featured topics

Microsoft Training Manuals

Product updates

Dynamics 365 release plans