<?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: NumWeek 1 newyear vs NumWeek 52 prevyear - how to compare? in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/NumWeek-1-newyear-vs-NumWeek-52-prevyear-how-to-compare/m-p/1550027#M744454</link>
    <description>I understand, there seems to be no other method to solve this.&lt;BR /&gt;Thanks for your answer Vegar.&lt;BR /&gt;</description>
    <pubDate>Wed, 27 Feb 2019 17:40:08 GMT</pubDate>
    <dc:creator>tincholiver</dc:creator>
    <dc:date>2019-02-27T17:40:08Z</dc:date>
    <item>
      <title>NumWeek 1 newyear vs NumWeek 52 prevyear - how to compare?</title>
      <link>https://community.qlik.com/t5/QlikView/NumWeek-1-newyear-vs-NumWeek-52-prevyear-how-to-compare/m-p/1549490#M744452</link>
      <description>&lt;P&gt;Hi, I make a request:&lt;BR /&gt;answering some cases about comparisons between weeks I was a doubt.&lt;BR /&gt;the expression that seemed useful to me to make that kind of comparison was:&lt;BR /&gt;sum ({&amp;lt;NumWeek = {'&amp;gt; = $ (= max (NumWeek) -1) &amp;lt;$ (= max (NumWeek))'}&amp;gt;} Sales) for the previous week and,&lt;BR /&gt;sum ({&amp;lt;NumWeek = {'&amp;gt; = $ (= max (NumWeek))'}&amp;gt;} Sales) for the current week.&lt;BR /&gt;The question is how to solve the cases in which the year changes being compared to week 1 of the new year, with the 52 of the previous year.&lt;/P&gt;</description>
      <pubDate>Wed, 25 Nov 2020 16:16:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/NumWeek-1-newyear-vs-NumWeek-52-prevyear-how-to-compare/m-p/1549490#M744452</guid>
      <dc:creator>tincholiver</dc:creator>
      <dc:date>2020-11-25T16:16:04Z</dc:date>
    </item>
    <item>
      <title>Re: NumWeek 1 newyear vs NumWeek 52 prevyear - how to compare?</title>
      <link>https://community.qlik.com/t5/QlikView/NumWeek-1-newyear-vs-NumWeek-52-prevyear-how-to-compare/m-p/1549517#M744453</link>
      <description>I would add a week index to my calendar. The first week in the calendar is 1 when you start the next year you let the index be 53 (not 1)&lt;BR /&gt;&lt;BR /&gt;With this week index field you may apply your current set expression logic.&lt;BR /&gt;&lt;BR /&gt;You will of course keep your old week number (1-52) for presentation purposes.&lt;BR /&gt;</description>
      <pubDate>Tue, 26 Feb 2019 23:59:12 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/NumWeek-1-newyear-vs-NumWeek-52-prevyear-how-to-compare/m-p/1549517#M744453</guid>
      <dc:creator>Vegar</dc:creator>
      <dc:date>2019-02-26T23:59:12Z</dc:date>
    </item>
    <item>
      <title>Re: NumWeek 1 newyear vs NumWeek 52 prevyear - how to compare?</title>
      <link>https://community.qlik.com/t5/QlikView/NumWeek-1-newyear-vs-NumWeek-52-prevyear-how-to-compare/m-p/1550027#M744454</link>
      <description>I understand, there seems to be no other method to solve this.&lt;BR /&gt;Thanks for your answer Vegar.&lt;BR /&gt;</description>
      <pubDate>Wed, 27 Feb 2019 17:40:08 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/NumWeek-1-newyear-vs-NumWeek-52-prevyear-how-to-compare/m-p/1550027#M744454</guid>
      <dc:creator>tincholiver</dc:creator>
      <dc:date>2019-02-27T17:40:08Z</dc:date>
    </item>
  </channel>
</rss>

