<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Calculate demand on Ship-From from Customer Demand and Demand Allocation table in DAX Commands and Tips</title>
    <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Calculate-demand-on-Ship-From-from-Customer-Demand-and-Demand/m-p/3080151#M156685</link>
    <description>&lt;P&gt;Hi all,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;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.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;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).&lt;/P&gt;&lt;P&gt;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.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The result should be item_code, ship-from, ship-from, date, demand qty&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Hope someone can help me!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Tue, 14 Feb 2023 19:33:24 GMT</pubDate>
    <dc:creator>Nijlal01</dc:creator>
    <dc:date>2023-02-14T19:33:24Z</dc:date>
    <item>
      <title>Calculate demand on Ship-From from Customer Demand and Demand Allocation table</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Calculate-demand-on-Ship-From-from-Customer-Demand-and-Demand/m-p/3080151#M156685</link>
      <description>&lt;P&gt;Hi all,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;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.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;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).&lt;/P&gt;&lt;P&gt;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.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The result should be item_code, ship-from, ship-from, date, demand qty&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Hope someone can help me!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 14 Feb 2023 19:33:24 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Calculate-demand-on-Ship-From-from-Customer-Demand-and-Demand/m-p/3080151#M156685</guid>
      <dc:creator>Nijlal01</dc:creator>
      <dc:date>2023-02-14T19:33:24Z</dc:date>
    </item>
  </channel>
</rss>

