<?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: Re: set analysis syntax error in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/set-analysis-syntax-error/m-p/680869#M246845</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;still not working. I have confirmed that there is data for 2013 and 2014 and variable CurrrentYear value is 2014. I am doing some mistake in the syntamx&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE __default_attr="plain" __jive_macro_name="code" class="jive_text_macro jive_macro_code _jivemacro_uid_14127752553611589" jivemacro_uid="_14127752553611589"&gt;&lt;SPAN style="color: black; font-size: 9pt !important; font-style: inherit; background-color: inherit; font-weight: inherit;"&gt;sum({&amp;lt;Year = {"&amp;gt;= $(CurrrentYear) - 2"} &amp;gt;} revenue)&lt;/SPAN&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Shah&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 08 Oct 2014 13:34:22 GMT</pubDate>
    <dc:creator />
    <dc:date>2014-10-08T13:34:22Z</dc:date>
    <item>
      <title>set analysis syntax error</title>
      <link>https://community.qlik.com/t5/QlikView/set-analysis-syntax-error/m-p/680866#M246842</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Can someone please tell me whats wrong with these two syntaxes&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE __default_attr="plain" __jive_macro_name="code" class="jive_text_macro jive_macro_code _jivemacro_uid_14127667999056659" jivemacro_uid="_14127667999056659" modifiedtitle="true"&gt;
&lt;P&gt;sum({&amp;lt;Year = "&amp;gt;= ($(CurrrentYear) - 2)"&amp;gt;})&lt;/P&gt;
&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE __default_attr="plain" __jive_macro_name="code" class="jive_text_macro _jivemacro_uid_14127668572238468 jive_macro_code" jivemacro_uid="_14127668572238468"&gt;
&lt;P&gt;sum({&amp;lt;Year = "&amp;gt;= $(CurrrentYear) - 2"&amp;gt;})&lt;/P&gt;
&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE __default_attr="plain" __jive_macro_name="code" class="_jivemacro_uid_14127668053134838 jive_text_macro jive_macro_code" jivemacro_uid="_14127668053134838"&gt;
&lt;P&gt;sum({&amp;lt;Year = " ($(CurrrentYear) - 2)"&amp;gt;})&lt;/P&gt;
&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Shah&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 08 Oct 2014 11:14:39 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/set-analysis-syntax-error/m-p/680866#M246842</guid>
      <dc:creator />
      <dc:date>2014-10-08T11:14:39Z</dc:date>
    </item>
    <item>
      <title>Re: set analysis syntax error</title>
      <link>https://community.qlik.com/t5/QlikView/set-analysis-syntax-error/m-p/680867#M246843</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The part on the right side of the = sign needs to be enclosed in curly braces too: &lt;/P&gt;&lt;OL class="dp-c" start="1" style="font-size: 12px; font-family: Consolas, 'Courier New', Courier, mono, serif; list-style-position: initial; list-style-image: initial; color: #5c5c5c; margin-bottom: 1px !important; margin-left: 45px !important;"&gt;&lt;LI&gt;&lt;SPAN style="color: black; font-size: 9pt !important; font-style: inherit; background-color: inherit; font-weight: inherit;"&gt;sum({&amp;lt;Year = {"&amp;gt;= $(CurrrentYear) - 2"} &amp;gt;})&amp;nbsp; &lt;/SPAN&gt;&lt;/LI&gt;&lt;/OL&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 08 Oct 2014 11:18:35 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/set-analysis-syntax-error/m-p/680867#M246843</guid>
      <dc:creator>Gysbert_Wassenaar</dc:creator>
      <dc:date>2014-10-08T11:18:35Z</dc:date>
    </item>
    <item>
      <title>Re: set analysis syntax error</title>
      <link>https://community.qlik.com/t5/QlikView/set-analysis-syntax-error/m-p/680868#M246844</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Sum({&amp;lt;Year = {"&amp;gt;= $(CurrrentYear - 2)"}&amp;gt;}) &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 08 Oct 2014 11:21:09 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/set-analysis-syntax-error/m-p/680868#M246844</guid>
      <dc:creator>sivarajs</dc:creator>
      <dc:date>2014-10-08T11:21:09Z</dc:date>
    </item>
    <item>
      <title>Re: Re: set analysis syntax error</title>
      <link>https://community.qlik.com/t5/QlikView/set-analysis-syntax-error/m-p/680869#M246845</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;still not working. I have confirmed that there is data for 2013 and 2014 and variable CurrrentYear value is 2014. I am doing some mistake in the syntamx&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE __default_attr="plain" __jive_macro_name="code" class="jive_text_macro jive_macro_code _jivemacro_uid_14127752553611589" jivemacro_uid="_14127752553611589"&gt;&lt;SPAN style="color: black; font-size: 9pt !important; font-style: inherit; background-color: inherit; font-weight: inherit;"&gt;sum({&amp;lt;Year = {"&amp;gt;= $(CurrrentYear) - 2"} &amp;gt;} revenue)&lt;/SPAN&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Shah&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 08 Oct 2014 13:34:22 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/set-analysis-syntax-error/m-p/680869#M246845</guid>
      <dc:creator />
      <dc:date>2014-10-08T13:34:22Z</dc:date>
    </item>
    <item>
      <title>Re: set analysis syntax error</title>
      <link>https://community.qlik.com/t5/QlikView/set-analysis-syntax-error/m-p/680870#M246846</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Can you attach sample qvw&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 08 Oct 2014 13:39:39 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/set-analysis-syntax-error/m-p/680870#M246846</guid>
      <dc:creator>anbu1984</dc:creator>
      <dc:date>2014-10-08T13:39:39Z</dc:date>
    </item>
    <item>
      <title>Re: set analysis syntax error</title>
      <link>https://community.qlik.com/t5/QlikView/set-analysis-syntax-error/m-p/680871#M246847</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Syed, you can try:&lt;/P&gt;&lt;P&gt;sum({&amp;lt;Year = {"&amp;gt;= $(=CurrrentYear-2)"}&amp;gt;} revenue)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Check if 'currrent' (with 3 'r') is correct.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 08 Oct 2014 13:41:21 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/set-analysis-syntax-error/m-p/680871#M246847</guid>
      <dc:creator>rubenmarin</dc:creator>
      <dc:date>2014-10-08T13:41:21Z</dc:date>
    </item>
    <item>
      <title>Re: Re: set analysis syntax error</title>
      <link>https://community.qlik.com/t5/QlikView/set-analysis-syntax-error/m-p/680872#M246848</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Make sure to use the exact case sensitive field names.&lt;/P&gt;&lt;P&gt;Check that the expression works if you hard code the year:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;&lt;SPAN style="color: black; font-size: 9pt !important; font-style: inherit; background-color: inherit; font-weight: inherit;"&gt;sum({&amp;lt;Year = {"&amp;gt;=2014"} &amp;gt;} revenue)&amp;nbsp; &lt;/SPAN&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 08 Oct 2014 13:46:45 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/set-analysis-syntax-error/m-p/680872#M246848</guid>
      <dc:creator>Gysbert_Wassenaar</dc:creator>
      <dc:date>2014-10-08T13:46:45Z</dc:date>
    </item>
  </channel>
</rss>

