<?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: Problem with total sum in pivot formula in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Problem-with-total-sum-in-pivot-formula/m-p/529346#M1150166</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi, thanks, it works better in straight table. But still I need to use count() function.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 02 Jul 2013 12:04:15 GMT</pubDate>
    <dc:creator />
    <dc:date>2013-07-02T12:04:15Z</dc:date>
    <item>
      <title>Problem with total sum in pivot formula</title>
      <link>https://community.qlik.com/t5/QlikView/Problem-with-total-sum-in-pivot-formula/m-p/529341#M1150160</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 don't find any solution for my problem with pivot total sum from existing discussions. I need to count staff expenses and my formula consists three different part of costs.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;a. ((sum(salaries_from_database)) +&lt;/P&gt;&lt;P&gt;b. ((sum(ROOMS_from_database) / sum(Multiplier_from_excel))*24) +&lt;/P&gt;&lt;P&gt;c. (sum(Multiplier_from_excel)*sum(EuroAmount_from_excel))&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If I look at this in monthly view the formula works as it totals a. and b. correctly but from c. only one value e.g.&lt;/P&gt;&lt;P&gt;Multiplier = 2 and Euro = 10, total is 20 in every case, even if I have chosen monthly or daily view. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;e.g. total should be 31 (month) x 20 = 620, but it counts only 20. I have this same c. formula in other table too and there I was able to get the right result by choosing sum of the rows instead of Expression total. But that does not work in Pivot table and because I have three different part in my staff expenses formula.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I would be very grateful if someone could help me with this. Thank you!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #0000ff;"&gt;sum&lt;/SPAN&gt;(&lt;SPAN style="color: #0000ff;"&gt;total&lt;/SPAN&gt; &lt;SPAN style="color: #800000;"&gt; fieldname&lt;/SPAN&gt;) does not help.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-Maiq-&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 02 Jul 2013 06:41:11 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Problem-with-total-sum-in-pivot-formula/m-p/529341#M1150160</guid>
      <dc:creator />
      <dc:date>2013-07-02T06:41:11Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with total sum in pivot formula</title>
      <link>https://community.qlik.com/t5/QlikView/Problem-with-total-sum-in-pivot-formula/m-p/529342#M1150161</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 was facing the same problem for quite long time, also reported to QlikTech.&lt;/P&gt;&lt;P&gt;My problem resolved dramatically. Just create the same pivot table again(new object). . .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope your case might be resolved. . .&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 02 Jul 2013 08:42:59 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Problem-with-total-sum-in-pivot-formula/m-p/529342#M1150161</guid>
      <dc:creator>brijesh1991</dc:creator>
      <dc:date>2013-07-02T08:42:59Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with total sum in pivot formula</title>
      <link>https://community.qlik.com/t5/QlikView/Problem-with-total-sum-in-pivot-formula/m-p/529343#M1150162</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;Thanks for your quick answer. I tried to create a new pivot table, but unfortunately that didn't help.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I also tried count() -function as Count(Day) * sum(Multiplier_from_excel * EuroAmount_from_excel) which seems to work until I find the right solution.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 02 Jul 2013 10:18:51 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Problem-with-total-sum-in-pivot-formula/m-p/529343#M1150162</guid>
      <dc:creator />
      <dc:date>2013-07-02T10:18:51Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with total sum in pivot formula</title>
      <link>https://community.qlik.com/t5/QlikView/Problem-with-total-sum-in-pivot-formula/m-p/529344#M1150163</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;have you tried using straight table &lt;/P&gt;&lt;P&gt;go to expression tab on straight table&lt;/P&gt;&lt;P&gt;for that particular expression&amp;nbsp;&amp;nbsp; you ll see on right side total mode with radio button &lt;/P&gt;&lt;P&gt;tick on 3rd one where you select drop down &lt;STRONG&gt;total count&lt;/STRONG&gt; of rows&lt;/P&gt;&lt;P&gt;hope it helps &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 02 Jul 2013 10:27:27 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Problem-with-total-sum-in-pivot-formula/m-p/529344#M1150163</guid>
      <dc:creator>er_mohit</dc:creator>
      <dc:date>2013-07-02T10:27:27Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with total sum in pivot formula</title>
      <link>https://community.qlik.com/t5/QlikView/Problem-with-total-sum-in-pivot-formula/m-p/529345#M1150164</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hey. . .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In your pivot table properties,&lt;/P&gt;&lt;P&gt;Go to presentation tab--&amp;gt; select the dimention for which you wanted to aggregate the above expressions, check the 'show partial sum' checkbox. . .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope it will work in your case. . . (Y)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 02 Jul 2013 11:22:33 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Problem-with-total-sum-in-pivot-formula/m-p/529345#M1150164</guid>
      <dc:creator>brijesh1991</dc:creator>
      <dc:date>2013-07-02T11:22:33Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with total sum in pivot formula</title>
      <link>https://community.qlik.com/t5/QlikView/Problem-with-total-sum-in-pivot-formula/m-p/529346#M1150166</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi, thanks, it works better in straight table. But still I need to use count() function.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 02 Jul 2013 12:04:15 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Problem-with-total-sum-in-pivot-formula/m-p/529346#M1150166</guid>
      <dc:creator />
      <dc:date>2013-07-02T12:04:15Z</dc:date>
    </item>
  </channel>
</rss>

