<?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 Add Set Analysis to existing variable expression in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Add-Set-Analysis-to-existing-variable-expression/m-p/262744#M98893</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Are you talking about using the variable as part of a set analysis? Like this?:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=sum({$&amp;lt;MonthOffset={"$(=max(MonthOffset)-1)"}&amp;gt;}$(ReportExpression1))&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 14 Sep 2011 20:28:33 GMT</pubDate>
    <dc:creator />
    <dc:date>2011-09-14T20:28:33Z</dc:date>
    <item>
      <title>Add Set Analysis to existing variable expression</title>
      <link>https://community.qlik.com/t5/QlikView/Add-Set-Analysis-to-existing-variable-expression/m-p/262743#M98892</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;All of my expressions are stored as Variables.&amp;nbsp; I now need to apply some level of variability to some of the existing variables and I'm wondering if it's possible to add Set Analysis to an expression Variable in a chart.&amp;nbsp; In other words, the Variable remains as is but in a chart I'd like to add Set Analysis to the Variable for that chart only - as opposed to creating another Variable.&amp;nbsp; Thoughts?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 14 Sep 2011 20:21:26 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Add-Set-Analysis-to-existing-variable-expression/m-p/262743#M98892</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2011-09-14T20:21:26Z</dc:date>
    </item>
    <item>
      <title>Add Set Analysis to existing variable expression</title>
      <link>https://community.qlik.com/t5/QlikView/Add-Set-Analysis-to-existing-variable-expression/m-p/262744#M98893</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Are you talking about using the variable as part of a set analysis? Like this?:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=sum({$&amp;lt;MonthOffset={"$(=max(MonthOffset)-1)"}&amp;gt;}$(ReportExpression1))&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 14 Sep 2011 20:28:33 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Add-Set-Analysis-to-existing-variable-expression/m-p/262744#M98893</guid>
      <dc:creator />
      <dc:date>2011-09-14T20:28:33Z</dc:date>
    </item>
    <item>
      <title>Add Set Analysis to existing variable expression</title>
      <link>https://community.qlik.com/t5/QlikView/Add-Set-Analysis-to-existing-variable-expression/m-p/262745#M98894</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;I don't think you can do this, but you can create separate variables for set analysis:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;var1 = {$&amp;lt;Month={'jan'}&amp;gt;}&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;var2 = sum( $(var1) Sales)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this helps!&lt;/P&gt;&lt;P&gt;Regards!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 14 Sep 2011 20:52:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Add-Set-Analysis-to-existing-variable-expression/m-p/262745#M98894</guid>
      <dc:creator />
      <dc:date>2011-09-14T20:52:04Z</dc:date>
    </item>
    <item>
      <title>Re: Add Set Analysis to existing variable expression</title>
      <link>https://community.qlik.com/t5/QlikView/Add-Set-Analysis-to-existing-variable-expression/m-p/262746#M98895</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt; You could try adding a parameter to your variable.&amp;nbsp; For example, &lt;/P&gt;&lt;P&gt;define a variable named vSALES and put this text into it:&lt;/P&gt;&lt;P&gt; sum( $1 MYSALES) &lt;/P&gt;&lt;P&gt;Now, you have a variable that must have an argument supplied. &lt;/P&gt;&lt;P&gt;To use it in a chart expression where you want to add the set analysis syntax code &lt;/P&gt;&lt;P&gt;something like this&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; =$(vSALES('{&amp;lt;Year={2010}&amp;gt;}')) &lt;/P&gt;&lt;P&gt;and the $1 will be replaced by&amp;nbsp;&amp;nbsp; {&amp;lt;Year={2010}&amp;gt;} &lt;/P&gt;&lt;P&gt;For a chart expression where no extra set analysis is required code something like this&lt;/P&gt;&lt;P&gt; =$(vSALES(''))&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 15 Sep 2011 20:07:50 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Add-Set-Analysis-to-existing-variable-expression/m-p/262746#M98895</guid>
      <dc:creator />
      <dc:date>2011-09-15T20:07:50Z</dc:date>
    </item>
    <item>
      <title>Re: Add Set Analysis to existing variable expression</title>
      <link>https://community.qlik.com/t5/QlikView/Add-Set-Analysis-to-existing-variable-expression/m-p/262747#M98896</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I'm trying to get this expression to work, and it ignores the 2006 set analysis expression.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Sum({$&amp;lt;"Year"={'2006'}&amp;gt;}$(vSetRolling12)Sales)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 03 Feb 2012 19:45:33 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Add-Set-Analysis-to-existing-variable-expression/m-p/262747#M98896</guid>
      <dc:creator />
      <dc:date>2012-02-03T19:45:33Z</dc:date>
    </item>
  </channel>
</rss>

