<?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: Set Analysis Questions: Cumulative function in the past in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Set-Analysis-Questions-Cumulative-function-in-the-past/m-p/601475#M477189</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Marc,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;the best idea for those type of questions is to attach sample application. It will let somebody to see your data model, data, etc. It is much easier to help.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Darek&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 13 May 2014 19:47:04 GMT</pubDate>
    <dc:creator />
    <dc:date>2014-05-13T19:47:04Z</dc:date>
    <item>
      <title>Set Analysis Questions: Cumulative function in the past</title>
      <link>https://community.qlik.com/t5/QlikView/Set-Analysis-Questions-Cumulative-function-in-the-past/m-p/601469#M477183</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I want to compare a period of this year with the same period last year.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For example: Jan, Feb, Mrt 2014 vs Jan, Feb, Mrt 2013.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have now the following, but it doesn't work proper:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN lang="EN-US" style="font-size: 9.0pt; font-family: 'Courier New'; color: blue;"&gt;sum&lt;/SPAN&gt;&lt;SPAN lang="EN-US" style="font-size: 9.0pt; font-family: 'Courier New'; color: black;"&gt;({$&amp;lt;&lt;/SPAN&gt;&lt;SPAN lang="EN-US" style="font-size: 9.0pt; font-family: 'Courier New'; color: maroon;"&gt;Date&lt;/SPAN&gt;&lt;SPAN lang="EN-US" style="font-size: 9.0pt; font-family: 'Courier New'; color: black;"&gt; = {&lt;/SPAN&gt;&lt;SPAN lang="EN-US" style="font-size: 9.0pt; font-family: 'Courier New'; color: maroon;"&gt;"&amp;gt;=$(=Date(addyears(Min(Date), -1)))"&lt;/SPAN&gt;&lt;SPAN lang="EN-US" style="font-size: 9.0pt; font-family: 'Courier New'; color: black;"&gt;}, &lt;/SPAN&gt;&lt;SPAN lang="EN-US" style="font-size: 9.0pt; font-family: 'Courier New'; color: maroon;"&gt;Date&lt;/SPAN&gt;&lt;SPAN lang="EN-US" style="font-size: 9.0pt; font-family: 'Courier New'; color: black;"&gt; -= {&lt;/SPAN&gt;&lt;SPAN lang="EN-US" style="font-size: 9.0pt; font-family: 'Courier New'; color: maroon;"&gt;"&amp;lt;=$(=Date(addyears(Max(Date), -1)))"&lt;/SPAN&gt;&lt;SPAN lang="EN-US" style="font-size: 9.0pt; font-family: 'Courier New'; color: black;"&gt;}&amp;gt;}visitors) &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN lang="EN-US" style="font-size: 9.0pt; font-family: 'Courier New'; color: black;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN lang="EN-US" style="font-size: 9.0pt; font-family: 'Courier New'; color: black;"&gt;It is on expressions level and has to work wiht selections.&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN lang="EN-US" style="font-size: 9.0pt; font-family: 'Courier New'; color: black;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN lang="EN-US" style="font-size: 9.0pt; font-family: 'Courier New'; color: black;"&gt;Can you give a suggestion what to change?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN lang="EN-US" style="font-size: 9.0pt; font-family: 'Courier New'; color: black;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN lang="EN-US" style="font-size: 9.0pt; font-family: 'Courier New'; color: black;"&gt;Thanks,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN lang="EN-US" style="font-size: 9.0pt; font-family: 'Courier New'; color: black;"&gt;Marc&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 06 May 2014 10:02:24 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-Analysis-Questions-Cumulative-function-in-the-past/m-p/601469#M477183</guid>
      <dc:creator />
      <dc:date>2014-05-06T10:02:24Z</dc:date>
    </item>
    <item>
      <title>Re: Set Analysis Questions: Cumulative function in the past</title>
      <link>https://community.qlik.com/t5/QlikView/Set-Analysis-Questions-Cumulative-function-in-the-past/m-p/601470#M477184</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Look here:&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.qlik.com/message/518972"&gt;Re: Set analysis with sequence numbers (go back twelve months)&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.qlik.com/message/517085"&gt;Re: compare data with month from previous year&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards&lt;/P&gt;&lt;P&gt;Darek&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 06 May 2014 10:07:26 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-Analysis-Questions-Cumulative-function-in-the-past/m-p/601470#M477184</guid>
      <dc:creator />
      <dc:date>2014-05-06T10:07:26Z</dc:date>
    </item>
    <item>
      <title>Re: Set Analysis Questions: Cumulative function in the past</title>
      <link>https://community.qlik.com/t5/QlikView/Set-Analysis-Questions-Cumulative-function-in-the-past/m-p/601471#M477185</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Dariusz,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I look into your answer. And use these functions, but it didn't work. I must also use selections on Date,MonthYear, Year.&lt;/P&gt;&lt;P&gt;Can anyone help my furhter?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Marc&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 13 May 2014 10:00:16 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-Analysis-Questions-Cumulative-function-in-the-past/m-p/601471#M477185</guid>
      <dc:creator />
      <dc:date>2014-05-13T10:00:16Z</dc:date>
    </item>
    <item>
      <title>Re: Set Analysis Questions: Cumulative function in the past</title>
      <link>https://community.qlik.com/t5/QlikView/Set-Analysis-Questions-Cumulative-function-in-the-past/m-p/601472#M477186</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN lang="EN-US" style="font-size: 9.0pt; font-family: 'Courier New'; color: blue;"&gt;try this:&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN lang="EN-US" style="font-size: 9.0pt; font-family: 'Courier New'; color: blue;"&gt;sum&lt;/SPAN&gt;&lt;SPAN lang="EN-US" style="font-size: 9.0pt; font-family: 'Courier New'; color: black;"&gt;({$&amp;lt;&lt;/SPAN&gt;&lt;SPAN lang="EN-US" style="font-size: 9.0pt; font-family: 'Courier New'; color: maroon;"&gt;Date&lt;/SPAN&gt;&lt;SPAN lang="EN-US" style="font-size: 9.0pt; font-family: 'Courier New'; color: black;"&gt; = {&lt;/SPAN&gt;&lt;SPAN lang="EN-US" style="font-size: 9.0pt; font-family: 'Courier New'; color: maroon;"&gt;"&amp;gt;=$(=Date(addyears(Min(Date), -1)))&lt;/SPAN&gt;&lt;SPAN lang="EN-US" style="font-size: 9.0pt; font-family: 'Courier New'; color: maroon;"&gt;&amp;lt;=$(=Date(addyears(Max(Date), -1)))"&lt;/SPAN&gt;&lt;SPAN lang="EN-US" style="font-size: 9.0pt; font-family: 'Courier New'; color: black;"&gt;}&amp;gt;}visitors) &lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 13 May 2014 12:31:37 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-Analysis-Questions-Cumulative-function-in-the-past/m-p/601472#M477186</guid>
      <dc:creator />
      <dc:date>2014-05-13T12:31:37Z</dc:date>
    </item>
    <item>
      <title>Re: Set Analysis Questions: Cumulative function in the past</title>
      <link>https://community.qlik.com/t5/QlikView/Set-Analysis-Questions-Cumulative-function-in-the-past/m-p/601473#M477187</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;This works for the date selction, but not for the MonthYear, Year selection. Is that also possible?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 13 May 2014 15:02:59 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-Analysis-Questions-Cumulative-function-in-the-past/m-p/601473#M477187</guid>
      <dc:creator />
      <dc:date>2014-05-13T15:02:59Z</dc:date>
    </item>
    <item>
      <title>Re: Set Analysis Questions: Cumulative function in the past</title>
      <link>https://community.qlik.com/t5/QlikView/Set-Analysis-Questions-Cumulative-function-in-the-past/m-p/601474#M477188</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Soory, the date function look likes it work but it doesn't. It gives the same result as current year selection.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 13 May 2014 15:08:39 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-Analysis-Questions-Cumulative-function-in-the-past/m-p/601474#M477188</guid>
      <dc:creator />
      <dc:date>2014-05-13T15:08:39Z</dc:date>
    </item>
    <item>
      <title>Re: Set Analysis Questions: Cumulative function in the past</title>
      <link>https://community.qlik.com/t5/QlikView/Set-Analysis-Questions-Cumulative-function-in-the-past/m-p/601475#M477189</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Marc,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;the best idea for those type of questions is to attach sample application. It will let somebody to see your data model, data, etc. It is much easier to help.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Darek&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 13 May 2014 19:47:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-Analysis-Questions-Cumulative-function-in-the-past/m-p/601475#M477189</guid>
      <dc:creator />
      <dc:date>2014-05-13T19:47:04Z</dc:date>
    </item>
    <item>
      <title>Re: Set Analysis Questions: Cumulative function in the past</title>
      <link>https://community.qlik.com/t5/QlikView/Set-Analysis-Questions-Cumulative-function-in-the-past/m-p/601476#M477190</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The one which works now is:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;sum({$&amp;lt;date = {"&amp;gt;=$(=date(addyears(Min(date), -1))) &amp;lt;=$(=date(addyears(Max(date), -1)))"},&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 19 May 2014 09:49:46 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-Analysis-Questions-Cumulative-function-in-the-past/m-p/601476#M477190</guid>
      <dc:creator />
      <dc:date>2014-05-19T09:49:46Z</dc:date>
    </item>
    <item>
      <title>Re: Set Analysis Questions: Cumulative function in the past</title>
      <link>https://community.qlik.com/t5/QlikView/Set-Analysis-Questions-Cumulative-function-in-the-past/m-p/601477#M477191</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Marc,&lt;/P&gt;&lt;P&gt;try to replace sum({$&amp;lt;date... with sum({&lt;STRONG&gt;1&amp;lt;&lt;/STRONG&gt;date...&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 19 May 2014 10:22:46 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-Analysis-Questions-Cumulative-function-in-the-past/m-p/601477#M477191</guid>
      <dc:creator>antoniotiman</dc:creator>
      <dc:date>2014-05-19T10:22:46Z</dc:date>
    </item>
    <item>
      <title>Re: Set Analysis Questions: Cumulative function in the past</title>
      <link>https://community.qlik.com/t5/QlikView/Set-Analysis-Questions-Cumulative-function-in-the-past/m-p/601478#M477192</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;you are almost there , you have to ignore the selections , since you already used the field named "Date" see below &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN lang="EN-US" style="font-size: 9pt; font-family: 'Courier New'; color: blue;"&gt;sum&lt;/SPAN&gt;&lt;SPAN lang="EN-US" style="font-size: 9pt; font-family: 'Courier New'; color: black;"&gt;({$&amp;lt;&lt;/SPAN&gt;&lt;SPAN lang="EN-US" style="font-size: 9pt; font-family: 'Courier New'; color: maroon;"&gt;Date&lt;/SPAN&gt;&lt;SPAN lang="EN-US" style="font-size: 9pt; font-family: 'Courier New'; color: black;"&gt; = {&lt;/SPAN&gt;&lt;SPAN lang="EN-US" style="font-size: 9pt; font-family: 'Courier New'; color: maroon;"&gt;"&amp;gt;=$(=Date(addyears(Min(Date), -1)))&lt;/SPAN&gt;&lt;SPAN lang="EN-US" style="font-size: 9pt; font-family: 'Courier New'; color: maroon;"&gt;&amp;lt;=$(=Date(addyears(Max(Date), -1)))"&lt;/SPAN&gt;&lt;SPAN lang="EN-US" style="font-size: 9pt; font-family: 'Courier New'; color: black;"&gt;},Year=,Month=,Quarter=&amp;gt;}visitors)&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 19 May 2014 11:04:06 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-Analysis-Questions-Cumulative-function-in-the-past/m-p/601478#M477192</guid>
      <dc:creator>preminqlik</dc:creator>
      <dc:date>2014-05-19T11:04:06Z</dc:date>
    </item>
  </channel>
</rss>

