<?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: Inventory Closing in App Development</title>
    <link>https://community.qlik.com/t5/App-Development/Inventory-Closing/m-p/79437#M5282</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;A href="https://community.qlik.com/qlik-blogpost/3157"&gt;Relative Calendar Fields&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I use thsi blog to set up MonthsAgo in script&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;12*(&lt;SPAN style="color: #0000ff;"&gt;Year&lt;/SPAN&gt;(&lt;SPAN style="color: #0000ff;"&gt;Today&lt;/SPAN&gt;())-&lt;SPAN style="color: #0000ff;"&gt;Year&lt;/SPAN&gt;(&lt;SPAN style="color: #800000;"&gt;Date&lt;/SPAN&gt;)) + &lt;SPAN style="color: #0000ff;"&gt;Month&lt;/SPAN&gt;(&lt;SPAN style="color: #0000ff;"&gt;Today&lt;/SPAN&gt;()) - &lt;SPAN style="color: #0000ff;"&gt;Month&lt;/SPAN&gt;(&lt;SPAN style="color: #800000;"&gt;Date&lt;/SPAN&gt;) &lt;SPAN style="color: #0000ff;"&gt;as &lt;/SPAN&gt;&lt;SPAN style="color: #800000;"&gt;MonthsAgo&lt;/SPAN&gt;,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Then use this to give a CLOSING INVENTORY BALANCE for the selected month and say three (or whatever) previous months&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But there are a number of ways to do this&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sun, 10 Jun 2018 08:32:37 GMT</pubDate>
    <dc:creator>robert99</dc:creator>
    <dc:date>2018-06-10T08:32:37Z</dc:date>
    <item>
      <title>Inventory Closing</title>
      <link>https://community.qlik.com/t5/App-Development/Inventory-Closing/m-p/79433#M5278</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Qlikers,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have this problem and i feel a little twist can solve it all for me &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;so i have created this report where the user is allowed to pass the date and the formula will calculate the inventory for whats equal or less than the passed date .&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;now what i want to show is the below. &lt;/SPAN&gt;&lt;/P&gt;&lt;TABLE border="1" class="jiveBorder" style="border: 1px solid #000000; width: 100%;"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TH style="text-align: center; background-color: #6690bc; color: #ffffff; padding: 2px;" valign="middle"&gt;&lt;STRONG&gt;Jan 18&lt;/STRONG&gt;&lt;/TH&gt;&lt;TH style="text-align: center; background-color: #6690bc; color: #ffffff; padding: 2px;" valign="middle"&gt;Feb 18&lt;/TH&gt;&lt;TH style="text-align: center; background-color: #6690bc; color: #ffffff; padding: 2px;" valign="middle"&gt;&lt;P&gt;Mar 18&lt;/P&gt;&lt;/TH&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px;"&gt;&lt;P&gt;Inventory Value&lt;/P&gt;&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;Inventory Value&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;Inventory Value&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;Jan 18 will take what ever is equal or below 31 as Jan Inventory &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;and the same for Feb and so forth.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;See Attached Simple Sample.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;&lt;BR /&gt;Thanks In Advance.&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 10 Jun 2018 07:47:56 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Inventory-Closing/m-p/79433#M5278</guid>
      <dc:creator>kaldubai</dc:creator>
      <dc:date>2018-06-10T07:47:56Z</dc:date>
    </item>
    <item>
      <title>Re: Inventory Closing</title>
      <link>https://community.qlik.com/t5/App-Development/Inventory-Closing/m-p/79434#M5279</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;Can you explain the issue you are facing. That will be helpful.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 10 Jun 2018 07:57:40 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Inventory-Closing/m-p/79434#M5279</guid>
      <dc:creator>sohb2015</dc:creator>
      <dc:date>2018-06-10T07:57:40Z</dc:date>
    </item>
    <item>
      <title>Re: Inventory Closing</title>
      <link>https://community.qlik.com/t5/App-Development/Inventory-Closing/m-p/79435#M5280</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;"where the user is allowed to pass the date"&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Do you mean selects a date?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you do I've done this using MonthAgo (refer blog on this)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;sum ({&amp;lt;MonthsAgo = { "&amp;gt;=$(=MonthsAgo)"&amp;nbsp; }, AuditMthYr&amp;nbsp; &amp;gt;}&lt;/P&gt;&lt;P&gt;Audit_Qty* Stock_Cost_Price)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So user selects the appropriate MonthsAgo.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you want the previous month&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;sum ({&amp;lt;MonthsAgo = { "&amp;gt;=$(=MonthsAgo+1)"&amp;nbsp; }, AuditMthYr&amp;nbsp; &amp;gt;}&lt;/P&gt;&lt;P&gt;Audit_Qty* Stock_Cost_Price)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;AuditMthYr = MonthYear&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG __jive_id="204765" alt="" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/204765_pastedImage_0.png" style="max-width: 1200px; max-height: 900px;" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 10 Jun 2018 08:02:54 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Inventory-Closing/m-p/79435#M5280</guid>
      <dc:creator>robert99</dc:creator>
      <dc:date>2018-06-10T08:02:54Z</dc:date>
    </item>
    <item>
      <title>Re: Inventory Closing</title>
      <link>https://community.qlik.com/t5/App-Development/Inventory-Closing/m-p/79436#M5281</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks for your feedback &lt;/P&gt;&lt;P&gt;i have read about months ago its an intersting concept but i guess its not what im looking for .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;to simply put it &lt;/P&gt;&lt;P&gt;i have an expression that&amp;nbsp; will give me the inventory as of any date (Only on that specific Date)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;what i need is :&lt;/P&gt;&lt;P&gt;user will select a Year&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;then data should show for&amp;nbsp; all the months on that year.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 10 Jun 2018 08:24:13 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Inventory-Closing/m-p/79436#M5281</guid>
      <dc:creator>kaldubai</dc:creator>
      <dc:date>2018-06-10T08:24:13Z</dc:date>
    </item>
    <item>
      <title>Re: Inventory Closing</title>
      <link>https://community.qlik.com/t5/App-Development/Inventory-Closing/m-p/79437#M5282</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;A href="https://community.qlik.com/qlik-blogpost/3157"&gt;Relative Calendar Fields&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I use thsi blog to set up MonthsAgo in script&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;12*(&lt;SPAN style="color: #0000ff;"&gt;Year&lt;/SPAN&gt;(&lt;SPAN style="color: #0000ff;"&gt;Today&lt;/SPAN&gt;())-&lt;SPAN style="color: #0000ff;"&gt;Year&lt;/SPAN&gt;(&lt;SPAN style="color: #800000;"&gt;Date&lt;/SPAN&gt;)) + &lt;SPAN style="color: #0000ff;"&gt;Month&lt;/SPAN&gt;(&lt;SPAN style="color: #0000ff;"&gt;Today&lt;/SPAN&gt;()) - &lt;SPAN style="color: #0000ff;"&gt;Month&lt;/SPAN&gt;(&lt;SPAN style="color: #800000;"&gt;Date&lt;/SPAN&gt;) &lt;SPAN style="color: #0000ff;"&gt;as &lt;/SPAN&gt;&lt;SPAN style="color: #800000;"&gt;MonthsAgo&lt;/SPAN&gt;,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Then use this to give a CLOSING INVENTORY BALANCE for the selected month and say three (or whatever) previous months&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But there are a number of ways to do this&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 10 Jun 2018 08:32:37 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Inventory-Closing/m-p/79437#M5282</guid>
      <dc:creator>robert99</dc:creator>
      <dc:date>2018-06-10T08:32:37Z</dc:date>
    </item>
    <item>
      <title>Re: Inventory Closing</title>
      <link>https://community.qlik.com/t5/App-Development/Inventory-Closing/m-p/79438#M5283</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;"what i need is :&lt;/P&gt;&lt;P&gt;user will select a Year&lt;/P&gt;&lt;P&gt;then data should show for&amp;nbsp; all the months on that year."&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Then you may need to get this all set up in script as shown below. (unless someone else knows of a better way)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;One example&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;//needed for peek&lt;/P&gt;&lt;P&gt;SUM2:&lt;/P&gt;&lt;P&gt;//join (AUDIT)&lt;/P&gt;&lt;P&gt;Load&lt;/P&gt;&lt;P&gt;Site_Num ,&lt;/P&gt;&lt;P&gt;//PartNum ,&lt;/P&gt;&lt;P&gt;LinkDate ,&lt;/P&gt;&lt;P&gt;sum (Audit_Qty) as AudQtySumSite ,&amp;nbsp;&amp;nbsp;&amp;nbsp; //qty&lt;/P&gt;&lt;P&gt;SUM (AuditQtyTimesSkVal) AS AudValSumSite&amp;nbsp;&amp;nbsp;&amp;nbsp; //Value&lt;/P&gt;&lt;P&gt;==========================================================&lt;/P&gt;&lt;P&gt;// Its easy to produce a report showing movements every month and a total ending balance for all perios selected&lt;/P&gt;&lt;P&gt;// But I was required to produce a report showing the accumulating closing balance by site at month end&lt;/P&gt;&lt;P&gt;// this was how it was done. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;AUDIT2: &lt;/P&gt;&lt;P&gt;LOAD &lt;/P&gt;&lt;P&gt;'Yes' as PeekGroup2 ,&lt;/P&gt;&lt;P&gt;Site_Num ,&lt;/P&gt;&lt;P&gt;//PartNum ,&lt;/P&gt;&lt;P&gt;LinkDate ,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If(Site_Num = Peek(Site_Num) ,&lt;/P&gt;&lt;P&gt;RangeSum(Peek('MthAcumSite') ,AudQtySumSite),&lt;/P&gt;&lt;P&gt;AudQtySumSite ) AS MthAcumSite ,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If(Site_Num = Peek(Site_Num) ,&lt;/P&gt;&lt;P&gt;RangeSum(Peek('AudValAcumMthSite') ,AudValSumSite ),&lt;/P&gt;&lt;P&gt;AudValSumSite&amp;nbsp; ) AS AudValAcumMthSite&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Resident SUM2&lt;/P&gt;&lt;P&gt;Order by Site_Num ASC , LinkDate ASC ;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 10 Jun 2018 08:36:23 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Inventory-Closing/m-p/79438#M5283</guid>
      <dc:creator>robert99</dc:creator>
      <dc:date>2018-06-10T08:36:23Z</dc:date>
    </item>
  </channel>
</rss>

