Evening,
I've attached a pbix which has the tables and things like that to work off if that's easier.
I have transactions for a store stamped by time, item, unique transaction ID (where there can be multiple of the same transaction IDs as there are multiple products per transaction).
I have my date table, my time table and of course my data table. I was wondering how to calculate at what time I will run out of product. At the moment, there isn't a table saying how much product for example is able to displayed "on the floor", but any number is fine as it's more about the principle.
I'm trying to work out how to calculate the average time for the item until it runs out. So for example, If I can only display 8 t shirts and by for example 11.21am I run out of stock on the floor, I'm wondering how to work this out.
My initial thoughts were to calcualte a measure that less'd the cumulative value by the level of stock able to be retained on the floor and then once it equalled 0 = the time; but I'm honestly not really sure how to do it. Any ideas?
Link to pbix: Linky Link