Hi... Access newbie here... TIA.
I have sample data in the following form (dd/mm/yyyy):
I want to create a report based on a query that calculates TOTAL Inventory sold and AVERAGE Inventory sold of the InvCodeID by a rolling daily, 30-day, 90-day, 365-day period.
Any assistance appreciated, as simple query does not work, and I managed crosstab query only on a monthly basis (not a rolling 30-day period).
I have sample data in the following form (dd/mm/yyyy):
| DateTransaction | InvCodeID | QtyOut |
| 06/11/2023 | YHH308B | 2.5 |
| 12/10/2023 | YHH308B | 10 |
| 13/09/2023 | YHH308B | 12 |
| 09/11/2023 | YHH200A | 56 |
| 15/10/2023 | YHH200A | 22 |
| 06/09/2023 | YHH100F | 3 |
| 03/11/2023 | YHH500F | 8 |
I want to create a report based on a query that calculates TOTAL Inventory sold and AVERAGE Inventory sold of the InvCodeID by a rolling daily, 30-day, 90-day, 365-day period.
Any assistance appreciated, as simple query does not work, and I managed crosstab query only on a monthly basis (not a rolling 30-day period).