<?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 Using variables to create a set analysis expression in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Using-variables-to-create-a-set-analysis-expression/m-p/325618#M1195772</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I think that it could be very useful to create a set analysis expression as sum(myVar myAmount), with myVar built by a macro.&lt;/P&gt;&lt;P&gt;Is it possible? Thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 02 May 2011 16:37:37 GMT</pubDate>
    <dc:creator />
    <dc:date>2011-05-02T16:37:37Z</dc:date>
    <item>
      <title>Using variables to create a set analysis expression</title>
      <link>https://community.qlik.com/t5/QlikView/Using-variables-to-create-a-set-analysis-expression/m-p/325618#M1195772</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I think that it could be very useful to create a set analysis expression as sum(myVar myAmount), with myVar built by a macro.&lt;/P&gt;&lt;P&gt;Is it possible? Thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 02 May 2011 16:37:37 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Using-variables-to-create-a-set-analysis-expression/m-p/325618#M1195772</guid>
      <dc:creator />
      <dc:date>2011-05-02T16:37:37Z</dc:date>
    </item>
    <item>
      <title>Using variables to create a set analysis expression</title>
      <link>https://community.qlik.com/t5/QlikView/Using-variables-to-create-a-set-analysis-expression/m-p/325619#M1195773</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Sure,&lt;/P&gt;&lt;P&gt;The syntax is almost like that.&lt;/P&gt;&lt;P&gt;You can use:&lt;/P&gt;&lt;P&gt;SUM( $(varSet) VALUE)&lt;/P&gt;&lt;P&gt;and varSet can be set by macro to be the following string (for example):&lt;/P&gt;&lt;P&gt;{&amp;lt;TEAM={A}&amp;gt;}&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 02 May 2011 16:44:09 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Using-variables-to-create-a-set-analysis-expression/m-p/325619#M1195773</guid>
      <dc:creator>erichshiino</dc:creator>
      <dc:date>2011-05-02T16:44:09Z</dc:date>
    </item>
    <item>
      <title>Using variables to create a set analysis expression</title>
      <link>https://community.qlik.com/t5/QlikView/Using-variables-to-create-a-set-analysis-expression/m-p/325620#M1195774</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I've tried your syntax and I've a syntax error. VALUE is underlined in red.&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 02 May 2011 16:51:12 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Using-variables-to-create-a-set-analysis-expression/m-p/325620#M1195774</guid>
      <dc:creator />
      <dc:date>2011-05-02T16:51:12Z</dc:date>
    </item>
    <item>
      <title>Using variables to create a set analysis expression</title>
      <link>https://community.qlik.com/t5/QlikView/Using-variables-to-create-a-set-analysis-expression/m-p/325621#M1195775</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;This is only and example, in this case I made sum of VALUE.&lt;/P&gt;&lt;P&gt;You can replace it by your fields (the same applies to the variable name and set analysis expression in it)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;EDIT: I agree that QV 10 SR2 does not recognize this as a valid expression on the syntax checker but it works.&lt;/P&gt;&lt;P&gt;(You have to agree this is not a very common structure)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 02 May 2011 16:52:44 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Using-variables-to-create-a-set-analysis-expression/m-p/325621#M1195775</guid>
      <dc:creator>erichshiino</dc:creator>
      <dc:date>2011-05-02T16:52:44Z</dc:date>
    </item>
  </channel>
</rss>

