<?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 Re: Opening and Closing stock in DAX Commands and Tips</title>
    <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Opening-and-Closing-stock/m-p/3604990#M139277</link>
    <description>&lt;P&gt;Hi,&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="651398" data-lia-user-login="DAIKAYA" class="lia-mention lia-mention-user"&gt;DAIKAYA&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;You can provide some of the example data and the desired output. Present it as a picture or EXCEL. Please go ahead and remove sensitive data.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Best Regards&lt;/SPAN&gt;&lt;/P&gt;</description>
    <pubDate>Thu, 28 Dec 2023 08:54:42 GMT</pubDate>
    <dc:creator>v-zhangti</dc:creator>
    <dc:date>2023-12-28T08:54:42Z</dc:date>
    <item>
      <title>Opening and Closing stock</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Opening-and-Closing-stock/m-p/3575581#M137852</link>
      <description>&lt;P&gt;Hello ,&lt;/P&gt;&lt;P&gt;&amp;nbsp;I have the below Model , and I am trying to create a table that includes opening and closing stock per day.&lt;/P&gt;&lt;P&gt;I have the below Tables:-&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;- Table of Today's stock&lt;/P&gt;&lt;P&gt;-Table for all Purchase orders&amp;nbsp; + Table for Total Inbound (Represent Total In)&lt;/P&gt;&lt;P&gt;-Table for all Customer orders + Table of total Outbound (Represent Total out)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;My main challenge is how to move closing stock for day 2 to opening stock in day 3&amp;nbsp; and the following days.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sat, 09 Dec 2023 13:55:58 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Opening-and-Closing-stock/m-p/3575581#M137852</guid>
      <dc:creator>DAIKAYA</dc:creator>
      <dc:date>2023-12-09T13:55:58Z</dc:date>
    </item>
    <item>
      <title>Re: Opening and Closing stock</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Opening-and-Closing-stock/m-p/3575737#M137858</link>
      <description>&lt;P&gt;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="651398" data-lia-user-login="DAIKAYA" class="lia-mention lia-mention-user"&gt;DAIKAYA&lt;/a&gt;&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;Since you have a model with many tables, it is not easy to understand how the measure should be constructed, if possible, share a PBIX file with dummy data that represents your setup and explain the expected result.&lt;/P&gt;</description>
      <pubDate>Sat, 09 Dec 2023 18:49:16 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Opening-and-Closing-stock/m-p/3575737#M137858</guid>
      <dc:creator>Fowmy</dc:creator>
      <dc:date>2023-12-09T18:49:16Z</dc:date>
    </item>
    <item>
      <title>Re: Opening and Closing stock</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Opening-and-Closing-stock/m-p/3580328#M138084</link>
      <description>&lt;P&gt;Hello ,&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you for your reply.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;i have prepared dummy file but i can't find the option here to upload , any advice ?&lt;/P&gt;</description>
      <pubDate>Tue, 12 Dec 2023 17:35:30 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Opening-and-Closing-stock/m-p/3580328#M138084</guid>
      <dc:creator>DAIKAYA</dc:creator>
      <dc:date>2023-12-12T17:35:30Z</dc:date>
    </item>
    <item>
      <title>Re: Opening and Closing stock</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Opening-and-Closing-stock/m-p/3604990#M139277</link>
      <description>&lt;P&gt;Hi,&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="651398" data-lia-user-login="DAIKAYA" class="lia-mention lia-mention-user"&gt;DAIKAYA&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;You can provide some of the example data and the desired output. Present it as a picture or EXCEL. Please go ahead and remove sensitive data.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Best Regards&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 28 Dec 2023 08:54:42 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Opening-and-Closing-stock/m-p/3604990#M139277</guid>
      <dc:creator>v-zhangti</dc:creator>
      <dc:date>2023-12-28T08:54:42Z</dc:date>
    </item>
    <item>
      <title>Re: Opening and Closing stock</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Opening-and-Closing-stock/m-p/3605181#M139287</link>
      <description>&lt;P&gt;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="651398" data-lia-user-login="DAIKAYA" class="lia-mention lia-mention-user"&gt;DAIKAYA&lt;/a&gt;&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;Sharing a dummy Power BI file representing your scenario would be beneficial. You can save the Power BI file on Google Drive or any other cloud storage platform and provide the link here. Kindly ensure that permission is granted to open the file.&lt;/P&gt;</description>
      <pubDate>Thu, 28 Dec 2023 10:07:24 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Opening-and-Closing-stock/m-p/3605181#M139287</guid>
      <dc:creator>Fowmy</dc:creator>
      <dc:date>2023-12-28T10:07:24Z</dc:date>
    </item>
    <item>
      <title>Re: Opening and Closing stock</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Opening-and-Closing-stock/m-p/3610736#M139585</link>
      <description>&lt;P&gt;hello ,&lt;/P&gt;&lt;P&gt;Thank you for your reply .&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;A href="https://drive.google.com/file/d/13VY3z4ZrrrgCz8h09niMR40LP3sWBjdd/view?usp=drive_link" target="_blank"&gt;https://drive.google.com/file/d/13VY3z4ZrrrgCz8h09niMR40LP3sWBjdd/view?usp=drive_link&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Please find above the Link , all data are dummy , Please note the below :-&lt;/P&gt;&lt;P&gt;- I have adjusted all relationships in the Model.&lt;/P&gt;&lt;P&gt;- My main obejective is to create Opening and Closing stock per day.&lt;/P&gt;&lt;P&gt;- First day the Opening stock should come from SAP_stock Table.&lt;/P&gt;&lt;P&gt;- First Day Closing Stock is equal to the opening stock - Outbound+Inbound&lt;/P&gt;&lt;P&gt;- Following day Opening stock should equal to previous day closing stock&amp;nbsp;&lt;/P&gt;&lt;P&gt;-Following day closing stock should equal to the previous day Opening stock.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;My main challenge is to create the formula , as i get a circular refrence error every time i am trying to apply the above.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks alot fr the support , please let me know if you need more clarification.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 02 Jan 2024 11:04:26 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Opening-and-Closing-stock/m-p/3610736#M139585</guid>
      <dc:creator>DAIKAYA</dc:creator>
      <dc:date>2024-01-02T11:04:26Z</dc:date>
    </item>
  </channel>
</rss>

