<?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 Stock at end of Month in DAX Commands and Tips</title>
    <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Stock-at-end-of-Month/m-p/2923980#M95961</link>
    <description>&lt;P&gt;Hi . I hope you would be fine .I need to find&amp;nbsp;Stock at end of the month and its formula is&amp;nbsp;stock of beginning of month+ shipment that month-forecast.Stock of beginning of month is unrestricted + Transit and Transfer in 1st picture,Shipment that month is production completion date(Its quantity) + 1 Week and Subtract forecast from it.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Can any one help me on it.I am unable to find result.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Thu, 24 Nov 2022 10:24:20 GMT</pubDate>
    <dc:creator>faiqsadiq1</dc:creator>
    <dc:date>2022-11-24T10:24:20Z</dc:date>
    <item>
      <title>Stock at end of Month</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Stock-at-end-of-Month/m-p/2923980#M95961</link>
      <description>&lt;P&gt;Hi . I hope you would be fine .I need to find&amp;nbsp;Stock at end of the month and its formula is&amp;nbsp;stock of beginning of month+ shipment that month-forecast.Stock of beginning of month is unrestricted + Transit and Transfer in 1st picture,Shipment that month is production completion date(Its quantity) + 1 Week and Subtract forecast from it.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Can any one help me on it.I am unable to find result.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 24 Nov 2022 10:24:20 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Stock-at-end-of-Month/m-p/2923980#M95961</guid>
      <dc:creator>faiqsadiq1</dc:creator>
      <dc:date>2022-11-24T10:24:20Z</dc:date>
    </item>
    <item>
      <title>Re: Stock at end of Month</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Stock-at-end-of-Month/m-p/2926710#M96177</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="457734" data-lia-user-login="faiqsadiq1" class="lia-mention lia-mention-user"&gt;faiqsadiq1&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Please share some sample data in text format and expected result so that we could test formulas.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Best Regards,&lt;/P&gt;
&lt;P&gt;Jay&lt;/P&gt;</description>
      <pubDate>Thu, 24 Nov 2022 09:55:22 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Stock-at-end-of-Month/m-p/2926710#M96177</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2022-11-24T09:55:22Z</dc:date>
    </item>
    <item>
      <title>Re: Stock at end of Month</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Stock-at-end-of-Month/m-p/2926869#M96191</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="457734" data-lia-user-login="faiqsadiq1" class="lia-mention lia-mention-user"&gt;faiqsadiq1&lt;/a&gt;&amp;nbsp;,&lt;BR /&gt;I think can use below logic and write the measure ,&lt;/P&gt;&lt;P&gt;Var &lt;STRONG&gt;a&lt;/STRONG&gt; =&amp;nbsp;&lt;BR /&gt;Add the 2 column&amp;nbsp;&lt;SPAN&gt;unrestricted + Transit and Transfer&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Var &lt;STRONG&gt;stockofbeginningofmonth&lt;/STRONG&gt;=&lt;BR /&gt;CALCULATE(&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; SUM(&lt;STRONG&gt;a&lt;/STRONG&gt;),&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; DATEADD('Date Dimension'[date],-1,MONTH)&lt;BR /&gt;&lt;/SPAN&gt;)&lt;/P&gt;&lt;P&gt;var &lt;STRONG&gt;sforcast&lt;/STRONG&gt; = SUM(forcast)&lt;/P&gt;&lt;P&gt;Var&amp;nbsp;&lt;SPAN&gt;&lt;STRONG&gt;shipmentthatmonth&lt;/STRONG&gt; = create a calculation for this production completion date(Its quantity) + 1 Week and Subtract forecast&lt;BR /&gt;&lt;BR /&gt;RETURN&amp;nbsp;&lt;BR /&gt;&lt;STRONG&gt;( stockofbeginningofmonth + shipmentthatmonth ) -&amp;nbsp;sforcast&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;&lt;/STRONG&gt;Regards,&lt;BR /&gt;Nikhil Chenna&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&lt;STRONG&gt;Appreciate with a Kudos!! (Click the Thumbs Up Button)&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;Did I answer your question? Mark my post as a solution!&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 24 Nov 2022 10:37:25 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Stock-at-end-of-Month/m-p/2926869#M96191</guid>
      <dc:creator>NikhilChenna</dc:creator>
      <dc:date>2022-11-24T10:37:25Z</dc:date>
    </item>
    <item>
      <title>Re: Stock at end of Month</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Stock-at-end-of-Month/m-p/2926886#M96194</link>
      <description>&lt;P&gt;Hi Nikhil,&lt;BR /&gt;It didnt went well .Inventory trend is not showing ok results.&lt;BR /&gt;Or I guess i am unable to communicate&lt;/P&gt;</description>
      <pubDate>Thu, 24 Nov 2022 10:51:47 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Stock-at-end-of-Month/m-p/2926886#M96194</guid>
      <dc:creator>faiqsadiq1</dc:creator>
      <dc:date>2022-11-24T10:51:47Z</dc:date>
    </item>
  </channel>
</rss>

