Skip to main content

Notifications

Small and medium business | Business Central, N...
Unanswered

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

  • Reni Profile Picture
    Reni 50 on at
    RE: Incorrect calculation of Report columns

    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

  • Vaishnavi J Profile Picture
    Vaishnavi J 3,056 on at
    RE: Incorrect calculation of Report columns

    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.

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

News and Announcements

Announcing Category Subscriptions!

Quick Links

December Spotlight Star - Muhammad Affan

Congratulations to a top community star!

Top 10 leaders for November!

Congratulations to our November super stars!

Tips for Writing Effective Verified Answers

Best practices for providing successful forum answers ✍️

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 291,359 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 230,370 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans