<?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 Compare two periods. in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Compare-two-periods/m-p/211399#M65686</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 check my data and I have data in the previous period.I join you the file with a particular case.&lt;/P&gt;&lt;P&gt;If I select one product, data , without the formula, are refreshed correctly.&lt;/P&gt;&lt;P&gt;But the problem is that the data, in the previous period, are refreshed for all products.&lt;/P&gt;&lt;P&gt;Is it possible to look this if you have any idea?&lt;/P&gt;&lt;P&gt;I searching in the help , in forums...&lt;/P&gt;&lt;P&gt;Can you help me?&lt;/P&gt;&lt;P&gt;Ciao&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 02 Aug 2010 14:42:57 GMT</pubDate>
    <dc:creator />
    <dc:date>2010-08-02T14:42:57Z</dc:date>
    <item>
      <title>Compare two periods.</title>
      <link>https://community.qlik.com/t5/QlikView/Compare-two-periods/m-p/211390#M65677</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 have a little problem concerning a calculation with periods of dates&lt;/P&gt;&lt;P&gt;I does a selection into a period between 14/11/09 and 15/05/10.&lt;/P&gt;&lt;P&gt;My statistic is good for the calculation into the period (sum(Amount)=&amp;gt;Ok&lt;/P&gt;&lt;P&gt;I would like to compare this calculation with the same period the past year(14/11/08 --&amp;gt; 15/05/09)&lt;/P&gt;&lt;P&gt;I am a beginner into Qlikview and it's impossible to find the formula that will compare with the previous period.&lt;/P&gt;&lt;P&gt;Can you help me?&lt;/P&gt;&lt;P&gt;Thanks a lot&lt;/P&gt;&lt;P&gt;Mk&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 01 Jul 2010 13:31:12 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Compare-two-periods/m-p/211390#M65677</guid>
      <dc:creator />
      <dc:date>2010-07-01T13:31:12Z</dc:date>
    </item>
    <item>
      <title>Compare two periods.</title>
      <link>https://community.qlik.com/t5/QlikView/Compare-two-periods/m-p/211391#M65678</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;It could be something like this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;BLOCKQUOTE style="overflow-x: scroll;"&gt;&lt;PRE style="margin: 0px;"&gt;&lt;BR /&gt;sum({1 &amp;lt;Date={"$(='&amp;gt;=' &amp;amp; AddMonths(min({$} Date), -12) &amp;amp; '&amp;lt;=' &amp;amp; AddMonths(max({$}Date), -12))"}&amp;gt;} Amount)&lt;BR /&gt;&lt;/PRE&gt;&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;BR /&gt; &lt;P&gt;See the example in attachment&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 01 Jul 2010 14:33:33 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Compare-two-periods/m-p/211391#M65678</guid>
      <dc:creator />
      <dc:date>2010-07-01T14:33:33Z</dc:date>
    </item>
    <item>
      <title>Compare two periods.</title>
      <link>https://community.qlik.com/t5/QlikView/Compare-two-periods/m-p/211392#M65679</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;That's great !&lt;/P&gt;&lt;P&gt;All is ok !&lt;/P&gt;&lt;P&gt;Thanks a lot for your help&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Ciao&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Mk&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 01 Jul 2010 15:10:36 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Compare-two-periods/m-p/211392#M65679</guid>
      <dc:creator />
      <dc:date>2010-07-01T15:10:36Z</dc:date>
    </item>
    <item>
      <title>Compare two periods.</title>
      <link>https://community.qlik.com/t5/QlikView/Compare-two-periods/m-p/211393#M65680</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Nick and all,&lt;/P&gt;&lt;P&gt;I have a little problem with this expression because, since I put this calculation, the filters selected (Products,...) are not executed.&lt;/P&gt;&lt;P&gt;The filters are only applied into the columns without his calculation.&lt;/P&gt;&lt;P&gt;Can you help me?&lt;/P&gt;&lt;P&gt;Ciao&lt;/P&gt;&lt;P&gt;Michael&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 29 Jul 2010 14:37:21 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Compare-two-periods/m-p/211393#M65680</guid>
      <dc:creator />
      <dc:date>2010-07-29T14:37:21Z</dc:date>
    </item>
    <item>
      <title>Compare two periods.</title>
      <link>https://community.qlik.com/t5/QlikView/Compare-two-periods/m-p/211394#M65681</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dear Martelmi,&lt;/P&gt;&lt;P&gt;please post your qlikview application.&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Sunil Jain.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 29 Jul 2010 14:44:21 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Compare-two-periods/m-p/211394#M65681</guid>
      <dc:creator>suniljain</dc:creator>
      <dc:date>2010-07-29T14:44:21Z</dc:date>
    </item>
    <item>
      <title>Compare two periods.</title>
      <link>https://community.qlik.com/t5/QlikView/Compare-two-periods/m-p/211395#M65682</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;Here is an extract of the file.&lt;/P&gt;&lt;P&gt;Thanks a lot for you help&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Ciao&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 29 Jul 2010 15:38:30 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Compare-two-periods/m-p/211395#M65682</guid>
      <dc:creator />
      <dc:date>2010-07-29T15:38:30Z</dc:date>
    </item>
    <item>
      <title>Compare two periods.</title>
      <link>https://community.qlik.com/t5/QlikView/Compare-two-periods/m-p/211396#M65683</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Try this:&lt;/P&gt;&lt;BLOCKQUOTE style="overflow-x: scroll;"&gt;&lt;PRE style="margin: 0px;"&gt;=sum({&amp;lt;DATELIV={"$(='&amp;gt;=' &amp;amp; AddMonths(min({$} DATELIV), -12) &amp;amp; '&amp;lt;=' &amp;amp; AddMonths(max({$}DATELIV), -12))"}&amp;gt;} CAFACTURE)&lt;BR /&gt;&lt;/PRE&gt;&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 29 Jul 2010 17:02:32 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Compare-two-periods/m-p/211396#M65683</guid>
      <dc:creator />
      <dc:date>2010-07-29T17:02:32Z</dc:date>
    </item>
    <item>
      <title>Compare two periods.</title>
      <link>https://community.qlik.com/t5/QlikView/Compare-two-periods/m-p/211397#M65684</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;If I keep my period, the amount is null.&lt;/P&gt;&lt;P&gt;The '1' is essential, in my opinion( What's this number? :-))&lt;/P&gt;&lt;P&gt;The problem is often when the statistic does more 1 column(In the example that I sent, the problem is resolved (also more columns)but in my real file, it's not correct)and when the table is dynamic .&lt;/P&gt;&lt;P&gt;If you want, i can send you another file with more details but I have to work in this file(delete curtain data &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt; ).&lt;/P&gt;&lt;P&gt;Thanks a lot&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 29 Jul 2010 17:32:20 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Compare-two-periods/m-p/211397#M65684</guid>
      <dc:creator />
      <dc:date>2010-07-29T17:32:20Z</dc:date>
    </item>
    <item>
      <title>Compare two periods.</title>
      <link>https://community.qlik.com/t5/QlikView/Compare-two-periods/m-p/211398#M65685</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;If you are getting null it means there is no any data for previous period - check your data and conditions.&lt;/P&gt;&lt;P&gt;About 1 in Set Analysis:&lt;/P&gt;&lt;P style="margin-bottom:0px;"&gt;There is one constant that can be used to denote a record set; 1. It represents the full set of all the records in the application.&lt;/P&gt;&lt;P style="margin-bottom:0px;"&gt;The $ sign represents the records of the current selection. The set expression {$} is thus the equivalent of not stating a set expression. {1-$} is all the more interesting as it defines the inverse of the current selection, i.e. everything that the current selection excludes.&lt;/P&gt;&lt;P style="margin-bottom:0px;"&gt;Read more in the Help for Set Analysis.&lt;/P&gt;&lt;BR /&gt;&lt;BR /&gt; &lt;P style="margin-bottom:0px;"&gt;About your Applications I can say that there are individual approaches for each individual application. Usually Cut&amp;amp;Past doesn't work. Think first.&lt;/P&gt;&lt;P style="margin-bottom:0px;"&gt;To help you with your applications it always better to have a sample which duplicates a critical piece of the application or the application itself.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 30 Jul 2010 13:15:11 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Compare-two-periods/m-p/211398#M65685</guid>
      <dc:creator />
      <dc:date>2010-07-30T13:15:11Z</dc:date>
    </item>
    <item>
      <title>Compare two periods.</title>
      <link>https://community.qlik.com/t5/QlikView/Compare-two-periods/m-p/211399#M65686</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 check my data and I have data in the previous period.I join you the file with a particular case.&lt;/P&gt;&lt;P&gt;If I select one product, data , without the formula, are refreshed correctly.&lt;/P&gt;&lt;P&gt;But the problem is that the data, in the previous period, are refreshed for all products.&lt;/P&gt;&lt;P&gt;Is it possible to look this if you have any idea?&lt;/P&gt;&lt;P&gt;I searching in the help , in forums...&lt;/P&gt;&lt;P&gt;Can you help me?&lt;/P&gt;&lt;P&gt;Ciao&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 02 Aug 2010 14:42:57 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Compare-two-periods/m-p/211399#M65686</guid>
      <dc:creator />
      <dc:date>2010-08-02T14:42:57Z</dc:date>
    </item>
    <item>
      <title>Compare two periods.</title>
      <link>https://community.qlik.com/t5/QlikView/Compare-two-periods/m-p/211400#M65687</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Think about how you calculate previous period. Do you think if you are looking at the data today the previous period will be today - 12 month. &lt;IMG alt="Smile" src="http://community.qlik.com/emoticons/emotion-1.gif" /&gt;&lt;/P&gt;&lt;P&gt;According to the formulas the data dictates what the current period is. Take a look at attached doc. As you can see if you pick NOARTI = 27802, the current period will be from20/01/2009 to 22/02/2010, according to this previous period will be 20/01/2008 to 22/02/2009. And check now you data. Do you really have data for this previous period?&lt;/P&gt;&lt;P&gt;Maybe you need to tie your data to some specific Start/End period variables.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 03 Aug 2010 13:21:33 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Compare-two-periods/m-p/211400#M65687</guid>
      <dc:creator />
      <dc:date>2010-08-03T13:21:33Z</dc:date>
    </item>
    <item>
      <title>Compare two periods.</title>
      <link>https://community.qlik.com/t5/QlikView/Compare-two-periods/m-p/211401#M65688</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I sent you a new file, if you want, with good data. &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;&lt;P&gt;The aim, in this report, is to have a preview of the whole of sales into a period.&lt;/P&gt;&lt;P&gt;The user can be filter product,.... but, if you look my file, I have filtered for the product 27675 and the customer 00307 !&lt;/P&gt;&lt;P&gt;I have data (If I keep the 1) but I have results for all products (for the past year)!&lt;/P&gt;&lt;P&gt;The start/end period variables have been a great help to see that data are not correct &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Thanks a lot.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 03 Aug 2010 16:59:34 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Compare-two-periods/m-p/211401#M65688</guid>
      <dc:creator />
      <dc:date>2010-08-03T16:59:34Z</dc:date>
    </item>
    <item>
      <title>Compare two periods.</title>
      <link>https://community.qlik.com/t5/QlikView/Compare-two-periods/m-p/211402#M65689</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have absolutely the same discussion on another post &lt;A href="http://community.qlik.com/forums/p/32041/124682.aspx" title="http://community.qlik.com/forums/p/32041/124682.aspx"&gt;http://community.qlik.com/forums/p/32041/124682.aspx&lt;/A&gt;&lt;/P&gt;&lt;P&gt;All what you need is two variables for start and end period and use them in your expressions for set analysis instead of min()/max() functions.&lt;/P&gt;&lt;P&gt;In that post, I've made an example with four variables for two independent periods. In your case you have just current period and previous with 12 month offset. It will be enough to have just two variables for current period only.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 04 Aug 2010 13:37:11 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Compare-two-periods/m-p/211402#M65689</guid>
      <dc:creator />
      <dc:date>2010-08-04T13:37:11Z</dc:date>
    </item>
  </channel>
</rss>

