Earn a 50% discount on the DP-600 certification exam by completing the Fabric 30 Days to Learn It challenge.
Hi all,
I would like to calculate demand on ship-from location using customer demand table (below) and demand allocation table(on top). I think best would be with a DAX formula but PowerQuery is also fine.
So in this easy example all demand in the planning horizon for item 659152 and dmdgroup PH1700_ES101010_0000279544 has to be allocated to ship-from ES002UN_PH1700_ESB2 (since allocation percentage is 100% and effective date is from 2021 until 2050).
But it could also be that 50% is allocated to ship-from x and 50% to ship-from y and/or that until 27-02-2023 it is 100% allocated to ship-from x and from 27-02 onwards to ship-from y.
The result should be item_code, ship-from, ship-from, date, demand qty
Hope someone can help me!
Thanks