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

AL: Variable to Calculate Group Total for each line on page

(0) ShareShare
ReportReport
Posted on by 3,311

Hi Guys

I have page that shows sale order line records, and want to include a total quantity of the order for each line. Total will be repeated for for all lines of a given order as below:

Order No    Line No    Item Qty    Total Qty

10001          1000         A     10       30

10001           2000        B     20       30

10002           1000        A    100      100

Not sure how to achieve this and couldn't find an example in the base app

Thanks

I have the same question (0)
  • Suggested answer
    JAngle Profile Picture
    157 on at

    Pattern here makes sense: https://youtu.be/fXDxAM0ZrvU

    Use the calcsums on the sales line table for the qty. field based on a series of filters for the line.

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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Stars!

Meet the Microsoft Dynamics 365 Contact Center Champions

We are thrilled to have these Champions in our Community!

Congratulations to the April Top 10 Community Leaders

These are the community rock stars!

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

#1
OussamaSabbouh Profile Picture

OussamaSabbouh 2,003 Super User 2026 Season 1

#2
YUN ZHU Profile Picture

YUN ZHU 1,225 Super User 2026 Season 1

#3
AndrewThomas81 Profile Picture

AndrewThomas81 1,192

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans