<?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: Pivot Table Totals not showing unless fully expanded in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Pivot-Table-Totals-not-showing-unless-fully-expanded/m-p/356038#M132139</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;D'oh! My brain's not working this morning... Nice one Jonathan &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/wink.png" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 18 Jul 2012 10:29:02 GMT</pubDate>
    <dc:creator>Jason_Michaelides</dc:creator>
    <dc:date>2012-07-18T10:29:02Z</dc:date>
    <item>
      <title>Pivot Table Totals not showing unless fully expanded</title>
      <link>https://community.qlik.com/t5/QlikView/Pivot-Table-Totals-not-showing-unless-fully-expanded/m-p/356035#M132136</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dear all, &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have a question regarding the Pivot table totals. I know that there are already several discussions about this topic but so far I have not found a proper solution. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have a Pivot table with 4 levels, on each level I show the totals. This works for my first 3 expressions but not always for the other ones. &lt;/P&gt;&lt;P&gt;The set-up of my Pivot table: &lt;/P&gt;&lt;P&gt;4 dimensions= &lt;/P&gt;&lt;P&gt;DIM1&lt;/P&gt;&lt;P&gt;DIM2&lt;/P&gt;&lt;P&gt;DIM3&lt;/P&gt;&lt;P&gt;DIM4&lt;/P&gt;&lt;P&gt;All my expressions have the following structure:&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;Expr=if(DIM3='ABCD',[Test cases assessed],count([# of tc performed]))&lt;/P&gt;&lt;P&gt;So basically I want to display a different value if DIM3 equals ABCD in the other case the count needs to be performed. If I fully expand my pivot table the fields are correctly calculated and QV is always able to calculate the count (if applicable) the problem is that I don't get the total values in case DIM3=ABCD. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Does anyone have an idea to what this might be related? Could it be a formatting issue of my data? Or is there something wrong in my formula? &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in advance. &lt;/P&gt;&lt;P&gt;Kind regards,&lt;/P&gt;&lt;P&gt;Jens&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 18 Jul 2012 09:20:22 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Pivot-Table-Totals-not-showing-unless-fully-expanded/m-p/356035#M132136</guid>
      <dc:creator />
      <dc:date>2012-07-18T09:20:22Z</dc:date>
    </item>
    <item>
      <title>Re: Pivot Table Totals not showing unless fully expanded</title>
      <link>https://community.qlik.com/t5/QlikView/Pivot-Table-Totals-not-showing-unless-fully-expanded/m-p/356036#M132137</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Jens,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Count() is an aggregation so will display a total.&amp;nbsp; Where DIM3='ABCD' you are just displaying a different field and there is no aggregation to perform, so the totals will not work.&amp;nbsp; Try this as your expression instead:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=if(DIM3='ABCD',&lt;SPAN style="color: #ff0000;"&gt;&lt;STRONG&gt;Sum(&lt;/STRONG&gt;&lt;/SPAN&gt;[Test cases assessed]&lt;SPAN style="color: #ff0000;"&gt;&lt;STRONG&gt;)&lt;/STRONG&gt;&lt;/SPAN&gt;,count([# of tc performed]))&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this helps,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Jason&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 18 Jul 2012 09:42:36 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Pivot-Table-Totals-not-showing-unless-fully-expanded/m-p/356036#M132137</guid>
      <dc:creator>Jason_Michaelides</dc:creator>
      <dc:date>2012-07-18T09:42:36Z</dc:date>
    </item>
    <item>
      <title>Re: Pivot Table Totals not showing unless fully expanded</title>
      <link>https://community.qlik.com/t5/QlikView/Pivot-Table-Totals-not-showing-unless-fully-expanded/m-p/356037#M132138</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Jens&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I think the problem is that DIM3 does not have a defined value at the higher total levels, so your expression returns null. The solution is an aggr expression, like this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; &lt;EM&gt;Sum(Aggr(If(DIM3='ABCD',[Test cases assessed],count([# of tc performed])), DIM1, DIM2, DIM3, DIM4))&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope that helps&lt;/P&gt;&lt;P&gt;Jonathan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 18 Jul 2012 09:47:48 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Pivot-Table-Totals-not-showing-unless-fully-expanded/m-p/356037#M132138</guid>
      <dc:creator>jonathandienst</dc:creator>
      <dc:date>2012-07-18T09:47:48Z</dc:date>
    </item>
    <item>
      <title>Re: Pivot Table Totals not showing unless fully expanded</title>
      <link>https://community.qlik.com/t5/QlikView/Pivot-Table-Totals-not-showing-unless-fully-expanded/m-p/356038#M132139</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;D'oh! My brain's not working this morning... Nice one Jonathan &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/wink.png" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 18 Jul 2012 10:29:02 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Pivot-Table-Totals-not-showing-unless-fully-expanded/m-p/356038#M132139</guid>
      <dc:creator>Jason_Michaelides</dc:creator>
      <dc:date>2012-07-18T10:29:02Z</dc:date>
    </item>
    <item>
      <title>Re: Pivot Table Totals not showing unless fully expanded</title>
      <link>https://community.qlik.com/t5/QlikView/Pivot-Table-Totals-not-showing-unless-fully-expanded/m-p/356039#M132140</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks Jonathan for your solution. It is working fine! &lt;/P&gt;&lt;P&gt;Maybe a small additional question: what if I want the total of precentages? If I use Sum(aggr()). It gives off course a wrong number.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Does anyone know what might be the correct way to calculate this?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 18 Jul 2012 14:01:21 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Pivot-Table-Totals-not-showing-unless-fully-expanded/m-p/356039#M132140</guid>
      <dc:creator />
      <dc:date>2012-07-18T14:01:21Z</dc:date>
    </item>
    <item>
      <title>Re: Pivot Table Totals not showing unless fully expanded</title>
      <link>https://community.qlik.com/t5/QlikView/Pivot-Table-Totals-not-showing-unless-fully-expanded/m-p/356040#M132141</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Jens&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can calculate a ratio or percentage by including the ratio inside the sum (if sum of rows makes sense), or do the ratio of two Aggr expressions (which is the calculation applied across the data set).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Does that help to answer your question?&lt;/P&gt;&lt;P&gt;Jonathan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 19 Jul 2012 09:37:27 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Pivot-Table-Totals-not-showing-unless-fully-expanded/m-p/356040#M132141</guid>
      <dc:creator>jonathandienst</dc:creator>
      <dc:date>2012-07-19T09:37:27Z</dc:date>
    </item>
    <item>
      <title>Re: Pivot Table Totals not showing unless fully expanded</title>
      <link>https://community.qlik.com/t5/QlikView/Pivot-Table-Totals-not-showing-unless-fully-expanded/m-p/356041#M132142</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Jonathan, &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This indeed solved the issue. &lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 19 Jul 2012 09:54:02 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Pivot-Table-Totals-not-showing-unless-fully-expanded/m-p/356041#M132142</guid>
      <dc:creator />
      <dc:date>2012-07-19T09:54:02Z</dc:date>
    </item>
  </channel>
</rss>

