<?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 variable in Set Analysis in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Using-variable-in-Set-Analysis/m-p/938555#M323871</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks, it is not working. That was what I already mentioned " &lt;EM&gt;= within the evaluation. Nothing works&lt;/EM&gt;"&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 21 Oct 2015 15:48:29 GMT</pubDate>
    <dc:creator />
    <dc:date>2015-10-21T15:48:29Z</dc:date>
    <item>
      <title>Using variable in Set Analysis</title>
      <link>https://community.qlik.com/t5/QlikView/Using-variable-in-Set-Analysis/m-p/938553#M323869</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi There,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am trying to use a variable (declared in the settings not in the load script) in a set analysis but it just does not want to work. Probably I am doing something wrong but I tried already couple of things like single, double quotations. = within the evaluation. Nothing works.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I need to get back data which is less than the value of the variable, but seems within the set analysis the bigger (&amp;gt;), smaller (&amp;lt;) operators just ignored. It gives me back all the results.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Would be happy with any suggestion. &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;Set Analysis&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;=COUNT&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;({&amp;lt;&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;[Renewal Month Relative]&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;= {'-1'}, &lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;[Current Free Month]&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;={'0'}, &lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;[Current Discount]&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;={"&amp;lt;$(vExpCentreEmbeddedDiscount)"}&amp;gt;}&amp;nbsp; &lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;[Parent Duration]&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;) &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;Variable (vExpCentreEmbeddedDiscount)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;AVG&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;({&amp;lt;&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;[Renewal Month Relative]&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; = {'-1'}&amp;gt;} &lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;[Parent Inventory Value]&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;)/&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;AVG&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;({&amp;lt;&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;[Renewal Month Relative]&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; = {'-1'}&amp;gt;} &lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;[Parent List Price]&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;)) &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;Thanks in advance for your help guys.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;Tamas&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 21 Oct 2015 13:02:48 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Using-variable-in-Set-Analysis/m-p/938553#M323869</guid>
      <dc:creator />
      <dc:date>2015-10-21T13:02:48Z</dc:date>
    </item>
    <item>
      <title>Re: Using variable in Set Analysis</title>
      <link>https://community.qlik.com/t5/QlikView/Using-variable-in-Set-Analysis/m-p/938554#M323870</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Not sure but may be an equal sign next to the variable might helps:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #0000ff;"&gt;&lt;STRONG style=": ; color: #575757; font-size: 10pt; font-family: arial, helvetica, sans-serif;"&gt;=COUNT&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;SPAN style="color: #575757; font-family: arial, helvetica, sans-serif; font-size: 10pt;"&gt;&lt;STRONG&gt;({&amp;lt;[Renewal Month Relative]= {'-1'}, [Current Free Month]={'0'}, [Current Discount]={"&amp;lt;$(&lt;SPAN style="color: #ff0000;"&gt;=&lt;/SPAN&gt;vExpCentreEmbeddedDiscount)"}&amp;gt;} [Parent Duration]&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;STRONG style=": ; color: #575757; font-size: 10pt; font-family: arial, helvetica, sans-serif;"&gt;)&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 21 Oct 2015 15:43:47 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Using-variable-in-Set-Analysis/m-p/938554#M323870</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2015-10-21T15:43:47Z</dc:date>
    </item>
    <item>
      <title>Re: Using variable in Set Analysis</title>
      <link>https://community.qlik.com/t5/QlikView/Using-variable-in-Set-Analysis/m-p/938555#M323871</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks, it is not working. That was what I already mentioned " &lt;EM&gt;= within the evaluation. Nothing works&lt;/EM&gt;"&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 21 Oct 2015 15:48:29 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Using-variable-in-Set-Analysis/m-p/938555#M323871</guid>
      <dc:creator />
      <dc:date>2015-10-21T15:48:29Z</dc:date>
    </item>
    <item>
      <title>Re: Using variable in Set Analysis</title>
      <link>https://community.qlik.com/t5/QlikView/Using-variable-in-Set-Analysis/m-p/938556#M323872</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I apologize, I missed that part of the post&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 21 Oct 2015 15:53:58 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Using-variable-in-Set-Analysis/m-p/938556#M323872</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2015-10-21T15:53:58Z</dc:date>
    </item>
    <item>
      <title>Re: Using variable in Set Analysis</title>
      <link>https://community.qlik.com/t5/QlikView/Using-variable-in-Set-Analysis/m-p/938557#M323873</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 think Set Analisys is correct.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Try put "=" before variable definition, that also need an initial &lt;SPAN style="color: #3c3c3c; font-family: Arial, sans-serif; font-size: 12px;"&gt;parenthesis:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #0000ff;"&gt;&lt;STRONG style="color: #ff9900;"&gt;=(&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;SPAN style="color: #000000;"&gt;AVG({&amp;lt;[Renewal Month Relative] = {'-1'}&amp;gt;} [Parent Inventory Value])/AVG({&amp;lt;[Renewal Month Relative] = {'-1'}&amp;gt;} [Parent List Price]))&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 22 Oct 2015 09:15:12 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Using-variable-in-Set-Analysis/m-p/938557#M323873</guid>
      <dc:creator />
      <dc:date>2015-10-22T09:15:12Z</dc:date>
    </item>
  </channel>
</rss>

