<?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 Comparing years without using set analysis in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Comparing-years-without-using-set-analysis/m-p/189980#M504223</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE class="jive_text_macro jive_macro_quote" jivemacro="quote"&gt;&lt;BR /&gt;oxioFRT wrote:&lt;BR /&gt;Well, to be honest I have no problem with the syntax but don't really agree with the principle which is just opposite to Qlikview nature...&lt;BR /&gt;As soon as I use set analysis, I have to force some selection to be available (in the exemple, a year should always be selected to be able to use this selected year as a reference). It implies to change the whole method of achieving an application.&lt;BR /&gt;Thanks however for your help. Are you a fan of set analysis ? I am not, if so I would probably sell Business Objects ... (but I really prefer Qlikview &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt; )&amp;lt;div&amp;gt;&amp;lt;/div&amp;gt;&lt;/PRE&gt;&lt;BR /&gt;&lt;BR /&gt; &lt;P&gt;oxio,&lt;/P&gt;&lt;P&gt;Actually, this isn't necessarily true. In the application below, one of our consultants demonstrates how to do period calculations based on flags (pre-Set Analysis), standard Set Analysis (which, like you describe, requires a user to select periods to compare), and most importantly, something he calls "Advanced Dynamic Set Analysis", which works regardless of selections. Please download it and let us know what you think:&lt;/P&gt;&lt;P&gt;&lt;A href="http://community.qlik.com/media/p/82595.aspx"&gt;http://community.qlik.com/media/p/82595.aspx&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 17 Dec 2009 08:03:44 GMT</pubDate>
    <dc:creator />
    <dc:date>2009-12-17T08:03:44Z</dc:date>
    <item>
      <title>Comparing years without using set analysis</title>
      <link>https://community.qlik.com/t5/QlikView/Comparing-years-without-using-set-analysis/m-p/189972#M504215</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I would like to create a chart displaying an indicator / year. A new column should contain the value for the previous year. As soon as I wouldn't like to force a selection, it should work without using set analysis. It should also work if the sort on year change (should therfore not use below and above).&lt;BR /&gt;Does a formula like that exists in Qlikview :&lt;BR /&gt;Indicator N-1 = value of indicator for the dimension minus 1&lt;/P&gt;&lt;P&gt;Year Indicator Indicator N-1&lt;/P&gt;&lt;P&gt;2007 90 -&lt;/P&gt;&lt;P&gt;2008 100 90&lt;/P&gt;&lt;P&gt;2009 143 100&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 16 Dec 2009 20:53:11 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Comparing-years-without-using-set-analysis/m-p/189972#M504215</guid>
      <dc:creator>oxiofrt</dc:creator>
      <dc:date>2009-12-16T20:53:11Z</dc:date>
    </item>
    <item>
      <title>Comparing years without using set analysis</title>
      <link>https://community.qlik.com/t5/QlikView/Comparing-years-without-using-set-analysis/m-p/189973#M504216</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Is that what you need ?&lt;BR /&gt;&lt;BR /&gt;(look in inter-records Expressions functions like above).&lt;/P&gt;&lt;P&gt;Best regards&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 16 Dec 2009 21:41:08 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Comparing-years-without-using-set-analysis/m-p/189973#M504216</guid>
      <dc:creator />
      <dc:date>2009-12-16T21:41:08Z</dc:date>
    </item>
    <item>
      <title>Comparing years without using set analysis</title>
      <link>https://community.qlik.com/t5/QlikView/Comparing-years-without-using-set-analysis/m-p/189974#M504217</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks a lot for your answer.&lt;/P&gt;&lt;P&gt;But it is not what I need as the use of above function doesn't work anymaore as soon as the sorting on column année is changed.&lt;/P&gt;&lt;P&gt;I am looking for a function which would not be dependant from the sort but would return a value for the value of the dimension minus 1&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 16 Dec 2009 21:51:48 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Comparing-years-without-using-set-analysis/m-p/189974#M504217</guid>
      <dc:creator>oxiofrt</dc:creator>
      <dc:date>2009-12-16T21:51:48Z</dc:date>
    </item>
    <item>
      <title>Comparing years without using set analysis</title>
      <link>https://community.qlik.com/t5/QlikView/Comparing-years-without-using-set-analysis/m-p/189975#M504218</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Sorry for the misunderstanding :),&lt;/P&gt;&lt;P&gt;In that case, why don't you want to use set analysis ? I think it should be the perfect solution to your problem ??&lt;/P&gt;&lt;P&gt;If it's just a syntax problem I can help you&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 16 Dec 2009 22:02:45 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Comparing-years-without-using-set-analysis/m-p/189975#M504218</guid>
      <dc:creator />
      <dc:date>2009-12-16T22:02:45Z</dc:date>
    </item>
    <item>
      <title>Comparing years without using set analysis</title>
      <link>https://community.qlik.com/t5/QlikView/Comparing-years-without-using-set-analysis/m-p/189976#M504219</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Well, to be honest I have no problem with the syntax but don't really agree with the principle which is just opposite to Qlikview nature...&lt;/P&gt;&lt;P&gt;As soon as I use set analysis, I have to force some selection to be available (in the exemple, a year should always be selected to be able to use this selected year as a reference). It implies to change the whole method of achieving an application.&lt;/P&gt;&lt;P&gt;Thanks however for your help. Are you a fan of set analysis ? I am not, if so I would probably sell Business Objects ... (but I really prefer Qlikview &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt; )&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 16 Dec 2009 22:12:00 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Comparing-years-without-using-set-analysis/m-p/189976#M504219</guid>
      <dc:creator>oxiofrt</dc:creator>
      <dc:date>2009-12-16T22:12:00Z</dc:date>
    </item>
    <item>
      <title>Comparing years without using set analysis</title>
      <link>https://community.qlik.com/t5/QlikView/Comparing-years-without-using-set-analysis/m-p/189977#M504220</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Okay no problem :),&lt;/P&gt;&lt;P&gt;just one or two ideas :&lt;/P&gt;&lt;P&gt;- try if it's possible to do something with fieldindex or fieldvalue functions&lt;/P&gt;&lt;P&gt;- use the peek (or other inter record functions) in the script to duplicate your result by creating a new field representing the previous year value. That idea depend on your data model.&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;&lt;B&gt;&lt;/B&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 16 Dec 2009 22:36:17 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Comparing-years-without-using-set-analysis/m-p/189977#M504220</guid>
      <dc:creator />
      <dc:date>2009-12-16T22:36:17Z</dc:date>
    </item>
    <item>
      <title>Comparing years without using set analysis</title>
      <link>https://community.qlik.com/t5/QlikView/Comparing-years-without-using-set-analysis/m-p/189978#M504221</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks a lot for your help.&lt;/P&gt;&lt;P&gt;Bye&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 16 Dec 2009 23:23:20 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Comparing-years-without-using-set-analysis/m-p/189978#M504221</guid>
      <dc:creator>oxiofrt</dc:creator>
      <dc:date>2009-12-16T23:23:20Z</dc:date>
    </item>
    <item>
      <title>Comparing years without using set analysis</title>
      <link>https://community.qlik.com/t5/QlikView/Comparing-years-without-using-set-analysis/m-p/189979#M504222</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;If I understood your question, set up an "Indicator Year" completely disconnected from your data. Use that as your dimension instead of the Year field. Then do this:&lt;/P&gt;&lt;P style="padding-left:30px;"&gt;count(if(ANNEE="Indicator Year" ,ID_INTERVENTION))&lt;BR /&gt;count(if(ANNEE="Indicator Year"-1,ID_INTERVENTION))&lt;/P&gt;&lt;P&gt;It'll be slow on large data sets, and won't display years that your selections have excluded, but I think it's what you're looking for. If performance is a big concern, or you want to still display the previous year even when only one year is selected, there are ways around it other than set analysis. See attached for a way to trade some complexity and RAM for significantly-improved performance.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 17 Dec 2009 06:04:45 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Comparing-years-without-using-set-analysis/m-p/189979#M504222</guid>
      <dc:creator>johnw</dc:creator>
      <dc:date>2009-12-17T06:04:45Z</dc:date>
    </item>
    <item>
      <title>Comparing years without using set analysis</title>
      <link>https://community.qlik.com/t5/QlikView/Comparing-years-without-using-set-analysis/m-p/189980#M504223</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE class="jive_text_macro jive_macro_quote" jivemacro="quote"&gt;&lt;BR /&gt;oxioFRT wrote:&lt;BR /&gt;Well, to be honest I have no problem with the syntax but don't really agree with the principle which is just opposite to Qlikview nature...&lt;BR /&gt;As soon as I use set analysis, I have to force some selection to be available (in the exemple, a year should always be selected to be able to use this selected year as a reference). It implies to change the whole method of achieving an application.&lt;BR /&gt;Thanks however for your help. Are you a fan of set analysis ? I am not, if so I would probably sell Business Objects ... (but I really prefer Qlikview &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt; )&amp;lt;div&amp;gt;&amp;lt;/div&amp;gt;&lt;/PRE&gt;&lt;BR /&gt;&lt;BR /&gt; &lt;P&gt;oxio,&lt;/P&gt;&lt;P&gt;Actually, this isn't necessarily true. In the application below, one of our consultants demonstrates how to do period calculations based on flags (pre-Set Analysis), standard Set Analysis (which, like you describe, requires a user to select periods to compare), and most importantly, something he calls "Advanced Dynamic Set Analysis", which works regardless of selections. Please download it and let us know what you think:&lt;/P&gt;&lt;P&gt;&lt;A href="http://community.qlik.com/media/p/82595.aspx"&gt;http://community.qlik.com/media/p/82595.aspx&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 17 Dec 2009 08:03:44 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Comparing-years-without-using-set-analysis/m-p/189980#M504223</guid>
      <dc:creator />
      <dc:date>2009-12-17T08:03:44Z</dc:date>
    </item>
    <item>
      <title>Comparing years without using set analysis</title>
      <link>https://community.qlik.com/t5/QlikView/Comparing-years-without-using-set-analysis/m-p/189981#M504224</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Well, it's just what I was looking for.&lt;BR /&gt;Dynamic set analysis is pretty simple to realize and really useful.&lt;/P&gt;&lt;P&gt;Thanks a lot ! &lt;IMG alt="Big Smile" src="http://community.qlik.com/emoticons/emotion-2.gif" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 29 Dec 2009 17:03:07 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Comparing-years-without-using-set-analysis/m-p/189981#M504224</guid>
      <dc:creator>oxiofrt</dc:creator>
      <dc:date>2009-12-29T17:03:07Z</dc:date>
    </item>
  </channel>
</rss>

