Hi Alteryx Community,
I am working on an inventory management project and need assistance with calculating the closing inventory quantity and cost using the FIFO (First In, First Out) method in Alteryx. I have transaction records for three item codes, including opening and closing quantities and costs for each item.
Case Description:
For example, the item code VERNON has the following details:
- Closing Quantity: 830
- Cost Posted to G_L: 159,388.29
To verify the accuracy, I manually tracked the remaining quantities from the latest purchases:
- Latest purchase (Entry No: 4346382): Quantity 720, Purchase Unit Cost 193.25478
- Remaining quantity (110 out of 830 - 720) from Entry No: 4291681: Quantity 110, Unit Cost 184.04407
As per my manual analysis, the total quantity matches the closing entry, and the cost comparison has a negligible difference (0.000699999975040555), which is acceptable.
Attached Data:
I have attached an Excel file with two sheets:
- "Example result": Contains the sample result and manual calculation.
- "Data for Alteryx": Contains the transaction data for analysis.
-
Objective:
I need to replicate this FIFO analysis in Alteryx to assess the closing quantity and cost accurately for each item code without manually calculating each time. Specifically, I want to:
- Filter and sort transactions by item code and date (or entry number) to apply the FIFO method.
- Calculate the remaining quantities and costs to determine the closing inventory.
- Compare the calculated closing quantity and cost with the posted G_L entries.
Request:
Could someone guide me on how to set up this workflow in Alteryx? Any suggestions on tools or configurations needed to automate this FIFO inventory costing method would be greatly appreciated.
Thank you in advance for your help!