Announcements
Hi, I have a sales header table which contains many sales order. each sales header has many sales line. Can I actually get the total line amount for each sales header inside a canvas apps?
Hi @NurNina ,
Just put a label for each with for numbers
Sum(YourGalleryName.AllItems, YourFieldName)
Replace with your gallery and field name
For the number of items in the gallery
CountRows(YourGalleryName.AllItems)
Please click Accept as solution if my post helped you solve your issue. This will help others find it more readily. It also closes the item. If the content was useful in other ways, please consider giving it Thumbs Up.
@WarrenBelz for the countrows function, Ive got an error saying that it expect a table value. Does that mean I need to replace my gallery with a table?
No the syntax below should be as below - I just did a quick test on a gallery and (put your Gallery name where I have GalleryName below)
CountRows(GalleryName.AllItems)
Works fine
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.
Congratulations to our community stars!
Expanding mentorship, skilling, and AI innovation
These are the community rock stars!
Stay up to date on forum activity by subscribing.
WarrenBelz 392 Most Valuable Professional
11manish 181 Super User 2026 Season 2
MS.Ragavendar 112 Super User 2026 Season 2