<?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: Set analysis Year range in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Set-analysis-Year-range/m-p/752731#M1039802</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;There seems to be an extra equal sign. Try this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=Sum( { $&amp;lt; FiscalYear={"&amp;gt;=2014"},&amp;nbsp; FiscalYear={"$(=Year(Today()))"} &amp;gt; }&amp;nbsp;&amp;nbsp; Amount)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 17 Dec 2014 12:18:41 GMT</pubDate>
    <dc:creator>consenit</dc:creator>
    <dc:date>2014-12-17T12:18:41Z</dc:date>
    <item>
      <title>Set analysis Year range</title>
      <link>https://community.qlik.com/t5/QlikView/Set-analysis-Year-range/m-p/752728#M1039799</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;Can somebody show me on how to write the following condition in set analysis properly?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;If(FiscalYear&amp;gt;=2014 and &lt;SPAN style="font-family: courier new,courier;"&gt;Fiscal&lt;/SPAN&gt;Year=Year(Today()))&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;I tried something like this but doesn't seems to yield the result I expected&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;{$&amp;lt;&lt;/SPAN&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;FiscalYear={"&amp;gt;=2014"}, FiscalYear={"=$(=Year(Today()))"}&lt;/SPAN&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;&amp;gt;}&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you for your kind attention guys &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/grin.png" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Khairul Anuar Azuddin&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 17 Dec 2014 11:17:59 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-analysis-Year-range/m-p/752728#M1039799</guid>
      <dc:creator />
      <dc:date>2014-12-17T11:17:59Z</dc:date>
    </item>
    <item>
      <title>Re: Set analysis Year range</title>
      <link>https://community.qlik.com/t5/QlikView/Set-analysis-Year-range/m-p/752729#M1039800</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Plz explain,if u want this..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if fiscal year is greater than equals to 2014,then u need to show todays date of year&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;or as u wrote &lt;STRONG&gt;and&lt;/STRONG&gt; in between ..then if the conditions fulfills then what do u want to show.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanks&lt;/P&gt;&lt;P&gt;sudhanshu shrivas&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 17 Dec 2014 11:31:30 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-analysis-Year-range/m-p/752729#M1039800</guid>
      <dc:creator />
      <dc:date>2014-12-17T11:31:30Z</dc:date>
    </item>
    <item>
      <title>Re: Set analysis Year range</title>
      <link>https://community.qlik.com/t5/QlikView/Set-analysis-Year-range/m-p/752730#M1039801</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Sudhanshu Shrivas,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This is what I intended&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;Sum({$&amp;lt;&lt;/SPAN&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;FiscalYear={"&amp;gt;=2014"}, FiscalYear={"=$(=Year(Today()))"}&lt;/SPAN&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;&amp;gt;} Amount)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;TABLE border="1" class="jiveBorder" height="100" style="border: 1px solid #000000; width: 212px; height: 101px;"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TH style="text-align: center; background-color: #6690bc; color: #ffffff; padding: 2px;" valign="middle"&gt;FiscalYear&lt;/TH&gt;&lt;TH style="text-align: center; background-color: #6690bc; color: #ffffff; padding: 2px;" valign="middle"&gt;&lt;STRONG&gt;Amount&lt;/STRONG&gt;&lt;/TH&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px;"&gt;2013&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;100&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px;"&gt;2014&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;200&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px;"&gt;2015&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;30&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: arial,helvetica,sans-serif;"&gt;Basically I want to ignore anything prior to 2014, which means say today is the 2014, the amount up would be 200. Hypothetically if today is 2015 it would be 30.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: arial,helvetica,sans-serif;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: arial,helvetica,sans-serif;"&gt;If I write the set analysis like this, &lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: arial,helvetica,sans-serif;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: arial,helvetica,sans-serif;"&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;Sum({$&amp;lt;&lt;/SPAN&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;FiscalYear={"=$(=Year(Today()))"}&lt;/SPAN&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;&amp;gt;} Amount)&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: arial,helvetica,sans-serif;"&gt;The set analysis would defy the original condition that I intended in which it would also show the amount prior to 2014.&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: arial,helvetica,sans-serif;"&gt;Thank you for your kind attention. &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: arial,helvetica,sans-serif;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: arial,helvetica,sans-serif;"&gt;Regards,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;&lt;SPAN style="font-family: arial,helvetica,sans-serif;"&gt;Khairul Anuar Azuddin&lt;/SPAN&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 17 Dec 2014 11:47:15 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-analysis-Year-range/m-p/752730#M1039801</guid>
      <dc:creator />
      <dc:date>2014-12-17T11:47:15Z</dc:date>
    </item>
    <item>
      <title>Re: Set analysis Year range</title>
      <link>https://community.qlik.com/t5/QlikView/Set-analysis-Year-range/m-p/752731#M1039802</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;There seems to be an extra equal sign. Try this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=Sum( { $&amp;lt; FiscalYear={"&amp;gt;=2014"},&amp;nbsp; FiscalYear={"$(=Year(Today()))"} &amp;gt; }&amp;nbsp;&amp;nbsp; Amount)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 17 Dec 2014 12:18:41 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-analysis-Year-range/m-p/752731#M1039802</guid>
      <dc:creator>consenit</dc:creator>
      <dc:date>2014-12-17T12:18:41Z</dc:date>
    </item>
    <item>
      <title>Re: Set analysis Year range</title>
      <link>https://community.qlik.com/t5/QlikView/Set-analysis-Year-range/m-p/752732#M1039803</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dear Khairul,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Here is the set analysis,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Sum({$&amp;lt;FicalYear = {'&amp;gt;=2014'}&amp;gt;} Amount)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Kind regards,&lt;/P&gt;&lt;P&gt;Ishfaque Ahmed&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 17 Dec 2014 13:07:35 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-analysis-Year-range/m-p/752732#M1039803</guid>
      <dc:creator>engishfaque</dc:creator>
      <dc:date>2014-12-17T13:07:35Z</dc:date>
    </item>
    <item>
      <title>Re: Set analysis Year range</title>
      <link>https://community.qlik.com/t5/QlikView/Set-analysis-Year-range/m-p/752733#M1039804</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Khairul,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Try below:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=Sum( { $&amp;lt; FiscalYear={"&amp;gt;=2014"},&amp;nbsp; FiscalYear={"$(=Year(Today()))"} &amp;gt; }&amp;nbsp;&amp;nbsp; Amount)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;or&lt;/P&gt;&lt;P&gt;=Sum( { $&amp;lt; FiscalYear={"&amp;gt;=$(=Year(Today()))"} &amp;gt; }&amp;nbsp;&amp;nbsp; Amount)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Neetha&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 17 Dec 2014 13:15:59 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-analysis-Year-range/m-p/752733#M1039804</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2014-12-17T13:15:59Z</dc:date>
    </item>
    <item>
      <title>Re: Set analysis Year range</title>
      <link>https://community.qlik.com/t5/QlikView/Set-analysis-Year-range/m-p/752734#M1039805</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="color: #000000;"&gt;Hi Khairul&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000;"&gt;Your original condition does not match what you write in your first comment.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000;"&gt;You started with the pseudo code&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;If(FiscalYear&amp;gt;=2014 and &lt;SPAN style="font-family: courier new,courier;"&gt;Fiscal&lt;/SPAN&gt;Year=Year(Today()))&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: arial,helvetica,sans-serif;"&gt;&lt;EM&gt;(which means&amp;nbsp; FiscalYear 2014 or after (that is 2014,2015,2016 etc) and FiscalYear of today (that is 2014, and in a few weeks 2015)&lt;/EM&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: arial,helvetica,sans-serif;"&gt;&lt;EM&gt;&lt;BR /&gt;&lt;/EM&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: arial,helvetica,sans-serif;"&gt;&lt;SPAN style="color: #575757;"&gt;&lt;SPAN style="color: #000000;"&gt;then you write&lt;/SPAN&gt; "&lt;/SPAN&gt;&lt;SPAN style="color: #575757; font-family: arial,helvetica,sans-serif;"&gt;&lt;EM&gt;the original condition that I intended in which it would also show the amount prior to 2014&lt;/EM&gt;" &lt;SPAN style="color: #000000;"&gt;- if this is what you want the statement should be written&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: arial,helvetica,sans-serif;"&gt; &lt;SPAN style="font-family: courier new,courier;"&gt;If(FiscalYear&lt;STRONG&gt;&amp;lt;&lt;/STRONG&gt;2014 and &lt;SPAN style="font-family: courier new,courier;"&gt;Fiscal&lt;/SPAN&gt;Year=Year(Today()))&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-family: arial,helvetica,sans-serif;"&gt;anyway&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: arial,helvetica,sans-serif;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: arial,helvetica,sans-serif;"&gt;if you want a set statement for the first case it would be:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: arial,helvetica,sans-serif;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #993366; font-family: courier new,courier;"&gt;&lt;SPAN style="color: #000000;"&gt;{&amp;lt;&lt;SPAN style="color: #993366;"&gt;Fiscal&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN style="color: #993366;"&gt;Year&lt;/SPAN&gt;=&lt;SPAN style="color: #000000;"&gt;{&lt;/SPAN&gt;"&amp;gt;=2014","$(=Year(Today()))"&lt;SPAN style="color: #000000;"&gt;}&amp;gt;}&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: arial,helvetica,sans-serif;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: arial,helvetica,sans-serif;"&gt;and if you want it for the second case (include prior to 2014) it will be:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #993366; font-family: courier new,courier;"&gt;&lt;SPAN style="color: #000000;"&gt;{&amp;lt;&lt;SPAN style="color: #993366;"&gt;Fiscal&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN style="color: #993366;"&gt;Year&lt;/SPAN&gt;=&lt;SPAN style="color: #000000;"&gt;{&lt;/SPAN&gt;"&amp;lt;2014","$(=Year(Today()))"&lt;SPAN style="color: #000000;"&gt;}&amp;gt;}&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-family: courier new,courier;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-family: arial,helvetica,sans-serif;"&gt;hope this helps&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-family: courier new,courier;"&gt;&lt;SPAN style="font-family: arial,helvetica,sans-serif;"&gt;/gg&lt;/SPAN&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 17 Dec 2014 14:09:52 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-analysis-Year-range/m-p/752734#M1039805</guid>
      <dc:creator>gandalfgray</dc:creator>
      <dc:date>2014-12-17T14:09:52Z</dc:date>
    </item>
  </channel>
</rss>

