<?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: error in expression in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/error-in-expression/m-p/1430029#M430236</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hope this will help:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;num(Sum({&amp;lt;[Year of date] = {"= Max([Year of date])-1" },[Calendar date]={"&amp;lt;$(=Date(AddYear(Today(),-1))"} &amp;gt;}recharge_amount),,'# ##0') &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 05 Dec 2017 13:41:07 GMT</pubDate>
    <dc:creator>prashantsanchet</dc:creator>
    <dc:date>2017-12-05T13:41:07Z</dc:date>
    <item>
      <title>error in expression</title>
      <link>https://community.qlik.com/t5/QlikView/error-in-expression/m-p/1430026#M430233</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Guys,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have en error in my expression bellow :&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=num(sum( {$&amp;lt;[Year of date]={$(=Max([Year of date])-1)},[Calendar date]={"&amp;lt;$(=Date(AddYear(Today(),-1))"}&amp;gt;} recharge_amount),'# ##0')&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="Capture.PNG" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/185766_Capture.PNG" style="height: auto;" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 05 Dec 2017 13:27:31 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/error-in-expression/m-p/1430026#M430233</guid>
      <dc:creator>master_student</dc:creator>
      <dc:date>2017-12-05T13:27:31Z</dc:date>
    </item>
    <item>
      <title>Re: error in expression</title>
      <link>https://community.qlik.com/t5/QlikView/error-in-expression/m-p/1430027#M430234</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;There is a missing bracket&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;=num(sum( {$&amp;lt;[Year of date]={$(=Max([Year of date])-1) }, [Calendar date]={"&amp;lt;$(=Date(AddYear(Today(),-1)) &lt;STRONG&gt;)&lt;/STRONG&gt; "}&amp;gt;} recharge_amount),'# ##0')&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 05 Dec 2017 13:31:51 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/error-in-expression/m-p/1430027#M430234</guid>
      <dc:creator>Colin-Albert</dc:creator>
      <dc:date>2017-12-05T13:31:51Z</dc:date>
    </item>
    <item>
      <title>Re: error in expression</title>
      <link>https://community.qlik.com/t5/QlikView/error-in-expression/m-p/1430028#M430235</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Could be anyone of these?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;&lt;STRONG&gt;=num(sum( {$&amp;lt;[Year of date]={$(=Max([Year of date])-1)},[Calendar date]={"&amp;lt;$(=Date(AddYears(Today(),-1))&lt;SPAN style="color: #ff0000;"&gt;)&lt;/SPAN&gt;"}&amp;gt;} recharge_amount),'# ##0')&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;&lt;STRONG&gt;OR&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;&lt;STRONG&gt;&lt;STRONG style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;=num(sum( {$&amp;lt;[Year of date]={&lt;SPAN style="color: #ff0000; font-size: 18pt;"&gt;'&lt;/SPAN&gt;$(=&lt;SPAN style="color: #ff0000;"&gt;Date(&lt;/SPAN&gt;Max([Year of date])-1)&lt;SPAN style="color: #ff0000;"&gt;)&lt;/SPAN&gt;&lt;SPAN style="color: #ff0000; font-size: 18pt;"&gt;'&lt;/SPAN&gt;},[Calendar date]={"&amp;lt;$(=Date(AddYears(Today(),-1))&lt;SPAN style="color: #ff0000;"&gt;)&lt;/SPAN&gt;"}&amp;gt;} recharge_amount),'# ##0')&lt;/STRONG&gt;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 05 Dec 2017 13:34:00 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/error-in-expression/m-p/1430028#M430235</guid>
      <dc:creator>Anil_Babu_Samineni</dc:creator>
      <dc:date>2017-12-05T13:34:00Z</dc:date>
    </item>
    <item>
      <title>Re: error in expression</title>
      <link>https://community.qlik.com/t5/QlikView/error-in-expression/m-p/1430029#M430236</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hope this will help:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;num(Sum({&amp;lt;[Year of date] = {"= Max([Year of date])-1" },[Calendar date]={"&amp;lt;$(=Date(AddYear(Today(),-1))"} &amp;gt;}recharge_amount),,'# ##0') &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 05 Dec 2017 13:41:07 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/error-in-expression/m-p/1430029#M430236</guid>
      <dc:creator>prashantsanchet</dc:creator>
      <dc:date>2017-12-05T13:41:07Z</dc:date>
    </item>
    <item>
      <title>Re: error in expression</title>
      <link>https://community.qlik.com/t5/QlikView/error-in-expression/m-p/1430030#M430237</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Prashant - To evaluate a function within a set expression you need to enclose the expressions in $(= )&lt;/P&gt;&lt;P&gt;so&amp;nbsp; &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 12px; background-color: #f2f2f2;"&gt;&lt;STRONG&gt;= Max([Year of date])-1&lt;/STRONG&gt;&amp;nbsp; will not work,&amp;nbsp; &lt;STRONG&gt;$(= &lt;/STRONG&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 12px; background-color: #f2f2f2;"&gt;&lt;STRONG&gt;Max([Year of date])-1 )&lt;/STRONG&gt; is correct.&amp;nbsp; &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-size: 12px; background-color: #f2f2f2; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;Assuming that the field [Year of date] is numeric, there is no need to enclose the set modifier value in quotes.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-size: 12px; background-color: #f2f2f2; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-size: 12px; background-color: #f2f2f2; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;The error is due to the brackets not matching in the second modifier for Calendar Date&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 05 Dec 2017 13:48:35 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/error-in-expression/m-p/1430030#M430237</guid>
      <dc:creator>Colin-Albert</dc:creator>
      <dc:date>2017-12-05T13:48:35Z</dc:date>
    </item>
    <item>
      <title>Re: error in expression</title>
      <link>https://community.qlik.com/t5/QlikView/error-in-expression/m-p/1430031#M430238</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks a lot. all of you&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 05 Dec 2017 14:08:42 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/error-in-expression/m-p/1430031#M430238</guid>
      <dc:creator>master_student</dc:creator>
      <dc:date>2017-12-05T14:08:42Z</dc:date>
    </item>
  </channel>
</rss>

