<?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 Expression not Working in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Set-Analysis-Expression-not-Working/m-p/502904#M556425</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Desmortes,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Did you try this yet: =$(vRevenue)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Sokkorn&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sat, 20 Jul 2013 04:34:02 GMT</pubDate>
    <dc:creator>Sokkorn</dc:creator>
    <dc:date>2013-07-20T04:34:02Z</dc:date>
    <item>
      <title>Set Analysis Expression not Working</title>
      <link>https://community.qlik.com/t5/QlikView/Set-Analysis-Expression-not-Working/m-p/502903#M556424</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;&lt;/P&gt;&lt;P&gt;I'm trying to create a Set Analysis expression in the edit script using a variable as shown below:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SET vRevenue = "Sum({$&amp;lt;FiscalYear = {$(=max(FiscalYear))} &amp;gt;}Revenue)";&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When i access the vRevenue variable&amp;nbsp; in the chart,i'm getting an internal error as shown below:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Sum({$&amp;lt;FiscalYear = {'(internal error)'} &amp;gt;}Revenue)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The same is working fine when i create a variable in the variable overview and i want to create it in the edit script. Please suggest that how to overcome this error.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in Advance.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Desmortes.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 20 Jul 2013 04:25:31 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-Analysis-Expression-not-Working/m-p/502903#M556424</guid>
      <dc:creator />
      <dc:date>2013-07-20T04:25:31Z</dc:date>
    </item>
    <item>
      <title>Re: Set Analysis Expression not Working</title>
      <link>https://community.qlik.com/t5/QlikView/Set-Analysis-Expression-not-Working/m-p/502904#M556425</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Desmortes,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Did you try this yet: =$(vRevenue)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Sokkorn&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 20 Jul 2013 04:34:02 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-Analysis-Expression-not-Working/m-p/502904#M556425</guid>
      <dc:creator>Sokkorn</dc:creator>
      <dc:date>2013-07-20T04:34:02Z</dc:date>
    </item>
    <item>
      <title>Re: Set Analysis Expression not Working</title>
      <link>https://community.qlik.com/t5/QlikView/Set-Analysis-Expression-not-Working/m-p/502905#M556426</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Try: LET vRevenue = 'Sum({$&amp;lt;FiscalYear = {$' &amp;amp; '(=max(FiscalYear))} &amp;gt;}Revenue)';&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Or this: &lt;/P&gt;&lt;P&gt;SET vRevenue = Sum({$&amp;lt;FiscalYear = {@(=max(FiscalYear))} &amp;gt;}Revenue);&lt;/P&gt;&lt;P&gt;LET vRevenue = replace('$(vRevenue)','@','$');&lt;SPAN style="color: #737373; font-family: Arial; background-color: #ffffff;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 20 Jul 2013 06:28:53 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-Analysis-Expression-not-Working/m-p/502905#M556426</guid>
      <dc:creator>Gysbert_Wassenaar</dc:creator>
      <dc:date>2013-07-20T06:28:53Z</dc:date>
    </item>
  </channel>
</rss>

