<?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 Set Analysis using complex variable syntax in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Set-Analysis-using-complex-variable-syntax/m-p/376773#M495273</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;&amp;nbsp; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;1. I have a complex Chart that references multiple variables to derive values.&lt;BR /&gt;&lt;BR /&gt;2. The current chart calcuates the "% Product Lock Variance" accrurately by Plan which is stored as a variable called "vProductLockDelta".&lt;BR /&gt;&lt;BR /&gt;3. The goal is to take that derived value from "vProductLockDelta" by Plan and then lookup up the equalilant Score in the "Lookup Table".&lt;BR /&gt;&lt;BR /&gt;4. When I try to reference that variable result in a set analysis expression, it does not calculate the value for each specific Plan, rather just 1 value for all plans&lt;BR /&gt;&lt;BR /&gt;"=avg({ $&amp;lt; [% Product Lock]= {$(=$(vProductLockDelta))} &amp;gt; } Score)"&lt;BR /&gt;&lt;BR /&gt;5. I've tried multiple variations to the above syntax but this is the only way I return values.&lt;BR /&gt;&lt;BR /&gt;Is there a way for the Set Analysis expression to return back the correct Score for the "% Product Lock Variance" for each row in the above chart? &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in advance for your help!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Marc&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 09 Aug 2012 22:24:24 GMT</pubDate>
    <dc:creator>marc_wintjen</dc:creator>
    <dc:date>2012-08-09T22:24:24Z</dc:date>
    <item>
      <title>Set Analysis using complex variable syntax</title>
      <link>https://community.qlik.com/t5/QlikView/Set-Analysis-using-complex-variable-syntax/m-p/376773#M495273</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;&amp;nbsp; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;1. I have a complex Chart that references multiple variables to derive values.&lt;BR /&gt;&lt;BR /&gt;2. The current chart calcuates the "% Product Lock Variance" accrurately by Plan which is stored as a variable called "vProductLockDelta".&lt;BR /&gt;&lt;BR /&gt;3. The goal is to take that derived value from "vProductLockDelta" by Plan and then lookup up the equalilant Score in the "Lookup Table".&lt;BR /&gt;&lt;BR /&gt;4. When I try to reference that variable result in a set analysis expression, it does not calculate the value for each specific Plan, rather just 1 value for all plans&lt;BR /&gt;&lt;BR /&gt;"=avg({ $&amp;lt; [% Product Lock]= {$(=$(vProductLockDelta))} &amp;gt; } Score)"&lt;BR /&gt;&lt;BR /&gt;5. I've tried multiple variations to the above syntax but this is the only way I return values.&lt;BR /&gt;&lt;BR /&gt;Is there a way for the Set Analysis expression to return back the correct Score for the "% Product Lock Variance" for each row in the above chart? &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in advance for your help!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Marc&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 09 Aug 2012 22:24:24 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-Analysis-using-complex-variable-syntax/m-p/376773#M495273</guid>
      <dc:creator>marc_wintjen</dc:creator>
      <dc:date>2012-08-09T22:24:24Z</dc:date>
    </item>
    <item>
      <title>Re: Set Analysis using complex variable syntax</title>
      <link>https://community.qlik.com/t5/QlikView/Set-Analysis-using-complex-variable-syntax/m-p/376774#M495274</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Rather than reference a variable - Does anyone know if you can reference the result of a calculated column in Set Analysis?&amp;nbsp; Something like:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;"=avg({ $&amp;lt; [% Product Lock]= {$(=$(column(3)))} &amp;gt; } Score)"&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Marc&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 10 Aug 2012 14:48:58 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-Analysis-using-complex-variable-syntax/m-p/376774#M495274</guid>
      <dc:creator>marc_wintjen</dc:creator>
      <dc:date>2012-08-10T14:48:58Z</dc:date>
    </item>
  </channel>
</rss>

