<?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 with a variable in the filters (possible?) in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Set-Analysis-with-a-variable-in-the-filters-possible/m-p/705330#M674524</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;???&lt;/P&gt;&lt;P&gt;and how would it be using the PRODUCT_FAMILY?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 18 Jul 2014 14:03:40 GMT</pubDate>
    <dc:creator />
    <dc:date>2014-07-18T14:03:40Z</dc:date>
    <item>
      <title>Set Analysis with a variable in the filters (possible?)</title>
      <link>https://community.qlik.com/t5/QlikView/Set-Analysis-with-a-variable-in-the-filters-possible/m-p/705327#M674521</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dears, I would like to do a set analysis using variables, but the variable would be the filter of the formula, for example:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This is the normal&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;=Sum({$&amp;lt;PRODUCT_FAMILY={"Family"}&amp;gt;}($(vInvoice))&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;I want to use the variable in the &amp;lt;&amp;nbsp; &amp;gt; (in the place of PRODUCT_FAMILY)&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;How do I do that?&lt;BR /&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 18 Jul 2014 13:58:55 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-Analysis-with-a-variable-in-the-filters-possible/m-p/705327#M674521</guid>
      <dc:creator />
      <dc:date>2014-07-18T13:58:55Z</dc:date>
    </item>
    <item>
      <title>Re: Set Analysis with a variable in the filters (possible?)</title>
      <link>https://community.qlik.com/t5/QlikView/Set-Analysis-with-a-variable-in-the-filters-possible/m-p/705328#M674522</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;STRONG&gt;EDIT:&lt;BR /&gt;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;STRONG&gt;surprising I added the variable inside but it didn't show up&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;STRONG&gt;&lt;STRONG style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;SPAN style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;STRONG&gt;=Sum({$&amp;lt;PRODUCT_FAMILY={"&lt;/STRONG&gt;&lt;/SPAN&gt;$(vInvoice)&lt;SPAN style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;STRONG&gt;"}&amp;gt;}Sales)&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;STRONG&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;STRONG&gt;=Sum({$&amp;lt;PRODUCT_FAMILY={"&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;STRONG&gt;"}&amp;gt;}Sales)&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 18 Jul 2014 14:01:01 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-Analysis-with-a-variable-in-the-filters-possible/m-p/705328#M674522</guid>
      <dc:creator>sudeepkm</dc:creator>
      <dc:date>2014-07-18T14:01:01Z</dc:date>
    </item>
    <item>
      <title>Re: Set Analysis with a variable in the filters (possible?)</title>
      <link>https://community.qlik.com/t5/QlikView/Set-Analysis-with-a-variable-in-the-filters-possible/m-p/705329#M674523</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I would like to place the variable vInvoice inside the &amp;lt; &amp;gt;, instead of PRODUCT_FAMILY&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;but it is not working properly. How do I do that?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 18 Jul 2014 14:02:38 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-Analysis-with-a-variable-in-the-filters-possible/m-p/705329#M674523</guid>
      <dc:creator />
      <dc:date>2014-07-18T14:02:38Z</dc:date>
    </item>
    <item>
      <title>Re: Set Analysis with a variable in the filters (possible?)</title>
      <link>https://community.qlik.com/t5/QlikView/Set-Analysis-with-a-variable-in-the-filters-possible/m-p/705330#M674524</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;???&lt;/P&gt;&lt;P&gt;and how would it be using the PRODUCT_FAMILY?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 18 Jul 2014 14:03:40 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-Analysis-with-a-variable-in-the-filters-possible/m-p/705330#M674524</guid>
      <dc:creator />
      <dc:date>2014-07-18T14:03:40Z</dc:date>
    </item>
    <item>
      <title>Re: Set Analysis with a variable in the filters (possible?)</title>
      <link>https://community.qlik.com/t5/QlikView/Set-Analysis-with-a-variable-in-the-filters-possible/m-p/705331#M674525</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Unfortunately no ...&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 18 Jul 2014 14:04:25 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-Analysis-with-a-variable-in-the-filters-possible/m-p/705331#M674525</guid>
      <dc:creator>alexandros17</dc:creator>
      <dc:date>2014-07-18T14:04:25Z</dc:date>
    </item>
    <item>
      <title>Re: Set Analysis with a variable in the filters (possible?)</title>
      <link>https://community.qlik.com/t5/QlikView/Set-Analysis-with-a-variable-in-the-filters-possible/m-p/705332#M674526</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Declare a variable with the value : &lt;STRONG style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;PRODUCT_FAMILY={"Family"}&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Use it in your expression: &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;=Sum({$&amp;lt;$(vVar)&amp;gt;}($(vInvoice))&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;You can also use multiple variables:&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;STRONG style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;=Sum({$&amp;lt;$(vVar),$(vVar2)&amp;gt;}($(vInvoice))&lt;/STRONG&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 18 Jul 2014 14:05:13 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-Analysis-with-a-variable-in-the-filters-possible/m-p/705332#M674526</guid>
      <dc:creator>gmoraleswit</dc:creator>
      <dc:date>2014-07-18T14:05:13Z</dc:date>
    </item>
    <item>
      <title>Re: Set Analysis with a variable in the filters (possible?)</title>
      <link>https://community.qlik.com/t5/QlikView/Set-Analysis-with-a-variable-in-the-filters-possible/m-p/705333#M674527</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Have you tested it?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 18 Jul 2014 14:07:16 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-Analysis-with-a-variable-in-the-filters-possible/m-p/705333#M674527</guid>
      <dc:creator />
      <dc:date>2014-07-18T14:07:16Z</dc:date>
    </item>
    <item>
      <title>Re: Re: Set Analysis with a variable in the filters (possible?)</title>
      <link>https://community.qlik.com/t5/QlikView/Set-Analysis-with-a-variable-in-the-filters-possible/m-p/705334#M674528</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yes, see attach&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 18 Jul 2014 14:14:05 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-Analysis-with-a-variable-in-the-filters-possible/m-p/705334#M674528</guid>
      <dc:creator>gmoraleswit</dc:creator>
      <dc:date>2014-07-18T14:14:05Z</dc:date>
    </item>
    <item>
      <title>Re: Re: Set Analysis with a variable in the filters (possible?)</title>
      <link>https://community.qlik.com/t5/QlikView/Set-Analysis-with-a-variable-in-the-filters-possible/m-p/705335#M674529</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I'm sorry I thought you are asking to have a field value taken from a variable.&lt;/P&gt;&lt;P&gt;but please take a look at the example.&lt;/P&gt;&lt;P&gt;I've declared a variable as Field name and used that in set analysis. I thought it would not work.&lt;/P&gt;&lt;P&gt;&lt;IMG alt="aa.png" class="jive-image" src="https://community.qlik.com/legacyfs/online/62669_aa.png" style="width: 620px; height: 202px;" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 18 Jul 2014 14:16:22 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-Analysis-with-a-variable-in-the-filters-possible/m-p/705335#M674529</guid>
      <dc:creator>sudeepkm</dc:creator>
      <dc:date>2014-07-18T14:16:22Z</dc:date>
    </item>
  </channel>
</rss>

