<?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: Variables with Different results in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Variables-with-Different-results/m-p/1393333#M812985</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;What is the expression you are using in your variable. Can you share a sample app to look into. May be in your table is it is calculating distinct values based on your dimensions. Can't answer until I see some sample data. Is it possible?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 22 Sep 2017 00:31:59 GMT</pubDate>
    <dc:creator>vishsaggi</dc:creator>
    <dc:date>2017-09-22T00:31:59Z</dc:date>
    <item>
      <title>Variables with Different results</title>
      <link>https://community.qlik.com/t5/QlikView/Variables-with-Different-results/m-p/1393332#M812984</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;HI, &lt;/P&gt;&lt;P&gt;I'm learning about variables and I am having some difficulties. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For Example: &lt;/P&gt;&lt;P&gt;I have a variable that is set up in my app called vGlobal_Ranking&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If I use this variable in a KPI or a Gage&amp;nbsp; I get Result 'X' (Which is the correct answer) &lt;/P&gt;&lt;P&gt;If I use this exact same variable in a table in the visualization, I get a completely different result (wrong result)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;All 3 have the exact same measure, $(vGlobal_Ranking). &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Why am I getting a different result in the table vs KPI or Gage?&amp;nbsp; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The variables were causing errors in my reports and had to be eliminated completely, leading to very complicated formulas. &lt;/P&gt;&lt;P&gt;I think i'm missing something, knowledge-wise, when it comes to variables. I would appreciate if anyone could help me wrap my head around the subject and the reasons behind the different results. &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;see below for a print screen of the diff, results, all 3 contained solely the same&amp;nbsp; $(vGlobal_Ranking) variable &lt;/P&gt;&lt;P&gt;&lt;IMG alt="Global Ranking.png" class="jive-image image-1" src="/legacyfs/online/177389_Global Ranking.png" style="height: auto;" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 25 Nov 2020 16:16:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Variables-with-Different-results/m-p/1393332#M812984</guid>
      <dc:creator />
      <dc:date>2020-11-25T16:16:04Z</dc:date>
    </item>
    <item>
      <title>Re: Variables with Different results</title>
      <link>https://community.qlik.com/t5/QlikView/Variables-with-Different-results/m-p/1393333#M812985</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;What is the expression you are using in your variable. Can you share a sample app to look into. May be in your table is it is calculating distinct values based on your dimensions. Can't answer until I see some sample data. Is it possible?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 22 Sep 2017 00:31:59 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Variables-with-Different-results/m-p/1393333#M812985</guid>
      <dc:creator>vishsaggi</dc:creator>
      <dc:date>2017-09-22T00:31:59Z</dc:date>
    </item>
    <item>
      <title>Re: Variables with Different results</title>
      <link>https://community.qlik.com/t5/QlikView/Variables-with-Different-results/m-p/1393334#M812986</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The difference will be that the calculation within the table is in respect to the dimensions there and within the gauge or KPI it's without any dimension.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;- Marcus&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 22 Sep 2017 06:45:43 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Variables-with-Different-results/m-p/1393334#M812986</guid>
      <dc:creator>marcus_sommer</dc:creator>
      <dc:date>2017-09-22T06:45:43Z</dc:date>
    </item>
    <item>
      <title>Re: Variables with Different results</title>
      <link>https://community.qlik.com/t5/QlikView/Variables-with-Different-results/m-p/1393335#M812987</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello, &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When you are making the KPI and you are calling the variable it calculates the formula globally and doesn;t aggregate to anything unless you do it inside of it. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The expression you are calculating aggregates to dimension that you use in the table.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope it helped,&lt;/P&gt;&lt;P&gt;Andrei&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 22 Sep 2017 06:56:43 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Variables-with-Different-results/m-p/1393335#M812987</guid>
      <dc:creator>andrei_delta</dc:creator>
      <dc:date>2017-09-22T06:56:43Z</dc:date>
    </item>
    <item>
      <title>Re: Variables with Different results</title>
      <link>https://community.qlik.com/t5/QlikView/Variables-with-Different-results/m-p/1393336#M812988</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;ok, thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 22 Sep 2017 09:04:46 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Variables-with-Different-results/m-p/1393336#M812988</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-09-22T09:04:46Z</dc:date>
    </item>
  </channel>
</rss>

