Calulate a date using expressions/functions in planning measures
Summary:
User would like to calculate an estimated stockout date. The formula to calculate the stockout date is = LastPlanUpdatedDate + Days of Cover onHand. The expected result should be a date.
Content (please ensure you mask any confidential information):
Example:
Item: 123453 SmartPhone1
Onhand qty = 1000
Average Daily Demand = 100
Days of cover onHand = 10
LastPlanUpdatedDate = 04 February 2026
Estimated Stockout Date = 04 February 2026 + 10 days
Estimated Stockout Date = 14 February 2026
Is there any measures that accomplish the same outcome or how can I implement this using functions/expressions and customer planning measures.
Version (include the version you are using, if applicable):
Code Snippet (add any code snippets that support your topic, if applicable):