postmanplod
Programmer
Hello,
I am unable to work the following out:
From a Part Transaction table, (connected via XML), we have Part Qty and Part Date. I have been asked to calculate the total of the qty for the past six months, based on today's date - this will obviously change every day. I also need to calculate the total qty for the previous six months prior.
So, to summarise I require :
A rolling sum of the qty for the past 6 months
A rolling sum of the qty for previous six monts prior to the above
Basically the result should change day to day as the date range's are based on the current date.
I have been working with running totals and the date serial function but so far have not produced the desired outcome.
Thank you in advance for any help received.
Michael
I am unable to work the following out:
From a Part Transaction table, (connected via XML), we have Part Qty and Part Date. I have been asked to calculate the total of the qty for the past six months, based on today's date - this will obviously change every day. I also need to calculate the total qty for the previous six months prior.
So, to summarise I require :
A rolling sum of the qty for the past 6 months
A rolling sum of the qty for previous six monts prior to the above
Basically the result should change day to day as the date range's are based on the current date.
I have been working with running totals and the date serial function but so far have not produced the desired outcome.
Thank you in advance for any help received.
Michael