Skip to main content
Solved

Average customer order count over rolling 12 month period

  • January 10, 2023
  • 3 replies
  • 268 views

Forum|alt.badge.img

Anyone know how to create a GI that displays the average customer order count over a rolling 12 month period? I’d also need to be able to exclude specific order type (mainly returns).

I’m just not sure how to get an order count using formulas. And I would need to include any open (non-completed) orders in the count as well.

Best answer by brendan91

@mikeho 

I created a GI that summarizes the number of orders for each month (GI xml attached). I would export via Odata to excel or Power BI (or just do a regular ol’ sheet export) and then do a moving average on the summaries.

https://www.ablebits.com/office-addins-blog/moving-average-excel/

 

View original
Did this topic help you find an answer to your question?

3 replies

brendan91
Semi-Pro III
Forum|alt.badge.img+1
  • Semi-Pro III
  • 92 replies
  • January 10, 2023

I think you will need to write a SQL script and publish this as a SQL view as you need summaries for different time periods within the same table.

The best you could probably do through a GI is calculate the number of orders within a single 12-month period. Hopefully, in the future, Acumatica will let us combine GIs.

This is a good idea though, and I will copy the idea and add it to my list of things to do. I will share the script if/when I get to it.


Forum|alt.badge.img
  • Author
  • Semi-Pro II
  • 228 replies
  • January 12, 2023

@brendan91 - bummer, I was hoping to be able to do this all with a GI.

How would you suggest calculating the # of orders within a single 12-month period in a GI?


brendan91
Semi-Pro III
Forum|alt.badge.img+1
  • Semi-Pro III
  • 92 replies
  • Answer
  • January 12, 2023

@mikeho 

I created a GI that summarizes the number of orders for each month (GI xml attached). I would export via Odata to excel or Power BI (or just do a regular ol’ sheet export) and then do a moving average on the summaries.

https://www.ablebits.com/office-addins-blog/moving-average-excel/

 


Reply


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings