<?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: Pre Calculated Like For Like boolean in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Pre-Calculated-Like-For-Like-boolean/m-p/482432#M689992</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I've come allot further.&lt;/P&gt;&lt;P&gt;I'm only struggeling with yearweek count back to 52weeks.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am trying resident load&lt;/P&gt;&lt;P&gt;on Max(PeriodID) -52.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This does't seem to work. Any Idea's?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 26 Sep 2013 16:11:23 GMT</pubDate>
    <dc:creator />
    <dc:date>2013-09-26T16:11:23Z</dc:date>
    <item>
      <title>Pre Calculated Like For Like boolean</title>
      <link>https://community.qlik.com/t5/QlikView/Pre-Calculated-Like-For-Like-boolean/m-p/482431#M689991</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Guys,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm hoping someone could help me. I work for a retail organisation with allot of stores spread globaly.&lt;/P&gt;&lt;P&gt;When i would like to build a high level (Global or country for example) dashboard that shows the store performance disregarding new openings or closings of stores i would need a like for like calculation.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Like for Like defenition: show only data(turnover for example) of stores that where open lastyear same period and are currently still open.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I would like to build a boolean for this so users can select if they want all the figures to be like for like or not.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Every Store has an openyearweekcode and a closedyearweek code. When a store is open, the closedyearweekcode is 2099W52.&lt;/P&gt;&lt;P&gt;If its closed, the closedyearweekcode containts the year/week when the store is closed.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I would like to build in script a following if statement:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If (openyearweekcode &amp;lt;= currentyearweek – 52&amp;nbsp; &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; and&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; closedyearweekcode &amp;gt;=currentyearweek&lt;/P&gt;&lt;P&gt;,&lt;/P&gt;&lt;P&gt;'Like For Like'&lt;/P&gt;&lt;P&gt;,&lt;/P&gt;&lt;P&gt;'All Data')&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I've converted openyearweekcode,closedyearweekcode and yearweekcode to the same date format.&lt;/P&gt;&lt;P&gt;I've also created a autonumber field on yearweekcode to cound back 52 weeks.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hopefully you could help me with the last bit!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks allot!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 26 Sep 2013 09:11:59 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Pre-Calculated-Like-For-Like-boolean/m-p/482431#M689991</guid>
      <dc:creator />
      <dc:date>2013-09-26T09:11:59Z</dc:date>
    </item>
    <item>
      <title>Re: Pre Calculated Like For Like boolean</title>
      <link>https://community.qlik.com/t5/QlikView/Pre-Calculated-Like-For-Like-boolean/m-p/482432#M689992</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I've come allot further.&lt;/P&gt;&lt;P&gt;I'm only struggeling with yearweek count back to 52weeks.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am trying resident load&lt;/P&gt;&lt;P&gt;on Max(PeriodID) -52.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This does't seem to work. Any Idea's?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 26 Sep 2013 16:11:23 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Pre-Calculated-Like-For-Like-boolean/m-p/482432#M689992</guid>
      <dc:creator />
      <dc:date>2013-09-26T16:11:23Z</dc:date>
    </item>
  </channel>
</rss>

