Forum Discussion
historical Inventory Over Time
- 7 years ago
I think i solved my issue by making a column like this
column4 = CALCULATE(SUM(IV00102[Column]),FILTER(ALL(IV00102),IV00102[ITEMNMBR]=EARLIER(IV00102[ITEMNMBR])&& (IV00102[DOCDATE]>=EARLIER(IV00102[DOCDATE]))))working on validating my data, but i think it seemed to have worked!!
i've been plowing ahead, and thought i was making great progess, until i unfiltred my data, and allowed all items into my query, previously, i had been working with only one item, and thought i could build the logic and all would be good.
i combined my transaction table, and inventory on hand table, i was set a transaction date to the future, for my Inventory on hand, then calculated the reverse of my transactions, so i can go back, and build up my inventory.
I added a column for running total, which works perfectly, with only one item, but i need it to make a new running total for each item.
this is what i have in my running total column.
I think i solved my issue by making a column like this