Forum Discussion
Stock Cover Months
Hi,
You mention that Brnach 1 Model B is a problem - you expect the answer of that to be 7. I see some other lapses there as well. For e.g. branch 2 Model E. Shouldn't the answer of that be 7 (in the 7th month, the opening inventory would be consumed). It would be ideal if you could show the exact expected result of each Branch and model combination.
Lastly, could you ensure that in each table you have a Date column. If that is not possible, please have a month and year column in each table (from where we can create a Date column).
Hi, yes you are right, there are a few lapses, and generally the DAX code that I've written does not give me the outcome I want. I've created an excel with the same format and expected resutls by each branch and model at the different levels (https://we.tl/t-QYLx2WyuNU). As for the date column, only the sales plan has a date/timeline, in which I plan to use month number to reference the months within a year for ease of calculating the month cover.
- Ashish_Mathur2 years agoSuper User
Share both raw datasets with a Date column in both tables.