Qty on Stock - Number of article on stock (To date)
This table is afterwards linked through link table (star scheme) to the following tables:
- Articles (Dimension)
- MasterCalendar (Dimension)
- Sales (Transaction)
- Warehouse
What I would like to achieve is:
- current stock level (to date)
1. I tried using set analysis:
sum(1{< [Inventory Date]= {'<=$(=Date((Max(Date))))'}, [Inventory Date To]= {'>$(=Date((Max(Date))))'} >} [Qty on Stock])
This gave the desired results but using 1 qualifier means also all other selections in the chart are disregarded.
2. This seems like classic case for extended Intervalmatch, but i couldn't get it to work and eitherway i'm afraid it will the sheer load of records will overload the server
3. Cutting the MasterCalendar from the data model is one way, but also means i would have to implement a set analysis expression for every measure in the solution.