<?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: variable and set analysis in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/variable-and-set-analysis/m-p/944868#M1255734</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Couple of questions:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;OL&gt;&lt;LI&gt;When you use the expression in a straight table does it give you your desired output? &lt;/LI&gt;&lt;LI&gt;Are you using V_var as the expression or $(V_var)? Try using $(V_var), if you are not.&lt;/LI&gt;&lt;/OL&gt;&lt;P&gt;&lt;/P&gt;&lt;BLOCKQUOTE&gt;&lt;TABLE border="1"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;
&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;the question is: is it possible&amp;nbsp; put in a variable&amp;nbsp; a whole set analysis expression??&lt;/SPAN&gt;&lt;/P&gt;
&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;To answer the above question -&amp;gt; Yes you can save a whole set analysis expression in a variable.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sat, 26 Sep 2015 12:23:12 GMT</pubDate>
    <dc:creator>sunny_talwar</dc:creator>
    <dc:date>2015-09-26T12:23:12Z</dc:date>
    <item>
      <title>variable and set analysis</title>
      <link>https://community.qlik.com/t5/QlikView/variable-and-set-analysis/m-p/944867#M1255732</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;HI all&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I've a problem with variable and set analysis.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I've this expression : =sum( {$&amp;lt;ANNO = {$(=Only(ANNO))}&amp;gt;} EMESSO_P_GI )&lt;/P&gt;&lt;P&gt;because I have to use it in many analyzes, I would put the set analalysis formula in a variable then i created a variable&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;V_var=&lt;SPAN style="font-size: 13.3333330154419px;"&gt;sum( {$&amp;lt;ANNO = {$(=Only(ANNO))}&amp;gt;} EMESSO_P_GI )&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333330154419px;"&gt;and then i used it in a colum table but it did not work.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;the question is: is it possible&amp;nbsp; put in a variable&amp;nbsp; a whole set analysis expression??&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanks for your help&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 26 Jan 2026 18:19:17 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/variable-and-set-analysis/m-p/944867#M1255732</guid>
      <dc:creator />
      <dc:date>2026-01-26T18:19:17Z</dc:date>
    </item>
    <item>
      <title>Re: variable and set analysis</title>
      <link>https://community.qlik.com/t5/QlikView/variable-and-set-analysis/m-p/944868#M1255734</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Couple of questions:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;OL&gt;&lt;LI&gt;When you use the expression in a straight table does it give you your desired output? &lt;/LI&gt;&lt;LI&gt;Are you using V_var as the expression or $(V_var)? Try using $(V_var), if you are not.&lt;/LI&gt;&lt;/OL&gt;&lt;P&gt;&lt;/P&gt;&lt;BLOCKQUOTE&gt;&lt;TABLE border="1"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;
