<?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 Shifting multiples days in set analysis in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Shifting-multiples-days-in-set-analysis/m-p/690409#M1083047</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;BR /&gt;Hi all,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This may be simple question, but I am not experienced with set analisys.&lt;/P&gt;&lt;P&gt;I would like to compare recent sales with corresponding period in the previous year. I used the set expression:&lt;/P&gt;&lt;P&gt;Year={$(=(Only(Year)-1))} for the previous year. However, the period corresponding to, lets say, 9-20 of June 2014 should be 10-21 of June 2013. So I need move days range by 1.&lt;/P&gt;&lt;P&gt;Formula Day={$(=(Only(Day)-1))} won't work when multiple days are selected. How could I force QV to display values for the period "shifted" by one day?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in advance&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Marcin&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 01 Jul 2014 14:07:53 GMT</pubDate>
    <dc:creator />
    <dc:date>2014-07-01T14:07:53Z</dc:date>
    <item>
      <title>Shifting multiples days in set analysis</title>
      <link>https://community.qlik.com/t5/QlikView/Shifting-multiples-days-in-set-analysis/m-p/690409#M1083047</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;BR /&gt;Hi all,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This may be simple question, but I am not experienced with set analisys.&lt;/P&gt;&lt;P&gt;I would like to compare recent sales with corresponding period in the previous year. I used the set expression:&lt;/P&gt;&lt;P&gt;Year={$(=(Only(Year)-1))} for the previous year. However, the period corresponding to, lets say, 9-20 of June 2014 should be 10-21 of June 2013. So I need move days range by 1.&lt;/P&gt;&lt;P&gt;Formula Day={$(=(Only(Day)-1))} won't work when multiple days are selected. How could I force QV to display values for the period "shifted" by one day?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in advance&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Marcin&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 01 Jul 2014 14:07:53 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Shifting-multiples-days-in-set-analysis/m-p/690409#M1083047</guid>
      <dc:creator />
      <dc:date>2014-07-01T14:07:53Z</dc:date>
    </item>
  </channel>
</rss>

