<?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: total in pivot table in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/total-in-pivot-table/m-p/868582#M303777</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;change your variable to date((today()),'MMM'), if you use the monthname function QV will consider it a string, but in your script you are actually setting it as a date &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 09 Apr 2015 14:31:34 GMT</pubDate>
    <dc:creator>ramoncova06</dc:creator>
    <dc:date>2015-04-09T14:31:34Z</dc:date>
    <item>
      <title>total in pivot table</title>
      <link>https://community.qlik.com/t5/QlikView/total-in-pivot-table/m-p/868576#M303771</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 a pivot with an expression:IF(min(Month_name)&amp;gt;=(vCurMonth),Sum(Sal*Bench_Data),Sum({&amp;lt;Y={'2015'}&amp;gt;}Fact_bench))&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;TABLE border="0" cellpadding="0" cellspacing="0" width="386"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD class="xl63" height="17" width="98"&gt; &lt;/TD&gt;&lt;TD class="xl64" width="72"&gt;Q1&lt;/TD&gt;&lt;TD class="xl64" style="border-left: none;" width="72"&gt;Q2&lt;/TD&gt;&lt;TD class="xl64" style="border-left: none;" width="72"&gt;Q3&lt;/TD&gt;&lt;TD class="xl64" style="border-left: none;" width="72"&gt;Q4&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl65" height="17" style="border-top: none;"&gt;BG_bench&lt;/TD&gt;&lt;TD class="xl64" style="border-top: none; border-left: none;"&gt;Bench 2015, USD&lt;/TD&gt;&lt;TD class="xl64" style="border-top: none; border-left: none;"&gt;Bench 2015, USD&lt;/TD&gt;&lt;TD class="xl64" style="border-top: none; border-left: none;"&gt;Bench 2015, USD&lt;/TD&gt;&lt;TD class="xl64" style="border-top: none; border-left: none;"&gt;Bench 2015, USD&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl66" height="17" style="border-top: none;"&gt;BG1&lt;/TD&gt;&lt;TD align="right" class="xl67" style="border-top: none; border-left: none;"&gt;77,360&lt;/TD&gt;&lt;TD align="right" class="xl67" style="border-top: none; border-left: none;"&gt;70,660&lt;/TD&gt;&lt;TD align="right" class="xl67" style="border-top: none; border-left: none;"&gt;122,394&lt;/TD&gt;&lt;TD align="right" class="xl67" style="border-top: none; border-left: none;"&gt;176,394&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl66" height="17" style="border-top: none;"&gt;BG2&lt;/TD&gt;&lt;TD align="right" class="xl67" style="border-top: none; border-left: none;"&gt;0&lt;/TD&gt;&lt;TD align="right" class="xl67" style="border-top: none; border-left: none;"&gt;0&lt;/TD&gt;&lt;TD align="right" class="xl67" style="border-top: none; border-left: none;"&gt;0&lt;/TD&gt;&lt;TD align="right" class="xl67" style="border-top: none; border-left: none;"&gt;0&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl66" height="17" style="border-top: none;"&gt;BG3&lt;/TD&gt;&lt;TD align="right" class="xl67" style="border-top: none; border-left: none;"&gt;0&lt;/TD&gt;&lt;TD align="right" class="xl67" style="border-top: none; border-left: none;"&gt;0&lt;/TD&gt;&lt;TD align="right" class="xl67" style="border-top: none; border-left: none;"&gt;0&lt;/TD&gt;&lt;TD align="right" class="xl67" style="border-top: none; border-left: none;"&gt;0&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl66" height="17" style="border-top: none;"&gt;BG4&lt;/TD&gt;&lt;TD align="right" class="xl67" style="border-top: none; border-left: none;"&gt;0&lt;/TD&gt;&lt;TD align="right" class="xl67" style="border-top: none; border-left: none;"&gt;0&lt;/TD&gt;&lt;TD align="right" class="xl67" style="border-top: none; border-left: none;"&gt;0&lt;/TD&gt;&lt;TD align="right" class="xl67" style="border-top: none; border-left: none;"&gt;0&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl66" height="17" style="border-top: none;"&gt;BG5&lt;/TD&gt;&lt;TD align="right" class="xl67" style="border-top: none; border-left: none;"&gt;0&lt;/TD&gt;&lt;TD align="right" class="xl67" style="border-top: none; border-left: none;"&gt;0&lt;/TD&gt;&lt;TD align="right" class="xl67" style="border-top: none; border-left: none;"&gt;0&lt;/TD&gt;&lt;TD align="right" class="xl67" style="border-top: none; border-left: none;"&gt;0&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl66" height="17" style="border-top: none;"&gt;BG6&lt;/TD&gt;&lt;TD align="right" class="xl67" style="border-top: none; border-left: none;"&gt;0&lt;/TD&gt;&lt;TD align="right" class="xl67" style="border-top: none; border-left: none;"&gt;0&lt;/TD&gt;&lt;TD align="right" class="xl67" style="border-top: none; border-left: none;"&gt;0&lt;/TD&gt;&lt;TD align="right" class="xl67" style="border-top: none; border-left: none;"&gt;0&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl66" height="17" style="border-top: none;"&gt;BG7&lt;/TD&gt;&lt;TD align="right" class="xl67" style="border-top: none; border-left: none;"&gt;0&lt;/TD&gt;&lt;TD align="right" class="xl67" style="border-top: none; border-left: none;"&gt;0&lt;/TD&gt;&lt;TD align="right" class="xl67" style="border-top: none; border-left: none;"&gt;0&lt;/TD&gt;&lt;TD align="right" class="xl67" style="border-top: none; border-left: none;"&gt;0&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl66" height="17" style="border-top: none;"&gt;BG8&lt;/TD&gt;&lt;TD align="right" class="xl67" style="border-top: none; border-left: none;"&gt;0&lt;/TD&gt;&lt;TD align="right" class="xl67" style="border-top: none; border-left: none;"&gt;0&lt;/TD&gt;&lt;TD align="right" class="xl67" style="border-top: none; border-left: none;"&gt;0&lt;/TD&gt;&lt;TD align="right" class="xl67" style="border-top: none; border-left: none;"&gt;0&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl68" height="17" style="border-top: none;"&gt;Total&lt;/TD&gt;&lt;TD align="right" class="xl69" style="border-top: none;"&gt;77,360&lt;/TD&gt;&lt;TD align="right" class="xl69" style="border-top: none; border-left: none;"&gt;70,660&lt;/TD&gt;&lt;TD align="right" class="xl69" style="border-top: none; border-left: none;"&gt;122,394&lt;/TD&gt;&lt;TD align="right" class="xl69" style="border-top: none; border-left: none;"&gt;176,394&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It works perfectly with quarters, but it doesnt work in 'Total'. The 'Total' shows me only the result of the 1st quarter. &lt;/P&gt;&lt;P&gt;Any ideas how to fix this prob?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 07 Apr 2015 13:47:56 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/total-in-pivot-table/m-p/868576#M303771</guid>
      <dc:creator />
      <dc:date>2015-04-07T13:47:56Z</dc:date>
    </item>
    <item>
      <title>Re: total in pivot table</title>
      <link>https://community.qlik.com/t5/QlikView/total-in-pivot-table/m-p/868577#M303772</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;It would be great if you can share sample application &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 07 Apr 2015 13:51:55 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/total-in-pivot-table/m-p/868577#M303772</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-04-07T13:51:55Z</dc:date>
    </item>
    <item>
      <title>Re: total in pivot table</title>
      <link>https://community.qlik.com/t5/QlikView/total-in-pivot-table/m-p/868578#M303773</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;try this&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;IF(min(Month_name)&amp;gt;=Sum(Sal*Bench_Data),Sum({&amp;lt;Y={'2015'}&amp;gt;}Fact_bench))&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;or&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;IF(min(Month_name)&amp;gt;=(here create/put ur variable for year),Sum(Sal*Bench_Data),Sum({&amp;lt;Y={'2015'}&amp;gt;}Fact_bench))&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 07 Apr 2015 13:55:37 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/total-in-pivot-table/m-p/868578#M303773</guid>
      <dc:creator>buzzy996</dc:creator>
      <dc:date>2015-04-07T13:55:37Z</dc:date>
    </item>
    <item>
      <title>Re: total in pivot table</title>
      <link>https://community.qlik.com/t5/QlikView/total-in-pivot-table/m-p/868579#M303774</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Nope, this doesnt give me any result&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 07 Apr 2015 13:59:37 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/total-in-pivot-table/m-p/868579#M303774</guid>
      <dc:creator />
      <dc:date>2015-04-07T13:59:37Z</dc:date>
    </item>
    <item>
      <title>Re: total in pivot table</title>
      <link>https://community.qlik.com/t5/QlikView/total-in-pivot-table/m-p/868580#M303775</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;or reset Month_name&lt;/P&gt;&lt;P&gt;Sum({&amp;lt;Y={'2015'},Month_name=&amp;gt;}Fact_bench)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;try to use total where datedimension should &lt;/P&gt;&lt;P&gt;Sum(total &amp;lt;yourdatedimension&amp;gt;{&amp;lt;Y={'2015'}&amp;gt;}Fact_bench)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 07 Apr 2015 14:10:30 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/total-in-pivot-table/m-p/868580#M303775</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-04-07T14:10:30Z</dc:date>
    </item>
    <item>
      <title>Re: total in pivot table</title>
      <link>https://community.qlik.com/t5/QlikView/total-in-pivot-table/m-p/868581#M303776</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Here is my sample data. As u can see total isnt calculated corrreclty because of the&amp;nbsp; IF statement, and the calculated dimension isnt working also&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 09 Apr 2015 13:40:00 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/total-in-pivot-table/m-p/868581#M303776</guid>
      <dc:creator />
      <dc:date>2015-04-09T13:40:00Z</dc:date>
    </item>
    <item>
      <title>Re: total in pivot table</title>
      <link>https://community.qlik.com/t5/QlikView/total-in-pivot-table/m-p/868582#M303777</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;change your variable to date((today()),'MMM'), if you use the monthname function QV will consider it a string, but in your script you are actually setting it as a date &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 09 Apr 2015 14:31:34 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/total-in-pivot-table/m-p/868582#M303777</guid>
      <dc:creator>ramoncova06</dc:creator>
      <dc:date>2015-04-09T14:31:34Z</dc:date>
    </item>
    <item>
      <title>Re: total in pivot table</title>
      <link>https://community.qlik.com/t5/QlikView/total-in-pivot-table/m-p/868583#M303778</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;When I change the variable to &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt; date((today()),'MMM') the expression isnt working&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 09 Apr 2015 15:30:05 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/total-in-pivot-table/m-p/868583#M303778</guid>
      <dc:creator />
      <dc:date>2015-04-09T15:30:05Z</dc:date>
    </item>
  </channel>
</rss>

