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...
Unanswered

Adding a Monthly Average Quantity for Last 3 Months field for Items

(0) ShareShare
ReportReport
Posted on by 297
Hello, I am trying to add a custom field on the Items list that shows the Monthly Average Quantity for the Last 3 Months.
 
I am trying to achieve this by adding a FlowField to the items list that sums all the negative quantities in the item ledger entry, multiplies it by -1 (to get a positive number), and then divides by 3 (to get the average of 3 months) with a date filter for the past 3 months. However, I am having trouble writing the CalcFormula for this.
 
Can someone please provide some suggestions and/or code samples to achieve this? Any help would be greatly appreciated. Thank you!
I have the same question (0)

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 Launch!

Jump in, show your community spirit, and win prizes!

Women in Power Builds Momentum

Expanding mentorship, skilling, and AI innovation

Congratulations to the May Top 10 Community Leaders

These are the community rock stars!

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

#1
OussamaSabbouh Profile Picture

OussamaSabbouh 1,960 Super User 2026 Season 1

#2
YUN ZHU Profile Picture

YUN ZHU 1,299 Super User 2026 Season 1

#3
Grigorios Mavrogeorgis Profile Picture

Grigorios Mavrogeorgis 1,131 Super User 2026 Season 1

Last 30 days Overall leaderboard

Featured topics

Microsoft Training Manuals

Product updates

Dynamics 365 release plans