<?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 like for like KPI in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/like-for-like-KPI/m-p/143378#M505950</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;how do I make a "like for like" KPI in QlikView?&lt;/P&gt;&lt;P&gt;regards&lt;/P&gt;&lt;P&gt;Bastian&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 05 May 2009 18:47:31 GMT</pubDate>
    <dc:creator>btrompetter</dc:creator>
    <dc:date>2009-05-05T18:47:31Z</dc:date>
    <item>
      <title>like for like KPI</title>
      <link>https://community.qlik.com/t5/QlikView/like-for-like-KPI/m-p/143378#M505950</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;how do I make a "like for like" KPI in QlikView?&lt;/P&gt;&lt;P&gt;regards&lt;/P&gt;&lt;P&gt;Bastian&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 05 May 2009 18:47:31 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/like-for-like-KPI/m-p/143378#M505950</guid>
      <dc:creator>btrompetter</dc:creator>
      <dc:date>2009-05-05T18:47:31Z</dc:date>
    </item>
    <item>
      <title>like for like KPI</title>
      <link>https://community.qlik.com/t5/QlikView/like-for-like-KPI/m-p/143379#M505951</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;what do you mean by "like for like" ? Please explain ...&lt;/P&gt;&lt;P&gt;Oleg&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 05 May 2009 19:17:11 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/like-for-like-KPI/m-p/143379#M505951</guid>
      <dc:creator>Oleg_Troyansky</dc:creator>
      <dc:date>2009-05-05T19:17:11Z</dc:date>
    </item>
    <item>
      <title>like for like KPI</title>
      <link>https://community.qlik.com/t5/QlikView/like-for-like-KPI/m-p/143380#M505952</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Oleg,&lt;/P&gt;&lt;P&gt;we compare retail stores from the current year with the last year. And the "like for like" KPI says that you can only compare stores from the current year with the same stores from the last year. So every new store in the current year must be ignored.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Bastian&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 05 May 2009 20:25:33 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/like-for-like-KPI/m-p/143380#M505952</guid>
      <dc:creator>btrompetter</dc:creator>
      <dc:date>2009-05-05T20:25:33Z</dc:date>
    </item>
    <item>
      <title>like for like KPI</title>
      <link>https://community.qlik.com/t5/QlikView/like-for-like-KPI/m-p/143381#M505953</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Take a look at Oleg's wiki on using flags here:&lt;BR /&gt;&lt;A href="http://community.qlik.com/wikis/qlikview-wiki/using-flags-to-avoid-if-formulas.aspx"&gt;http://community.qlik.com/wikis/qlikview-wiki/using-flags-to-avoid-if-formulas.aspx&lt;/A&gt;&lt;/P&gt;&lt;P&gt;One approach would be to set a "sameStore" flag to 0 or 1 (0-new store). Then an expression like:&lt;/P&gt;&lt;P&gt;sum(Sales * sameStore)&lt;/P&gt;&lt;P&gt;would exclude the new stores.&lt;/P&gt;&lt;P&gt;-Rob&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 05 May 2009 23:54:55 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/like-for-like-KPI/m-p/143381#M505953</guid>
      <dc:creator>rwunderlich</dc:creator>
      <dc:date>2009-05-05T23:54:55Z</dc:date>
    </item>
    <item>
      <title>like for like KPI</title>
      <link>https://community.qlik.com/t5/QlikView/like-for-like-KPI/m-p/143382#M505954</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You could also do it directly in the expression. Something like this:&lt;/P&gt;&lt;P&gt;if(sum({&amp;lt;Year={"&amp;lt;$(=max(Year))"}&amp;gt;} total &amp;lt;Store&amp;gt; Amount)&amp;lt;&amp;gt;0,sum(Amount))&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;BR /&gt;&lt;BR /&gt; &lt;BR /&gt;&lt;BR /&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 06 May 2009 00:18:45 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/like-for-like-KPI/m-p/143382#M505954</guid>
      <dc:creator>johnw</dc:creator>
      <dc:date>2009-05-06T00:18:45Z</dc:date>
    </item>
    <item>
      <title>like for like KPI</title>
      <link>https://community.qlik.com/t5/QlikView/like-for-like-KPI/m-p/143383#M505955</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;I like the idea of flags.&lt;/P&gt;&lt;P&gt;My Like for Like definition says that the store must have turnover in the same period in the last year. That means if I have 7. September 2009 which is a monday I have to check the 8. September in 2008 if there are also turnovers.&lt;/P&gt;&lt;P&gt;My concept is to load the previous year and than the actual year and than set a flag during the load proccess in the actual year if there is turnover in the last year.&lt;/P&gt;&lt;P&gt;But how do I check if a store has tunrover in both years during the load script?&lt;/P&gt;&lt;P&gt;Thanks for help.&lt;/P&gt;&lt;P&gt;regards&lt;/P&gt;&lt;P&gt;Bastian&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 08 Sep 2009 15:21:21 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/like-for-like-KPI/m-p/143383#M505955</guid>
      <dc:creator>btrompetter</dc:creator>
      <dc:date>2009-09-08T15:21:21Z</dc:date>
    </item>
    <item>
      <title>like for like KPI</title>
      <link>https://community.qlik.com/t5/QlikView/like-for-like-KPI/m-p/143384#M505956</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I'm not sure at this point what you mean by "same period", but one way to set a 1/null flag would be with a join. Something like this, perhaps:&lt;/P&gt;&lt;P style="padding-left:30px;"&gt;[MyTable]:&lt;BR /&gt;LOAD&lt;BR /&gt; store&lt;BR /&gt;,date&lt;BR /&gt;,turnover&lt;BR /&gt;FROM data source&lt;BR /&gt;;&lt;BR /&gt;LEFT JOIN ([MyTable])&lt;BR /&gt;LOAD&lt;BR /&gt; store&lt;BR /&gt;,addmonths(date,12) as date&lt;BR /&gt;,if(turnover,1) as "prev year turnover flag"&lt;BR /&gt;RESIDENT [MyTable]&lt;BR /&gt;;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 09 Sep 2009 02:08:16 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/like-for-like-KPI/m-p/143384#M505956</guid>
      <dc:creator>johnw</dc:creator>
      <dc:date>2009-09-09T02:08:16Z</dc:date>
    </item>
    <item>
      <title>like for like KPI</title>
      <link>https://community.qlik.com/t5/QlikView/like-for-like-KPI/m-p/143385#M505957</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hallo John,&lt;/P&gt;&lt;P&gt;the period could be a day, a week or a month wich is compared to the last year.&lt;/P&gt;&lt;P&gt;Is it possible to make nested ifs or if then else combinations in the loadscript?&lt;/P&gt;&lt;P&gt;regards&lt;/P&gt;&lt;P&gt;Bastian&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 11 Sep 2009 20:15:09 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/like-for-like-KPI/m-p/143385#M505957</guid>
      <dc:creator>btrompetter</dc:creator>
      <dc:date>2009-09-11T20:15:09Z</dc:date>
    </item>
    <item>
      <title>like for like KPI</title>
      <link>https://community.qlik.com/t5/QlikView/like-for-like-KPI/m-p/143386#M505958</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;/P&gt;&lt;DIV style="background-color:#ffffff;margin:8px;font-family:Arial, Helvetica, sans-serif;color:#000000;font-size:12px;-webkit-background-clip:initial;-webkit-background-origin:initial;"&gt;&lt;P&gt;Bastian,&lt;/P&gt;&lt;P&gt;I've had to compare week over week and week/day over week/day in the attached sample. You could also do the same for month. I used standard week conventions so I could compare the Monday of week 9 to the previous years Monday of week 9, etc.&lt;/P&gt;&lt;P&gt;Tom&lt;/P&gt;&lt;/DIV&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 11 Sep 2009 22:20:52 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/like-for-like-KPI/m-p/143386#M505958</guid>
      <dc:creator />
      <dc:date>2009-09-11T22:20:52Z</dc:date>
    </item>
    <item>
      <title>like for like KPI</title>
      <link>https://community.qlik.com/t5/QlikView/like-for-like-KPI/m-p/143387#M505959</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Bastian,&lt;/P&gt;&lt;P&gt;Did you ever come up with a work able solution for 'Like for Like' reporting. ie exclude all values that do not appear in all periods.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I need to to something simular.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Many thanks,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Lawrence Chapman&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 10 Jun 2011 10:44:13 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/like-for-like-KPI/m-p/143387#M505959</guid>
      <dc:creator />
      <dc:date>2011-06-10T10:44:13Z</dc:date>
    </item>
  </channel>
</rss>

