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

Announcements

News and Announcements icon
Community site session details

Community site session details

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

Incorrect calculation of Report columns

(0) ShareShare
ReportReport
Posted on by 50

Hi everyone! I had a problem with my report because it was duplicating or tripling the rows. So I made a filter in the row visibility and now it appears as it should. In the field that I have marked in red, the amount of the Units QTY column should be calculated, but the calculation is done incorrectly because the rows that are hidden are also calculated, while I have to calculate only the rows that appear in the report

0537.MicrosoftTeams_2D00_image.png

  • Vaishnavi J Profile Picture
    3,096 on at

    Hi,

    In the Total part what logic you have written in rdl or in your code can you share that?

    In rdl add formula like Sum(Unit of Qty) to get the Sum of the quantity. Refer the below screenshot.

    pastedimage1665682758685v1.png

    Or right a logic in your VS code to calculate the Total qty in lines.

    If my answer was helpful to you, please verify it so that other users know it worked. Thank you very much.

  • Reni Profile Picture
    50 on at

    I did but it also calculate the duplicated lines. I want to calculate only the lines that are shown on report not the hidden ones.

    It calculates the lines on the photo below

    pastedimage1665733588068v1.png

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 July Top 10 Community Leaders

These are the community rock stars!

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

#1
OussamaSabbouh Profile Picture

OussamaSabbouh 566 Super User 2026 Season 2

#2
YUN ZHU Profile Picture

YUN ZHU 347 Super User 2026 Season 2

#3
Grigorios Mavrogeorgis Profile Picture

Grigorios Mavrogeorgis 327 Super User 2026 Season 2

Last 30 days Overall leaderboard

Featured topics

Microsoft Training Manuals

Product updates

Dynamics 365 release plans