<?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: Cummulating in Scrip with one Month value missing in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Cummulating-in-Scrip-with-one-Month-value-missing/m-p/1291069#M622484</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;May be using, &lt;STRONG&gt;Full accumulation&lt;/STRONG&gt; for Sum(Values) in expression Tab of Straight table, For ref please follow the image&lt;/P&gt;&lt;P&gt;&lt;IMG __jive_id="150356" alt="Capture.PNG" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/150356_Capture.PNG" style="height: 402px; width: 620px;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Or May be expression&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Rangesum(Below(Sum(Values),0),Above(Values,1,1000))&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sat, 21 Jan 2017 20:07:45 GMT</pubDate>
    <dc:creator>Anil_Babu_Samineni</dc:creator>
    <dc:date>2017-01-21T20:07:45Z</dc:date>
    <item>
      <title>Cummulating in Scrip with one Month value missing</title>
      <link>https://community.qlik.com/t5/QlikView/Cummulating-in-Scrip-with-one-Month-value-missing/m-p/1291068#M622483</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;Hi &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have a data with some valued on monthly basis. But for one month value is not there.&lt;/P&gt;&lt;P&gt;Thus when I cummulate the data in script it omits the row for the month which is not having the data. I need the cummulative value for that month also which is not having the value itself.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Original data&lt;/P&gt;&lt;P&gt;&amp;nbsp; &lt;/P&gt;&lt;TABLE border="0" cellpadding="0" cellspacing="0" width="145"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD class="xl67" height="20" width="73"&gt;Month&lt;/TD&gt;&lt;TD class="xl67" style="border-left: none;" width="72"&gt;Values&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD align="right" class="xl66" height="20" style="border-top: none;"&gt;01-04-2015&lt;/TD&gt;&lt;TD align="right" class="xl65" style="border-top: none; border-left: none;"&gt;80615&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD align="right" class="xl66" height="20" style="border-top: none;"&gt;01-05-2015&lt;/TD&gt;&lt;TD align="right" class="xl65" style="border-top: none; border-left: none;"&gt;74193&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD align="right" class="xl66" height="20" style="border-top: none;"&gt;01-06-2015&lt;/TD&gt;&lt;TD align="right" class="xl65" style="border-top: none; border-left: none;"&gt;74193&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD align="right" class="xl66" height="20" style="border-top: none;"&gt;01-07-2015&lt;/TD&gt;&lt;TD align="right" class="xl65" style="border-top: none; border-left: none;"&gt;74193&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD align="right" class="xl66" height="20" style="border-top: none;"&gt;01-08-2015&lt;/TD&gt;&lt;TD align="right" class="xl65" style="border-top: none; border-left: none;"&gt;74193&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD align="right" class="xl66" height="20" style="border-top: none;"&gt;01-09-2015&lt;/TD&gt;&lt;TD align="right" class="xl65" style="border-top: none; border-left: none;"&gt;74193&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD align="right" class="xl66" height="20" style="border-top: none;"&gt;01-10-2015&lt;/TD&gt;&lt;TD align="right" class="xl65" style="border-top: none; border-left: none;"&gt;78336&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD align="right" class="xl66" height="20" style="border-top: none;"&gt;01-11-2015&lt;/TD&gt;&lt;TD align="right" class="xl65" style="border-top: none; border-left: none;"&gt;74193&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD align="right" class="xl66" height="20" style="border-top: none;"&gt;01-12-2015&lt;/TD&gt;&lt;TD align="right" class="xl65" style="border-top: none; border-left: none;"&gt;74193&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD align="right" class="xl66" height="20" style="border-top: none;"&gt;01-01-2016&lt;/TD&gt;&lt;TD align="right" class="xl65" style="border-top: none; border-left: none;"&gt;74893&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD align="right" class="xl66" height="20" style="border-top: none;"&gt;01-03-2016&lt;/TD&gt;&lt;TD align="right" class="xl65" style="border-top: none; border-left: none;"&gt;&lt;P&gt;8357&lt;/P&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Desired result&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;TABLE border="0" cellpadding="0" cellspacing="0" width="206"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD class="xl67" height="20" width="73"&gt;Month&lt;/TD&gt;&lt;TD class="xl67" style="border-left: none;" width="133"&gt;Cummuative Values&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD align="right" class="xl66" height="20" style="border-top: none;"&gt;01-04-2015&lt;/TD&gt;&lt;TD align="right" class="xl65" style="border-top: none; border-left: none;"&gt;80615&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD align="right" class="xl66" height="20" style="border-top: none;"&gt;01-05-2015&lt;/TD&gt;&lt;TD align="right" class="xl65" style="border-top: none; border-left: none;"&gt;154808&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD align="right" class="xl66" height="20" style="border-top: none;"&gt;01-06-2015&lt;/TD&gt;&lt;TD align="right" class="xl65" style="border-top: none; border-left: none;"&gt;229001&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD align="right" class="xl66" height="20" style="border-top: none;"&gt;01-07-2015&lt;/TD&gt;&lt;TD align="right" class="xl65" style="border-top: none; border-left: none;"&gt;303194&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD align="right" class="xl66" height="20" style="border-top: none;"&gt;01-08-2015&lt;/TD&gt;&lt;TD align="right" class="xl65" style="border-top: none; border-left: none;"&gt;377387&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD align="right" class="xl66" height="20" style="border-top: none;"&gt;01-09-2015&lt;/TD&gt;&lt;TD align="right" class="xl65" style="border-top: none; border-left: none;"&gt;451580&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD align="right" class="xl66" height="20" style="border-top: none;"&gt;01-10-2015&lt;/TD&gt;&lt;TD align="right" class="xl65" style="border-top: none; border-left: none;"&gt;529916&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD align="right" class="xl66" height="20" style="border-top: none;"&gt;01-11-2015&lt;/TD&gt;&lt;TD align="right" class="xl65" style="border-top: none; border-left: none;"&gt;604109&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD align="right" class="xl66" height="20" style="border-top: none;"&gt;01-12-2015&lt;/TD&gt;&lt;TD align="right" class="xl65" style="border-top: none; border-left: none;"&gt;678302&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD align="right" class="xl66" height="20" style="border-top: none;"&gt;01-01-2016&lt;/TD&gt;&lt;TD align="right" class="xl65" style="border-top: none; border-left: none;"&gt;753195&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD align="right" class="xl66" height="20" style="border-top: none;"&gt;01-02-2016&lt;/TD&gt;&lt;TD align="right" class="xl65" style="border-top: none; border-left: none;"&gt;753195&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD align="right" class="xl66" height="20" style="border-top: none;"&gt;01-03-2016&lt;/TD&gt;&lt;TD align="right" class="xl65" style="border-top: none; border-left: none;"&gt;761552&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 21 Jan 2017 08:44:01 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Cummulating-in-Scrip-with-one-Month-value-missing/m-p/1291068#M622483</guid>
      <dc:creator>manish_kumar</dc:creator>
      <dc:date>2017-01-21T08:44:01Z</dc:date>
    </item>
    <item>
      <title>Re: Cummulating in Scrip with one Month value missing</title>
      <link>https://community.qlik.com/t5/QlikView/Cummulating-in-Scrip-with-one-Month-value-missing/m-p/1291069#M622484</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;May be using, &lt;STRONG&gt;Full accumulation&lt;/STRONG&gt; for Sum(Values) in expression Tab of Straight table, For ref please follow the image&lt;/P&gt;&lt;P&gt;&lt;IMG __jive_id="150356" alt="Capture.PNG" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/150356_Capture.PNG" style="height: 402px; width: 620px;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Or May be expression&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Rangesum(Below(Sum(Values),0),Above(Values,1,1000))&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 21 Jan 2017 20:07:45 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Cummulating-in-Scrip-with-one-Month-value-missing/m-p/1291069#M622484</guid>
      <dc:creator>Anil_Babu_Samineni</dc:creator>
      <dc:date>2017-01-21T20:07:45Z</dc:date>
    </item>
    <item>
      <title>Re: Cummulating in Scrip with one Month value missing</title>
      <link>https://community.qlik.com/t5/QlikView/Cummulating-in-Scrip-with-one-Month-value-missing/m-p/1291070#M622485</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks for the reply.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I need this work to be done in Back end only. Because I have to apply further logics on Cummulative values. &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 21 Jan 2017 20:14:17 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Cummulating-in-Scrip-with-one-Month-value-missing/m-p/1291070#M622485</guid>
      <dc:creator>manish_kumar</dc:creator>
      <dc:date>2017-01-21T20:14:17Z</dc:date>
    </item>
    <item>
      <title>Re: Cummulating in Scrip with one Month value missing</title>
      <link>https://community.qlik.com/t5/QlikView/Cummulating-in-Scrip-with-one-Month-value-missing/m-p/1291071#M622486</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Manish, having a calendar can help generating the missing months:&lt;/P&gt;&lt;P&gt;Data:&lt;/P&gt;&lt;P&gt;LOAD Date#(Month, 'DD-MM-YYYY') as Month, Values Inline [&lt;/P&gt;&lt;P&gt;Month, Values&lt;/P&gt;&lt;P&gt;01-04-2015, 80615&lt;/P&gt;&lt;P&gt;01-05-2015, 74193&lt;/P&gt;&lt;P&gt;01-06-2015, 74193&lt;/P&gt;&lt;P&gt;01-07-2015, 74193&lt;/P&gt;&lt;P&gt;01-08-2015, 74193&lt;/P&gt;&lt;P&gt;01-09-2015, 74193&lt;/P&gt;&lt;P&gt;01-10-2015, 78336&lt;/P&gt;&lt;P&gt;01-11-2015, 74193&lt;/P&gt;&lt;P&gt;01-12-2015, 74193&lt;/P&gt;&lt;P&gt;01-01-2016, 74893&lt;/P&gt;&lt;P&gt;01-03-2016, 8357&lt;/P&gt;&lt;P&gt;];&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Calendar:&lt;/P&gt;&lt;P&gt;Load Date(AddMonths(MinMonth, IterNo())) as Month While MaxMonth &amp;gt;= AddMonths(MinMonth, IterNo()); &lt;/P&gt;&lt;P&gt;LOAD Min(Month) as MinMonth,&lt;/P&gt;&lt;P&gt;&amp;nbsp; Max(Month) as MaxMonth&lt;/P&gt;&lt;P&gt;Resident Data;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Maybe you need to uncheck the 'Supress zero values' option in presentation tab.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;To know more about missing data: &lt;A href="https://community.qlik.com/docs/DOC-3786"&gt;Generating Missing Data In QlikView&lt;/A&gt;&lt;/P&gt;&lt;P&gt;And about calendars: &lt;A href="https://community.qlik.com/docs/DOC-8843"&gt;How to use - Master-Calendar and Date-Values&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 21 Jan 2017 22:08:36 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Cummulating-in-Scrip-with-one-Month-value-missing/m-p/1291071#M622486</guid>
      <dc:creator>rubenmarin</dc:creator>
      <dc:date>2017-01-21T22:08:36Z</dc:date>
    </item>
    <item>
      <title>Re: Cummulating in Scrip with one Month value missing</title>
      <link>https://community.qlik.com/t5/QlikView/Cummulating-in-Scrip-with-one-Month-value-missing/m-p/1291072#M622487</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;It uses the principle of creating a Master-Calendar.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Month:&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN style="color: #99cc00;"&gt;//Generate the first day of the month date&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;LOAD&lt;/P&gt;&lt;P&gt;AddMonths(Date('01.04.2015'), RecNo() - 1) as Month&lt;/P&gt;&lt;P&gt;autogenerate 12;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Left Join&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN style="color: #99cc00;"&gt;//Left connection load the raw data&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;LOAD*Inline&lt;/P&gt;&lt;P&gt;[&lt;/P&gt;&lt;P&gt;Month, Values&lt;/P&gt;&lt;P&gt;01.04.2015, 80615&lt;/P&gt;&lt;P&gt;01.05.2015, 74193&lt;/P&gt;&lt;P&gt;01.06.2015, 74193&lt;/P&gt;&lt;P&gt;01.07.2015, 74193&lt;/P&gt;&lt;P&gt;01.08.2015, 74193&lt;/P&gt;&lt;P&gt;01.09.2015, 74193&lt;/P&gt;&lt;P&gt;01.10.2015, 78336&lt;/P&gt;&lt;P&gt;01.11.2015, 74193&lt;/P&gt;&lt;P&gt;01.12.2015, 74193&lt;/P&gt;&lt;P&gt;01.01.2016, 74893&lt;/P&gt;&lt;P&gt;01.03.2016, 8357&lt;/P&gt;&lt;P&gt;];&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Table1:&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN style="color: #99cc00;"&gt;//Form a table with a cumulative sum&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;NoConcatenate&lt;/P&gt;&lt;P&gt;LOAD*,&lt;/P&gt;&lt;P&gt;Rangesum(Values, peek('CummuativeValues')) as CummuativeValues&lt;/P&gt;&lt;P&gt;Resident Month;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DROP Table Month;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The result is a table&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="2.jpg" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/150453_2.jpg" style="height: auto;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If the &lt;SPAN style="color: #808080; font-size: 13.3333px;"&gt;raw&lt;/SPAN&gt; data is loaded from an external source (for example, file xls), the end result can be formed at once by making a left connection with the accumulation the sum.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Andrey&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 23 Jan 2017 13:36:44 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Cummulating-in-Scrip-with-one-Month-value-missing/m-p/1291072#M622487</guid>
      <dc:creator>ahaahaaha</dc:creator>
      <dc:date>2017-01-23T13:36:44Z</dc:date>
    </item>
  </channel>
</rss>

