<?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 Different values between variables and formulas in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Different-values-between-variables-and-formulas/m-p/918193#M318317</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I'm populating variables via a database, but when I use the variable in either a chart(pie chart) or a pivot table, the value the variable gives is the Total for the selection. If I put the formula is a cell by itself, it brings back the correct value, when it's places in a chart, it brings back the total. If I take the formula associated with the variable, and place the formula directly into the pivot table, it works correctly.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;any idea why using the variable name would show the total when used in a chart or pivot table?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 28 Jul 2015 14:15:56 GMT</pubDate>
    <dc:creator />
    <dc:date>2015-07-28T14:15:56Z</dc:date>
    <item>
      <title>Different values between variables and formulas</title>
      <link>https://community.qlik.com/t5/QlikView/Different-values-between-variables-and-formulas/m-p/918193#M318317</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I'm populating variables via a database, but when I use the variable in either a chart(pie chart) or a pivot table, the value the variable gives is the Total for the selection. If I put the formula is a cell by itself, it brings back the correct value, when it's places in a chart, it brings back the total. If I take the formula associated with the variable, and place the formula directly into the pivot table, it works correctly.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;any idea why using the variable name would show the total when used in a chart or pivot table?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 28 Jul 2015 14:15:56 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Different-values-between-variables-and-formulas/m-p/918193#M318317</guid>
      <dc:creator />
      <dc:date>2015-07-28T14:15:56Z</dc:date>
    </item>
    <item>
      <title>Re: Different values between variables and formulas</title>
      <link>https://community.qlik.com/t5/QlikView/Different-values-between-variables-and-formulas/m-p/918194#M318318</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;when using formulas inside variables&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;you should note this behavior &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;if there is a '=' sign in the variable formula the variable will return the formula total result&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;if there isn't a 'Sign' then the variable formula will be calculated at each cell&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 28 Jul 2015 14:24:58 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Different-values-between-variables-and-formulas/m-p/918194#M318318</guid>
      <dc:creator>lironbaram</dc:creator>
      <dc:date>2015-07-28T14:24:58Z</dc:date>
    </item>
    <item>
      <title>Re: Different values between variables and formulas</title>
      <link>https://community.qlik.com/t5/QlikView/Different-values-between-variables-and-formulas/m-p/918195#M318319</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I figured that was the issue, but wether or not I put an "=" in the expression box, the total is returned. In my database, I use the "=". In QlikView expression, if I put VariableName I get the total, and if I put =VariableName I get the total&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 28 Jul 2015 14:29:12 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Different-values-between-variables-and-formulas/m-p/918195#M318319</guid>
      <dc:creator />
      <dc:date>2015-07-28T14:29:12Z</dc:date>
    </item>
    <item>
      <title>Re: Different values between variables and formulas</title>
      <link>https://community.qlik.com/t5/QlikView/Different-values-between-variables-and-formulas/m-p/918196#M318320</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;in the expression you need to put $(variablename)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 28 Jul 2015 14:34:05 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Different-values-between-variables-and-formulas/m-p/918196#M318320</guid>
      <dc:creator>lironbaram</dc:creator>
      <dc:date>2015-07-28T14:34:05Z</dc:date>
    </item>
    <item>
      <title>Re: Different values between variables and formulas</title>
      <link>https://community.qlik.com/t5/QlikView/Different-values-between-variables-and-formulas/m-p/918197#M318321</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I removed the = from the database and made the expressions =$(variable) and it worked. Thanks for your help!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 28 Jul 2015 15:10:25 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Different-values-between-variables-and-formulas/m-p/918197#M318321</guid>
      <dc:creator />
      <dc:date>2015-07-28T15:10:25Z</dc:date>
    </item>
  </channel>
</rss>

