<?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: Previous in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Previous/m-p/929811#M967898</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Sunny,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for you reply. your solution is correct but my requirement is little bit change. Hope you dont mind.&lt;/P&gt;&lt;P&gt;Now I want to sum of all sales for all previous date&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For example&lt;/P&gt;&lt;P&gt;if I select 01/05/2015 then Presales would be 1000.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 24 Sep 2015 06:22:35 GMT</pubDate>
    <dc:creator>soha1902</dc:creator>
    <dc:date>2015-09-24T06:22:35Z</dc:date>
    <item>
      <title>Previous</title>
      <link>https://community.qlik.com/t5/QlikView/Previous/m-p/929807#M967894</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi All,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have following Data:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style=": ; color: #0000ff; font-size: 8pt;"&gt;Load&lt;/STRONG&gt;&lt;SPAN style="font-size: 8pt;"&gt; * &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;Inline&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;[&lt;BR /&gt;Date,Sales&lt;BR /&gt;12/12/2014,50&lt;BR /&gt; 01/01/2015,100&lt;BR /&gt;01/02/2015,200&lt;BR /&gt;01/03/2015,300&lt;BR /&gt;01/04/2015,500&lt;BR /&gt;01/05/2015,600 ]&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;;&lt;BR /&gt;&lt;BR /&gt;Tab1:&lt;BR /&gt;&lt;/SPAN&gt;&lt;STRONG style=": ; color: #0000ff; font-size: 8pt;"&gt;Load&lt;/STRONG&gt;&lt;SPAN style="font-size: 8pt;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;Date&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;as&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;Date&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;,&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;Sales&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;as&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;Sales&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;,&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;Previous&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;Previous&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;Sales&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;)) &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;as&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;PreSales&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;Resident&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; Tab;&lt;BR /&gt;&lt;/SPAN&gt;&lt;STRONG style=": ; color: #0000ff; font-size: 8pt;"&gt;Drop&lt;/STRONG&gt;&lt;SPAN style="font-size: 8pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;Table&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; Tab; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;As of now in "Presales" column I am getting values of last 2 days but in future this value will be change for last 5 or some other number.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;So please let me the dynamic way which I can use in place of previous.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 24 Sep 2015 05:03:50 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Previous/m-p/929807#M967894</guid>
      <dc:creator>soha1902</dc:creator>
      <dc:date>2015-09-24T05:03:50Z</dc:date>
    </item>
    <item>
      <title>Re: Previous</title>
      <link>https://community.qlik.com/t5/QlikView/Previous/m-p/929808#M967895</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;May be use &lt;STRONG&gt;Peek&lt;/STRONG&gt; instead of &lt;STRONG&gt;Previous&lt;/STRONG&gt; where you can specify how much back you want to go.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 24 Sep 2015 05:39:39 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Previous/m-p/929808#M967895</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2015-09-24T05:39:39Z</dc:date>
    </item>
    <item>
      <title>Re: Previous</title>
      <link>https://community.qlik.com/t5/QlikView/Previous/m-p/929809#M967896</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Try this script:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Tab:&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Load * Inline [&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Date, Sales&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;12/12/2014, 50&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;01/01/2015, 100&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;01/02/2015, 200&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;01/03/2015, 300&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;01/04/2015, 500&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;01/05/2015, 600&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;];&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;LET vBack = -3;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Tab1:&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Load Date,&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp; Sales,&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp; Peek(Sales, $(vBack)) as PreSales&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Resident Tab;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Drop Table Tab;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Here you can set value for vBack before running the script.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 24 Sep 2015 05:49:46 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Previous/m-p/929809#M967896</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2015-09-24T05:49:46Z</dc:date>
    </item>
    <item>
      <title>Re: Previous</title>
      <link>https://community.qlik.com/t5/QlikView/Previous/m-p/929810#M967897</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi &lt;A href="https://community.qlik.com/qlik-users/148132"&gt;soha1902&lt;/A&gt;‌&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;you can use the code given below for the sum of previous two days.And let me know for more information&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Tab1:&lt;/P&gt;&lt;P&gt;Load&lt;/P&gt;&lt;P&gt;Date as Date,&lt;/P&gt;&lt;P&gt;Sales as Sales,&lt;/P&gt;&lt;P&gt;Rangesum(Peek(Sales,-2),Previous(Sales)) as PreSales&lt;/P&gt;&lt;P&gt;Resident Tab;&lt;/P&gt;&lt;P&gt;Drop Table Tab;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 24 Sep 2015 05:57:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Previous/m-p/929810#M967897</guid>
      <dc:creator />
      <dc:date>2015-09-24T05:57:04Z</dc:date>
    </item>
    <item>
      <title>Re: Previous</title>
      <link>https://community.qlik.com/t5/QlikView/Previous/m-p/929811#M967898</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Sunny,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for you reply. your solution is correct but my requirement is little bit change. Hope you dont mind.&lt;/P&gt;&lt;P&gt;Now I want to sum of all sales for all previous date&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For example&lt;/P&gt;&lt;P&gt;if I select 01/05/2015 then Presales would be 1000.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 24 Sep 2015 06:22:35 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Previous/m-p/929811#M967898</guid>
      <dc:creator>soha1902</dc:creator>
      <dc:date>2015-09-24T06:22:35Z</dc:date>
    </item>
    <item>
      <title>Re: Previous</title>
      <link>https://community.qlik.com/t5/QlikView/Previous/m-p/929812#M967899</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;This can be done more easily in front end? Are you looking specifically for a back end solution?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 24 Sep 2015 06:27:44 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Previous/m-p/929812#M967899</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2015-09-24T06:27:44Z</dc:date>
    </item>
    <item>
      <title>Re: Previous</title>
      <link>https://community.qlik.com/t5/QlikView/Previous/m-p/929813#M967900</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi &lt;A href="https://community.qlik.com/qlik-users/148132"&gt;soha1902&lt;/A&gt;‌,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;you can use the below code for the sum of all the previous days on script.&lt;/P&gt;&lt;P&gt;Tab1:&lt;/P&gt;&lt;P&gt;Load&lt;/P&gt;&lt;P&gt;Date as Date,&lt;/P&gt;&lt;P&gt;Sales as Sales,&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;RangeSum(Previous(Sales),Peek(Sales,0))&amp;nbsp; as SumofallPreviousDays&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;Resident Tab;&lt;/P&gt;&lt;P&gt;Drop Table Tab;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 24 Sep 2015 06:34:58 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Previous/m-p/929813#M967900</guid>
      <dc:creator />
      <dc:date>2015-09-24T06:34:58Z</dc:date>
    </item>
    <item>
      <title>Re: Previous</title>
      <link>https://community.qlik.com/t5/QlikView/Previous/m-p/929814#M967901</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yes Back End Solution only&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 24 Sep 2015 06:38:59 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Previous/m-p/929814#M967901</guid>
      <dc:creator>soha1902</dc:creator>
      <dc:date>2015-09-24T06:38:59Z</dc:date>
    </item>
    <item>
      <title>Re: Previous</title>
      <link>https://community.qlik.com/t5/QlikView/Previous/m-p/929815#M967902</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Do you know how much back you would be adding? Is it going to be dynamic?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 24 Sep 2015 06:49:13 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Previous/m-p/929815#M967902</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2015-09-24T06:49:13Z</dc:date>
    </item>
    <item>
      <title>Re: Previous</title>
      <link>https://community.qlik.com/t5/QlikView/Previous/m-p/929816#M967903</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;As of now 4 only&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 24 Sep 2015 06:55:21 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Previous/m-p/929816#M967903</guid>
      <dc:creator>soha1902</dc:creator>
      <dc:date>2015-09-24T06:55:21Z</dc:date>
    </item>
    <item>
      <title>Re: Previous</title>
      <link>https://community.qlik.com/t5/QlikView/Previous/m-p/929817#M967904</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;it gives only sum of previus(Sales) + First value of sales. but I want sum of previous, plus all the record till first record.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 24 Sep 2015 07:08:17 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Previous/m-p/929817#M967904</guid>
      <dc:creator>soha1902</dc:creator>
      <dc:date>2015-09-24T07:08:17Z</dc:date>
    </item>
    <item>
      <title>Re: Previous</title>
      <link>https://community.qlik.com/t5/QlikView/Previous/m-p/929818#M967905</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;This?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="Capture.PNG" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/99916_Capture.PNG" style="height: auto;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Tab:&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Load * Inline [&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Date, Sales&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;12/12/2014, 50&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;01/01/2015, 100&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;01/02/2015, 200&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;01/03/2015, 300&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;01/04/2015, 500&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;01/05/2015, 600&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;];&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Tab1:&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Load Date,&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp; Sales,&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp; RangeSum(Peek(Sales, -1), Peek(Sales, -2), Peek(Sales, -3)) as PreSales&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Resident Tab;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Drop Table Tab;&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 24 Sep 2015 07:20:38 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Previous/m-p/929818#M967905</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2015-09-24T07:20:38Z</dc:date>
    </item>
    <item>
      <title>Re: Previous</title>
      <link>https://community.qlik.com/t5/QlikView/Previous/m-p/929819#M967906</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi There,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;are you looking something like...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;RangeSum(Previous(Sales),Peek(Sales)) as PreSales..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;which will give you 1000 if you select 01/05/2015..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Happy to help&lt;/P&gt;&lt;P&gt;Sreeni&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 24 Sep 2015 07:21:57 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Previous/m-p/929819#M967906</guid>
      <dc:creator>SreeniJD</dc:creator>
      <dc:date>2015-09-24T07:21:57Z</dc:date>
    </item>
    <item>
      <title>Re: Previous</title>
      <link>https://community.qlik.com/t5/QlikView/Previous/m-p/929820#M967907</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Something like this - &lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Tab1:&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Load&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Date as Date,&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Sales as Sales,&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 10pt; font-family: inherit;"&gt;RangeSum(Sales,Peek('PrevSales',-1)) as PrevSales&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Resident Tab;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Drop Table Tab;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 24 Sep 2015 07:23:32 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Previous/m-p/929820#M967907</guid>
      <dc:creator>Digvijay_Singh</dc:creator>
      <dc:date>2015-09-24T07:23:32Z</dc:date>
    </item>
    <item>
      <title>Re: Previous</title>
      <link>https://community.qlik.com/t5/QlikView/Previous/m-p/929821#M967908</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi soha&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please see below post:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.qlik.com/docs/DOC-9314"&gt;Peek() or Previous() ?&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 24 Sep 2015 07:31:09 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Previous/m-p/929821#M967908</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-09-24T07:31:09Z</dc:date>
    </item>
    <item>
      <title>Re: Previous</title>
      <link>https://community.qlik.com/t5/QlikView/Previous/m-p/929822#M967909</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Soha -&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Are you looking for the desired results as mentioned in below tables (1st refers to presales by year, second one is across years)... Please clarify.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;TABLE border="0" cellpadding="0" cellspacing="0" style="width: 149px;"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD class="xl63" height="17" width="62"&gt;Date&lt;/TD&gt;&lt;TD class="xl63" style="border-left: none;" width="34"&gt;Sales&lt;/TD&gt;&lt;TD class="xl63" style="border-left: none;" width="53"&gt;PreSales&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl64" height="17" style="border-top: none;"&gt;12/12/2014&lt;/TD&gt;&lt;TD class="xl64" style="border-top: none; border-left: none;"&gt;50&lt;/TD&gt;&lt;TD align="right" class="xl65" style="border-top: none; border-left: none;"&gt;0&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl64" height="17" style="border-top: none;"&gt;01/01/2015&lt;/TD&gt;&lt;TD class="xl64" style="border-top: none; border-left: none;"&gt;100&lt;/TD&gt;&lt;TD align="right" class="xl65" style="border-top: none; border-left: none;"&gt;0&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl64" height="17" style="border-top: none;"&gt;01/02/2015&lt;/TD&gt;&lt;TD class="xl64" style="border-top: none; border-left: none;"&gt;200&lt;/TD&gt;&lt;TD align="right" class="xl65" style="border-top: none; border-left: none;"&gt;100&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl64" height="17" style="border-top: none;"&gt;01/03/2015&lt;/TD&gt;&lt;TD class="xl64" style="border-top: none; border-left: none;"&gt;300&lt;/TD&gt;&lt;TD align="right" class="xl65" style="border-top: none; border-left: none;"&gt;300&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl64" height="17" style="border-top: none;"&gt;01/04/2015&lt;/TD&gt;&lt;TD class="xl64" style="border-top: none; border-left: none;"&gt;500&lt;/TD&gt;&lt;TD align="right" class="xl65" style="border-top: none; border-left: none;"&gt;600&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl64" height="17" style="border-top: none;"&gt;01/05/2015&lt;/TD&gt;&lt;TD class="xl64" style="border-top: none; border-left: none;"&gt;600&lt;/TD&gt;&lt;TD align="right" class="xl65" style="border-top: none; border-left: none;"&gt;1100&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl63" height="17"&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Date&lt;/P&gt;&lt;/TD&gt;&lt;TD class="xl63" style="border-left: none;"&gt;Sales&lt;/TD&gt;&lt;TD class="xl63" style="border-left: none;"&gt;PreSales&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl64" height="17" style="border-top: none;"&gt;12/12/2014&lt;/TD&gt;&lt;TD class="xl64" style="border-top: none; border-left: none;"&gt;50&lt;/TD&gt;&lt;TD align="right" class="xl65" style="border-top: none; border-left: none;"&gt;0&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl64" height="17" style="border-top: none;"&gt;01/01/2015&lt;/TD&gt;&lt;TD class="xl64" style="border-top: none; border-left: none;"&gt;100&lt;/TD&gt;&lt;TD align="right" class="xl65" style="border-top: none; border-left: none;"&gt;50&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl64" height="17" style="border-top: none;"&gt;01/02/2015&lt;/TD&gt;&lt;TD class="xl64" style="border-top: none; border-left: none;"&gt;200&lt;/TD&gt;&lt;TD align="right" class="xl65" style="border-top: none; border-left: none;"&gt;150&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl64" height="17" style="border-top: none;"&gt;01/03/2015&lt;/TD&gt;&lt;TD class="xl64" style="border-top: none; border-left: none;"&gt;300&lt;/TD&gt;&lt;TD align="right" class="xl65" style="border-top: none; border-left: none;"&gt;350&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl64" height="17" style="border-top: none;"&gt;01/04/2015&lt;/TD&gt;&lt;TD class="xl64" style="border-top: none; border-left: none;"&gt;500&lt;/TD&gt;&lt;TD align="right" class="xl65" style="border-top: none; border-left: none;"&gt;650&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl64" height="17" style="border-top: none;"&gt;01/05/2015&lt;/TD&gt;&lt;TD class="xl64" style="border-top: none; border-left: none;"&gt;600&lt;/TD&gt;&lt;TD align="right" class="xl65" style="border-top: none; border-left: none;"&gt;1150&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Sreeni&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 24 Sep 2015 07:43:21 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Previous/m-p/929822#M967909</guid>
      <dc:creator>SreeniJD</dc:creator>
      <dc:date>2015-09-24T07:43:21Z</dc:date>
    </item>
    <item>
      <title>Re: Previous</title>
      <link>https://community.qlik.com/t5/QlikView/Previous/m-p/929823#M967910</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;This is correct sunny. I am looking the same but suppose I want to add last 30 days then I need to write 30 Peek(). How I will do the same in dynamically.&lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 24 Sep 2015 07:49:54 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Previous/m-p/929823#M967910</guid>
      <dc:creator>soha1902</dc:creator>
      <dc:date>2015-09-24T07:49:54Z</dc:date>
    </item>
    <item>
      <title>Re: Previous</title>
      <link>https://community.qlik.com/t5/QlikView/Previous/m-p/929824#M967911</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;For dynamic solution, you might have to use Loop. I don't think there is an easier solution.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best,&lt;/P&gt;&lt;P&gt;Sunny&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 24 Sep 2015 07:51:06 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Previous/m-p/929824#M967911</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2015-09-24T07:51:06Z</dc:date>
    </item>
  </channel>
</rss>

