<?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 setence store into a variable? in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Set-Analysis-setence-store-into-a-variable/m-p/1693469#M450789</link>
    <description>&lt;P&gt;Thank you very much ¡¡, it works perfectly&amp;nbsp;&lt;span class="lia-unicode-emoji" title=":grinning_face:"&gt;😀&lt;/span&gt;&lt;/P&gt;</description>
    <pubDate>Tue, 14 Apr 2020 20:58:34 GMT</pubDate>
    <dc:creator>EdgarMM</dc:creator>
    <dc:date>2020-04-14T20:58:34Z</dc:date>
    <item>
      <title>Set Analysis setence store into a variable?</title>
      <link>https://community.qlik.com/t5/QlikView/Set-Analysis-setence-store-into-a-variable/m-p/1693452#M450784</link>
      <description>&lt;P&gt;Hi there:&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; I'm pretty new in Qlikview and I'm trying to store a hole set analysis sentence into a variable and use this variable into several graphs and pivot tables;&amp;nbsp;the objective of this is only to change the content of the variable and not to change the graphs or the dynamic tables every time a change is required; is there a way to do it or it is only posible store part of the set analysis sentence into the variable?&lt;/P&gt;&lt;P&gt;Example:&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; What I want to store but it does not work:&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&lt;FONT color="#0000FF"&gt;vMXAct&lt;/FONT&gt; =&amp;nbsp;sum({$&amp;lt;[Source]={'Actual'}, [Country]={'MX'}&amp;gt;} AMOUNT)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; The only way I found it works is like this:&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&lt;FONT color="#0000FF"&gt;VMXAct&lt;/FONT&gt; =&amp;nbsp;[Source]={'Actual'}, [Country]={'MX'}&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;In the graphs and pivote tables:&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;=Sum({$&amp;lt;&lt;FONT color="#0000FF"&gt;$(=vMXAct&lt;/FONT&gt;)&amp;gt;} AMOUNT)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks in advanced for your help.&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Edgar.&lt;/P&gt;</description>
      <pubDate>Tue, 14 Apr 2020 20:27:17 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-Analysis-setence-store-into-a-variable/m-p/1693452#M450784</guid>
      <dc:creator>EdgarMM</dc:creator>
      <dc:date>2020-04-14T20:27:17Z</dc:date>
    </item>
    <item>
      <title>Re: Set Analysis setence store into a variable?</title>
      <link>https://community.qlik.com/t5/QlikView/Set-Analysis-setence-store-into-a-variable/m-p/1693461#M450787</link>
      <description>&lt;P&gt;Consider this script:&lt;BR /&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;SET vMXAct = sum({$&amp;lt;[Source]={'Actual'}, [Country]={'MX'}&amp;gt;} AMOUNT);&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;LOAD * inline [&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;Source, Country, AMOUNT&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;Budget, MX, 100&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;Actual, MX, 110&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;Budget, SE, 90&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;Actual, SE, 95&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;];&lt;/FONT&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;It will give this output:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Vegar_0-1586896697579.png" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/31827iB721E52996AF6984/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Vegar_0-1586896697579.png" alt="Vegar_0-1586896697579.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;See attached qvw&lt;/P&gt;</description>
      <pubDate>Tue, 14 Apr 2020 20:38:52 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-Analysis-setence-store-into-a-variable/m-p/1693461#M450787</guid>
      <dc:creator>Vegar</dc:creator>
      <dc:date>2020-04-14T20:38:52Z</dc:date>
    </item>
    <item>
      <title>Re: Set Analysis setence store into a variable?</title>
      <link>https://community.qlik.com/t5/QlikView/Set-Analysis-setence-store-into-a-variable/m-p/1693469#M450789</link>
      <description>&lt;P&gt;Thank you very much ¡¡, it works perfectly&amp;nbsp;&lt;span class="lia-unicode-emoji" title=":grinning_face:"&gt;😀&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 14 Apr 2020 20:58:34 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-Analysis-setence-store-into-a-variable/m-p/1693469#M450789</guid>
      <dc:creator>EdgarMM</dc:creator>
      <dc:date>2020-04-14T20:58:34Z</dc:date>
    </item>
  </channel>
</rss>

