<?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 Current Year as Set Analysis in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Current-Year-as-Set-Analysis/m-p/201956#M59830</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;That's perfect: thanks for your courtesy.&lt;/P&gt;&lt;P&gt;Luca&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 05 Jan 2010 21:37:50 GMT</pubDate>
    <dc:creator>lucarizziero</dc:creator>
    <dc:date>2010-01-05T21:37:50Z</dc:date>
    <item>
      <title>Current Year as Set Analysis</title>
      <link>https://community.qlik.com/t5/QlikView/Current-Year-as-Set-Analysis/m-p/201954#M59828</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi all,&lt;/P&gt;&lt;P&gt;I'd like to use a set analysis instruction in order to select current year data.&lt;/P&gt;&lt;P&gt;Something like&lt;/P&gt;&lt;P&gt;sum ( {$&amp;lt;year={2009}&amp;gt;} sales)&lt;/P&gt;&lt;P&gt;instead of&lt;/P&gt;&lt;P&gt;sum(if(year=2009,sales))&lt;/P&gt;&lt;P&gt;but varying the year 2009 to the current year.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks to all.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 05 Jan 2010 21:21:57 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Current-Year-as-Set-Analysis/m-p/201954#M59828</guid>
      <dc:creator>lucarizziero</dc:creator>
      <dc:date>2010-01-05T21:21:57Z</dc:date>
    </item>
    <item>
      <title>Current Year as Set Analysis</title>
      <link>https://community.qlik.com/t5/QlikView/Current-Year-as-Set-Analysis/m-p/201955#M59829</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;/P&gt;&lt;BLOCKQUOTE style="overflow-x: scroll;"&gt;&lt;PRE style="margin: 0px;"&gt;Sum({$&amp;lt;Year={$(=Year(Today()))}&amp;gt;} Sales)&lt;/PRE&gt;&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;BR /&gt; &lt;P&gt;Some people instead base it on their data:&lt;/P&gt;&lt;BLOCKQUOTE style="overflow-x: scroll;"&gt;&lt;PRE style="margin: 0px;"&gt;Sum({$&amp;lt;Year={$(=Max(Year))}&amp;gt;} Sales)&lt;/PRE&gt;&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;BR /&gt; &lt;P&gt;That would pull for the highest year in your data set. For example if you hadn't loaded any new 2010 data yet and wanted to consider 2009 the current year. Sometimes basing it on your data is preferrable to the system date, which is what the first one would get you.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 05 Jan 2010 21:26:15 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Current-Year-as-Set-Analysis/m-p/201955#M59829</guid>
      <dc:creator />
      <dc:date>2010-01-05T21:26:15Z</dc:date>
    </item>
    <item>
      <title>Current Year as Set Analysis</title>
      <link>https://community.qlik.com/t5/QlikView/Current-Year-as-Set-Analysis/m-p/201956#M59830</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;That's perfect: thanks for your courtesy.&lt;/P&gt;&lt;P&gt;Luca&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 05 Jan 2010 21:37:50 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Current-Year-as-Set-Analysis/m-p/201956#M59830</guid>
      <dc:creator>lucarizziero</dc:creator>
      <dc:date>2010-01-05T21:37:50Z</dc:date>
    </item>
  </channel>
</rss>

