<?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: Stock Running Balances in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Stock-Running-Balances/m-p/1165065#M917342</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;based on your existing dates calculation was made with previous table rows .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If possible could you create sample calculation at excel level manually which will help us to track your desired output.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 18 May 2016 09:57:45 GMT</pubDate>
    <dc:creator />
    <dc:date>2016-05-18T09:57:45Z</dc:date>
    <item>
      <title>Stock Running Balances</title>
      <link>https://community.qlik.com/t5/QlikView/Stock-Running-Balances/m-p/1165058#M917335</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;Please see attached file in which I have Sales Orders, Purchases , Adjustments for each day.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The current stock balance is 5. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; I want to insert three columns:&lt;/P&gt;&lt;P&gt; 1) show the stock balance at the start of each day,&lt;/P&gt;&lt;P&gt; 2) show the stock balance at the end of each day, and&lt;/P&gt;&lt;P&gt; 3) show the average stock for the past 30 days on each day&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any suggestions as to how I can do that?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Shamit&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 25 Nov 2020 16:16:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Stock-Running-Balances/m-p/1165058#M917335</guid>
      <dc:creator>shamitshah</dc:creator>
      <dc:date>2020-11-25T16:16:04Z</dc:date>
    </item>
    <item>
      <title>Re: Stock Running Balances</title>
      <link>https://community.qlik.com/t5/QlikView/Stock-Running-Balances/m-p/1165059#M917336</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Shamit,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;There is no way just to insert a column. First you should define an algorithm which is to be used to calc each parameter. After you have to load initial data, usually this is done with some ordering &amp;amp; grouping and aggregations with use of Previous() and Peek() functions in order to sum previously loaded values.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm not sure I understand semantics of your data so avoiding to provide any formulas.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best regards,&lt;/P&gt;&lt;P&gt;Maxim&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 18 May 2016 07:38:57 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Stock-Running-Balances/m-p/1165059#M917336</guid>
      <dc:creator>maksim_senin</dc:creator>
      <dc:date>2016-05-18T07:38:57Z</dc:date>
    </item>
    <item>
      <title>Re: Stock Running Balances</title>
      <link>https://community.qlik.com/t5/QlikView/Stock-Running-Balances/m-p/1165060#M917337</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Maxim,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Just to clarify, are you implying that this can only be done in the load script and not by additional expressions in the table?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Shamit&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 18 May 2016 08:11:02 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Stock-Running-Balances/m-p/1165060#M917337</guid>
      <dc:creator>shamitshah</dc:creator>
      <dc:date>2016-05-18T08:11:02Z</dc:date>
    </item>
    <item>
      <title>Re: Stock Running Balances</title>
      <link>https://community.qlik.com/t5/QlikView/Stock-Running-Balances/m-p/1165061#M917338</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;For calculating start day , end day , past 30 day stock you need to have timestamp in your data based on which you will restrict data inside table using set analysis.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Could you share DateTime field of your data.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 18 May 2016 08:26:11 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Stock-Running-Balances/m-p/1165061#M917338</guid>
      <dc:creator />
      <dc:date>2016-05-18T08:26:11Z</dc:date>
    </item>
    <item>
      <title>Re: Stock Running Balances</title>
      <link>https://community.qlik.com/t5/QlikView/Stock-Running-Balances/m-p/1165062#M917339</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Harshal,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have attached the excel file which has the data.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Shamit&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 18 May 2016 08:33:53 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Stock-Running-Balances/m-p/1165062#M917339</guid>
      <dc:creator>shamitshah</dc:creator>
      <dc:date>2016-05-18T08:33:53Z</dc:date>
    </item>
    <item>
      <title>Re: Stock Running Balances</title>
      <link>https://community.qlik.com/t5/QlikView/Stock-Running-Balances/m-p/1165063#M917340</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;PFA,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;please use below expression for Past 30 days stock ,&lt;/P&gt;&lt;P&gt;rangesum(above(Movement,-30))&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 18 May 2016 08:47:27 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Stock-Running-Balances/m-p/1165063#M917340</guid>
      <dc:creator />
      <dc:date>2016-05-18T08:47:27Z</dc:date>
    </item>
    <item>
      <title>Re: Stock Running Balances</title>
      <link>https://community.qlik.com/t5/QlikView/Stock-Running-Balances/m-p/1165064#M917341</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Harshal,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The result is not what I am expecting.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Your calculations do not show the stock balance on each day, therefore not sure how you can calculate the average stock.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Shamit&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 18 May 2016 09:48:46 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Stock-Running-Balances/m-p/1165064#M917341</guid>
      <dc:creator>shamitshah</dc:creator>
      <dc:date>2016-05-18T09:48:46Z</dc:date>
    </item>
    <item>
      <title>Re: Stock Running Balances</title>
      <link>https://community.qlik.com/t5/QlikView/Stock-Running-Balances/m-p/1165065#M917342</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;based on your existing dates calculation was made with previous table rows .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If possible could you create sample calculation at excel level manually which will help us to track your desired output.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 18 May 2016 09:57:45 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Stock-Running-Balances/m-p/1165065#M917342</guid>
      <dc:creator />
      <dc:date>2016-05-18T09:57:45Z</dc:date>
    </item>
    <item>
      <title>Re: Stock Running Balances</title>
      <link>https://community.qlik.com/t5/QlikView/Stock-Running-Balances/m-p/1165066#M917343</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Try like below for avg stock in last 30 days,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;rangesum(above(Movement,-30))/30 &amp;amp; check your output&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 18 May 2016 10:11:29 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Stock-Running-Balances/m-p/1165066#M917343</guid>
      <dc:creator />
      <dc:date>2016-05-18T10:11:29Z</dc:date>
    </item>
    <item>
      <title>Re: Stock Running Balances</title>
      <link>https://community.qlik.com/t5/QlikView/Stock-Running-Balances/m-p/1165067#M917344</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Please see attached file with sample desired result.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Shamit&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 18 May 2016 11:45:36 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Stock-Running-Balances/m-p/1165067#M917344</guid>
      <dc:creator>shamitshah</dc:creator>
      <dc:date>2016-05-18T11:45:36Z</dc:date>
    </item>
    <item>
      <title>Re: Stock Running Balances</title>
      <link>https://community.qlik.com/t5/QlikView/Stock-Running-Balances/m-p/1165068#M917345</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;File attached below.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Shamit&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 18 May 2016 22:07:38 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Stock-Running-Balances/m-p/1165068#M917345</guid>
      <dc:creator>shamitshah</dc:creator>
      <dc:date>2016-05-18T22:07:38Z</dc:date>
    </item>
    <item>
      <title>Re: Stock Running Balances</title>
      <link>https://community.qlik.com/t5/QlikView/Stock-Running-Balances/m-p/1165069#M917346</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;PFA,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Start of day &amp;amp; End of Day stock calculated.Please verify it.&lt;/P&gt;&lt;P&gt;But, could you please check for past 30 day logic N 3rd row of Excel.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 24 May 2016 09:53:59 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Stock-Running-Balances/m-p/1165069#M917346</guid>
      <dc:creator />
      <dc:date>2016-05-24T09:53:59Z</dc:date>
    </item>
  </channel>
</rss>

