<?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: Using a variable within a set analysis expression in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Using-a-variable-within-a-set-analysis-expression/m-p/829549#M994625</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Try&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;=Sum({$&amp;lt;BOOK_MONTH= {$(vMonthCurrent)} &amp;gt;}TOTAL_REVENUE).&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 26 Jun 2015 15:14:20 GMT</pubDate>
    <dc:creator>swuehl</dc:creator>
    <dc:date>2015-06-26T15:14:20Z</dc:date>
    <item>
      <title>Using a variable within a set analysis expression</title>
      <link>https://community.qlik.com/t5/QlikView/Using-a-variable-within-a-set-analysis-expression/m-p/829548#M994624</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;I am fairly new to Qlikview and have been playing around with set analysis.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have created a variable called vMonthCurrent which is based upon the following formula: Upper(Month(Today())).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My load file contains a year's worth of data JAN through to JUN and I have one chart showing this cumulative position.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;However, I cannot get a second chart working where I just want to show data for the current month.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;To filter the chart I have tried creating an expression as follows: =Sum({$&amp;lt;BOOK_MONTH=$(vMonthCurrent)&amp;gt;}TOTAL_REVENUE).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am getting an error in expression, if I ignore this I get an error in the table 'Allocated Memory Exceeded'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If I enter the expression into a Text Object I get the error: error in set modifier element function name: '}' expected.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have been over the expression several times and all looks ok to me, can anyone help me?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have been banging my head on this for a couple of days so any help would be greatly appreciated!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 26 Jun 2015 10:58:09 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Using-a-variable-within-a-set-analysis-expression/m-p/829548#M994624</guid>
      <dc:creator />
      <dc:date>2015-06-26T10:58:09Z</dc:date>
    </item>
    <item>
      <title>Re: Using a variable within a set analysis expression</title>
      <link>https://community.qlik.com/t5/QlikView/Using-a-variable-within-a-set-analysis-expression/m-p/829549#M994625</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Try&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;=Sum({$&amp;lt;BOOK_MONTH= {$(vMonthCurrent)} &amp;gt;}TOTAL_REVENUE).&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 26 Jun 2015 15:14:20 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Using-a-variable-within-a-set-analysis-expression/m-p/829549#M994625</guid>
      <dc:creator>swuehl</dc:creator>
      <dc:date>2015-06-26T15:14:20Z</dc:date>
    </item>
    <item>
      <title>Re: Using a variable within a set analysis expression</title>
      <link>https://community.qlik.com/t5/QlikView/Using-a-variable-within-a-set-analysis-expression/m-p/829550#M994626</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;See also &lt;A href="https://community.qlik.com/qlik-blogpost/4076"&gt;A Primer on Set Analysis&lt;/A&gt; and note the curly brackets that denote the entity set.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;HIC&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 26 Jun 2015 15:28:14 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Using-a-variable-within-a-set-analysis-expression/m-p/829550#M994626</guid>
      <dc:creator>hic</dc:creator>
      <dc:date>2015-06-26T15:28:14Z</dc:date>
    </item>
  </channel>
</rss>

