Skip to main content

Notifications

Announcements

No record found.

Business Central forum
Unanswered

Incorrect calculation of Report columns

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

Quick Links

Anton Venter – Community Spotlight

Kudos to our October Community Star of the month!

Announcing Our 2024 Season 2 Super Users!

A new season of Super Users has arrived, and we are so grateful for the daily…

Dynamics 365 Community Newsletter - September 2024

Check out the latest community news

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 290,537 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 228,520 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,148

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans