A family of Microsoft spreadsheet software with tools for analyzing, charting, and communicating data
Thanks so much for the information Snow Lu
This browser is no longer supported.
Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.
I have a database of products that i want to create an aging report using FIFO.
Sample file and outcome: https://we.tl/t-TBFVW2AIw2
A family of Microsoft spreadsheet software with tools for analyzing, charting, and communicating data
Locked Question. This question was migrated from the Microsoft Support Community. You can vote on whether it's helpful, but you can't add comments or replies or follow the question.
Thanks so much for the information Snow Lu
SumBeforeCurrentDate := VAR CurrentRowDate = MAX(Table1[Posting date]) RETURN CALCULATE( SUM(Table1[Quantity]), Table1[Posting date] < CurrentRowDate )
===================================
I'd suggest you create a new thread on Power query forum which is special channel to handle such questions.
Hi Snow,
I got the desired outcome by grouping the products. So initially, I bought 4 bottles on April 30, then on July 4 and Sep 1 there is consumption. Thus the balance is now 1 or simply 22 which was (88/4). and then i bought again on Sep 15 for 5 bottles. Thus in my aging, it should show that on the original purchase in April 30, i still have 1 bottle left or 22 on my 121-365 days and 5 bottles/110 on 31-60 days bracket.
Kind Regards,
Donskie
How do you get 22 and 1635 in 121-365 days? I cannot understand your logical from your desired outcome.