<?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 are not working in pivot table in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Variables-are-not-working-in-pivot-table/m-p/714045#M256991</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;No idea, why don't you post the document so we can see what you're actually doing in it. See this document for how to to do that: &lt;A _jive_internal="true" href="https://community.qlik.com/docs/DOC-1290" style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3778c7;"&gt;Preparing examples for Upload - Reduction and Data Scrambling&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 20 Aug 2014 12:23:23 GMT</pubDate>
    <dc:creator>Gysbert_Wassenaar</dc:creator>
    <dc:date>2014-08-20T12:23:23Z</dc:date>
    <item>
      <title>Variables are not working in pivot table</title>
      <link>https://community.qlik.com/t5/QlikView/Variables-are-not-working-in-pivot-table/m-p/714044#M256990</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have created a set of expressions in variables which I load from an Excel file. I then loop through the stored variables in the Excel file to load them in my document.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When I use the variable in the table for calculation, the value is not being aggregated properly. I have the same value as the total for all values. This is incorrect.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Consider the following scenario&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have created a variable: vSUMSALES. This has the calculation: SUM(SALES)&lt;/P&gt;&lt;P&gt;I am now using the vSUMSALES variable in another variable: vDaysSales. This has the calculation: SUM(SALES) /SUM(DAYS). This would be alternatively coded to $(vSUMSALES) / SUM(DAYS).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have a table with 10 unique branch numbers and for each I want to calculate the Day Sales.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When I use the expression in a pivot table it works fine giving an individual Day Sales for each branch. When I use the expression I get the same figure in the Day Sales value.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What am I doing wrong?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 20 Aug 2014 12:14:36 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Variables-are-not-working-in-pivot-table/m-p/714044#M256990</guid>
      <dc:creator />
      <dc:date>2014-08-20T12:14:36Z</dc:date>
    </item>
    <item>
      <title>Re: Variables are not working in pivot table</title>
      <link>https://community.qlik.com/t5/QlikView/Variables-are-not-working-in-pivot-table/m-p/714045#M256991</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;No idea, why don't you post the document so we can see what you're actually doing in it. See this document for how to to do that: &lt;A _jive_internal="true" href="https://community.qlik.com/docs/DOC-1290" style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3778c7;"&gt;Preparing examples for Upload - Reduction and Data Scrambling&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 20 Aug 2014 12:23:23 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Variables-are-not-working-in-pivot-table/m-p/714045#M256991</guid>
      <dc:creator>Gysbert_Wassenaar</dc:creator>
      <dc:date>2014-08-20T12:23:23Z</dc:date>
    </item>
    <item>
      <title>Re: Variables are not working in pivot table</title>
      <link>https://community.qlik.com/t5/QlikView/Variables-are-not-working-in-pivot-table/m-p/714046#M256992</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi RAjesh.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Try this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I attached an example to explain it better.&lt;/P&gt;&lt;P&gt;The difference is the equal sign in the variable. You need to quit the equal sign if you will use your variable in the report.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;H5 class="simple" style="padding-top: 8px; font-size: 20px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;/H5&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 20 Aug 2014 15:32:47 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Variables-are-not-working-in-pivot-table/m-p/714046#M256992</guid>
      <dc:creator>marthacano01</dc:creator>
      <dc:date>2014-08-20T15:32:47Z</dc:date>
    </item>
  </channel>
</rss>