&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;the question is: is it possible&amp;nbsp; put in a variable&amp;nbsp; a whole set analysis expression??&lt;/SPAN&gt;&lt;/P&gt;
&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;To answer the above question -&amp;gt; Yes you can save a whole set analysis expression in a variable.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 26 Sep 2015 12:23:12 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/variable-and-set-analysis/m-p/944868#M1255734</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2015-09-26T12:23:12Z</dc:date>
    </item>
    <item>
      <title>Re: variable and set analysis</title>
      <link>https://community.qlik.com/t5/QlikView/variable-and-set-analysis/m-p/944869#M1255736</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;It seems that you put the whole expression into a variable, not only the set analysis part.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You should be able to do both, but you may need to take care of the way you defined your variable:&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.qlik.com/qlik-blogpost/3406"&gt;The Magic of Variables&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 26 Sep 2015 12:58:53 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/variable-and-set-analysis/m-p/944869#M1255736</guid>
      <dc:creator>swuehl</dc:creator>
      <dc:date>2015-09-26T12:58:53Z</dc:date>
    </item>
    <item>
      <title>Re: variable and set analysis</title>
      <link>https://community.qlik.com/t5/QlikView/variable-and-set-analysis/m-p/944870#M1255738</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;yes it's possible&lt;/P&gt;&lt;P&gt;see attachment&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 26 Sep 2015 13:04:01 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/variable-and-set-analysis/m-p/944870#M1255738</guid>
      <dc:creator>maxgro</dc:creator>
      <dc:date>2015-09-26T13:04:01Z</dc:date>
    </item>
    <item>
      <title>Re: variable and set analysis</title>
      <link>https://community.qlik.com/t5/QlikView/variable-and-set-analysis/m-p/944871#M1255740</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;thanks for your help.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i tried&amp;nbsp; to use $var but it did not work. this is the new outcome:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;V_EMESSO_P_GI is =sum( {$&amp;lt;ANNO = {$(=Only(ANNO))}&amp;gt;} EMESSO_P_GI )&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;TABLE border="0" cellpadding="0" cellspacing="0" jive-data-cell="{&amp;quot;color&amp;quot;:&amp;quot;#575757&amp;quot;,&amp;quot;textAlign&amp;quot;:&amp;quot;-webkit-right&amp;quot;,&amp;quot;padding&amp;quot;:&amp;quot;NaN&amp;quot;,&amp;quot;backgroundColor&amp;quot;:&amp;quot;transparent&amp;quot;,&amp;quot;fontFamily&amp;quot;:&amp;quot;arial,helvetica,sans-serif&amp;quot;,&amp;quot;verticalAlign&amp;quot;:&amp;quot;baseline&amp;quot;}" jive-data-header="{&amp;quot;color&amp;quot;:&amp;quot;#FFFFFF&amp;quot;,&amp;quot;backgroundColor&amp;quot;:&amp;quot;#6690BC&amp;quot;,&amp;quot;textAlign&amp;quot;:&amp;quot;center&amp;quot;,&amp;quot;padding&amp;quot;:&amp;quot;2&amp;quot;}" style="width: 567px;"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TH style="color: #ffffff; text-align: center; padding: 2px; background-color: #6690bc;"&gt;AREA&lt;/TH&gt;&lt;TH style="color: #ffffff; text-align: center; padding: 2px; background-color: #6690bc;"&gt;2015&lt;/TH&gt;&lt;TH style="color: #ffffff; text-align: center; padding: 2px; background-color: #6690bc;"&gt;2014&lt;/TH&gt;&lt;TH style="color: #ffffff; text-align: center; padding: 2px; background-color: #6690bc;"&gt;208390661,80896&lt;/TH&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="color: #575757; text-align: -webkit-right; font-family: arial, helvetica, sans-serif; vertical-align: baseline; background-color: rgba(0, 0, 0, 0);"&gt;italy&lt;/TD&gt;&lt;TD align="right" class="xl70" style="border-top-style: none; border-left-style: none; color: #575757; text-align: -webkit-right; font-family: arial, helvetica, sans-serif; vertical-align: baseline; background-color: rgba(0, 0, 0, 0);"&gt;829,201&lt;/TD&gt;&lt;TD align="right" class="xl71" style="border-top-style: none; border-left-style: none; color: #575757; text-align: -webkit-right; font-family: arial, helvetica, sans-serif; vertical-align: baseline; background-color: rgba(0, 0, 0, 0);"&gt;42,966&lt;/TD&gt;&lt;TD class="xl72" style="border-top-style: none; border-left-style: none; color: #575757; text-align: -webkit-right; font-family: arial, helvetica, sans-serif; vertical-align: baseline; background-color: rgba(0, 0, 0, 0);"&gt;0&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="color: #575757; text-align: -webkit-right; font-family: arial, helvetica, sans-serif; vertical-align: baseline; background-color: rgba(0, 0, 0, 0);"&gt;england&lt;/TD&gt;&lt;TD align="right" class="xl70" style="border-top-style: none; border-left-style: none; color: #575757; text-align: -webkit-right; font-family: arial, helvetica, sans-serif; vertical-align: baseline; background-color: rgba(0, 0, 0, 0);"&gt;3,382,028&lt;/TD&gt;&lt;TD align="right" class="xl71" style="border-top-style: none; border-left-style: none; color: #575757; text-align: -webkit-right; font-family: arial, helvetica, sans-serif; vertical-align: baseline; background-color: rgba(0, 0, 0, 0);"&gt;41,259,523&lt;/TD&gt;&lt;TD class="xl72" style="border-top-style: none; border-left-style: none; color: #575757; text-align: -webkit-right; font-family: arial, helvetica, sans-serif; vertical-align: baseline; background-color: rgba(0, 0, 0, 0);"&gt;0&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="color: #575757; text-align: -webkit-right; font-family: arial, helvetica, sans-serif; vertical-align: baseline; background-color: rgba(0, 0, 0, 0);"&gt;austria&lt;/TD&gt;&lt;TD align="right" class="xl70" style="border-top-style: none; border-left-style: none; color: #575757; text-align: -webkit-right; font-family: arial, helvetica, sans-serif; vertical-align: baseline; background-color: rgba(0, 0, 0, 0);"&gt;28,225&lt;/TD&gt;&lt;TD align="right" class="xl71" style="border-top-style: none; border-left-style: none; color: #575757; text-align: -webkit-right; font-family: arial, helvetica, sans-serif; vertical-align: baseline; background-color: rgba(0, 0, 0, 0);"&gt;87,062&lt;/TD&gt;&lt;TD class="xl72" style="border-top-style: none; border-left-style: none; color: #575757; text-align: -webkit-right; font-family: arial, helvetica, sans-serif; vertical-align: baseline; background-color: rgba(0, 0, 0, 0);"&gt;0&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="color: #575757; text-align: -webkit-right; font-family: arial, helvetica, sans-serif; vertical-align: baseline; background-color: rgba(0, 0, 0, 0);"&gt;germany&lt;/TD&gt;&lt;TD align="right" class="xl70" style="border-top-style: none; border-left-style: none; color: #575757; text-align: -webkit-right; font-family: arial, helvetica, sans-serif; vertical-align: baseline; background-color: rgba(0, 0, 0, 0);"&gt;93,376&lt;/TD&gt;&lt;TD align="right" class="xl71" style="border-top-style: none; border-left-style: none; color: #575757; text-align: -webkit-right; font-family: arial, helvetica, sans-serif; vertical-align: baseline; background-color: rgba(0, 0, 0, 0);"&gt;1,861,027&lt;/TD&gt;&lt;TD class="xl72" style="border-top-style: none; border-left-style: none; color: #575757; text-align: -webkit-right; font-family: arial, helvetica, sans-serif; vertical-align: baseline; background-color: rgba(0, 0, 0, 0);"&gt;0&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="color: #575757; text-align: -webkit-right; font-family: arial, helvetica, sans-serif; vertical-align: baseline; background-color: rgba(0, 0, 0, 0);"&gt;&lt;/TD&gt;&lt;TD class="xl73" style="border-top-style: none; border-left-style: none; color: #575757; text-align: -webkit-right; font-family: arial, helvetica, sans-serif; vertical-align: baseline; background-color: rgba(0, 0, 0, 0);"&gt;&lt;/TD&gt;&lt;TD class="xl73" style="border-top-style: none; border-left-style: none; color: #575757; text-align: -webkit-right; font-family: arial, helvetica, sans-serif; vertical-align: baseline; background-color: rgba(0, 0, 0, 0);"&gt;&lt;/TD&gt;&lt;TD class="xl73" style="border-top-style: none; border-left-style: none; color: #575757; text-align: -webkit-right; font-family: arial, helvetica, sans-serif; vertical-align: baseline; background-color: rgba(0, 0, 0, 0);"&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="color: #575757; text-align: -webkit-right; font-family: arial, helvetica, sans-serif; vertical-align: baseline; background-color: rgba(0, 0, 0, 0);"&gt;&lt;/TD&gt;&lt;TD class="xl73" style="border-top-style: none; border-left-style: none; color: #575757; text-align: -webkit-right; font-family: arial, helvetica, sans-serif; vertical-align: baseline; background-color: rgba(0, 0, 0, 0);"&gt;&lt;/TD&gt;&lt;TD class="xl73" style="border-top-style: none; border-left-style: none; color: #575757; text-align: -webkit-right; font-family: arial, helvetica, sans-serif; vertical-align: baseline; background-color: rgba(0, 0, 0, 0);"&gt;&lt;/TD&gt;&lt;TD class="xl73" style="border-top-style: none; border-left-style: none; color: #575757; text-align: -webkit-right; font-family: arial, helvetica, sans-serif; vertical-align: baseline; background-color: rgba(0, 0, 0, 0);"&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TH style="color: #ffffff; text-align: center; padding: 2px; background-color: #6690bc;"&gt;&lt;/TH&gt;&lt;TH style="color: #ffffff; text-align: center; padding: 2px; background-color: #6690bc;"&gt;=sum( {$&amp;lt;ANNO = {$(=Only(ANNO))}&amp;gt;} EMESSO_P_GI )&lt;/TH&gt;&lt;TH style="color: #ffffff; text-align: center; padding: 2px; background-color: #6690bc;"&gt;=sum( {$&amp;lt;ANNO = {$(=Only(ANNO-1))}&amp;gt;} EMESSO_P_GI )&lt;/TH&gt;&lt;TH style="color: #ffffff; text-align: center; padding: 2px; background-color: #6690bc;"&gt;$(V_EMESSO_P_GI)&lt;/TH&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&lt;IMG alt="var.JPG" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/100137_var.JPG" style="height: 451px; width: 620px;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;maybe it could be a var&amp;nbsp; scope issue, &lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;it seems that the Variable does not recognize the dimension level (Area). &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i really appreciate your help&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ciao&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 26 Sep 2015 16:14:14 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/variable-and-set-analysis/m-p/944871#M1255740</guid>
      <dc:creator />
      <dc:date>2015-09-26T16:14:14Z</dc:date>
    </item>
    <item>
      <title>Re: variable and set analysis</title>
      <link>https://community.qlik.com/t5/QlikView/variable-and-set-analysis/m-p/944872#M1255742</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;the soluions was:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="var.JPG" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/100142_var.JPG" style="height: 199px; width: 620px;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN lang="en"&gt;I was wrong variable's syntax&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN lang="en"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN lang="en"&gt;thanks for help&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN lang="en"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN lang="en"&gt;ciao&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 26 Sep 2015 17:11:37 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/variable-and-set-analysis/m-p/944872#M1255742</guid>
      <dc:creator />
      <dc:date>2015-09-26T17:11:37Z</dc:date>
    </item>
  </channel>
</rss>

