<?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: Totals Row with Specific Values in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Totals-Row-with-Specific-Values/m-p/1159994#M629899</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Robert,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Try and make use of Dimensionality() function.&lt;/P&gt;&lt;P&gt;Example in expression :&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=If(Dimensionality() = 0&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; ,Sum({&amp;lt;Colour = {'Red','Blue'}&amp;gt;}[M&amp;amp;M]) &amp;amp; chr(13) &amp;amp; Sum([M&amp;amp;M])&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; ,Sum([M&amp;amp;M])&lt;/P&gt;&lt;P&gt;)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;should look like below:&lt;/P&gt;&lt;P&gt;&lt;IMG alt="" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/134085_pastedImage_0.png" style="max-width: 1200px; max-height: 900px;" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 09 Aug 2016 16:39:28 GMT</pubDate>
    <dc:creator>jpenuliar</dc:creator>
    <dc:date>2016-08-09T16:39:28Z</dc:date>
    <item>
      <title>Totals Row with Specific Values</title>
      <link>https://community.qlik.com/t5/QlikView/Totals-Row-with-Specific-Values/m-p/1159993#M629898</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello.&amp;nbsp; I am wondering if there is a way to create a separate totals row in addition to the grand totals row in a pivot table.&amp;nbsp; For example, if I have the table below, here is what I am trying to do:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;M&amp;amp;M's&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Red&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 6&lt;/P&gt;&lt;P&gt;Green&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 4&lt;/P&gt;&lt;P&gt;Blue&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 2&lt;/P&gt;&lt;P&gt;Yellow&amp;nbsp;&amp;nbsp;&amp;nbsp; 5&lt;/P&gt;&lt;P&gt;===========&lt;/P&gt;&lt;P&gt;Red and Blue subtotal&amp;nbsp;&amp;nbsp; 8&lt;/P&gt;&lt;P&gt;Grand Total&amp;nbsp; 17&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;How do I create the conditional subtotal?&amp;nbsp; Thank you &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 09 Aug 2016 15:32:22 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Totals-Row-with-Specific-Values/m-p/1159993#M629898</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2016-08-09T15:32:22Z</dc:date>
    </item>
    <item>
      <title>Re: Totals Row with Specific Values</title>
      <link>https://community.qlik.com/t5/QlikView/Totals-Row-with-Specific-Values/m-p/1159994#M629899</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Robert,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Try and make use of Dimensionality() function.&lt;/P&gt;&lt;P&gt;Example in expression :&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=If(Dimensionality() = 0&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; ,Sum({&amp;lt;Colour = {'Red','Blue'}&amp;gt;}[M&amp;amp;M]) &amp;amp; chr(13) &amp;amp; Sum([M&amp;amp;M])&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; ,Sum([M&amp;amp;M])&lt;/P&gt;&lt;P&gt;)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;should look like below:&lt;/P&gt;&lt;P&gt;&lt;IMG alt="" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/134085_pastedImage_0.png" style="max-width: 1200px; max-height: 900px;" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 09 Aug 2016 16:39:28 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Totals-Row-with-Specific-Values/m-p/1159994#M629899</guid>
      <dc:creator>jpenuliar</dc:creator>
      <dc:date>2016-08-09T16:39:28Z</dc:date>
    </item>
    <item>
      <title>Re: Totals Row with Specific Values</title>
      <link>https://community.qlik.com/t5/QlikView/Totals-Row-with-Specific-Values/m-p/1159995#M629900</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Label for Totals:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=If(Dimensionality() = 0&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; ,'Red and Blue subtotal' &amp;amp; chr(13)&amp;amp; 'Grand Total'&amp;nbsp; &lt;/P&gt;&lt;P&gt;)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 09 Aug 2016 16:40:42 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Totals-Row-with-Specific-Values/m-p/1159995#M629900</guid>
      <dc:creator>jpenuliar</dc:creator>
      <dc:date>2016-08-09T16:40:42Z</dc:date>
    </item>
    <item>
      <title>Re: Totals Row with Specific Values</title>
      <link>https://community.qlik.com/t5/QlikView/Totals-Row-with-Specific-Values/m-p/1159996#M629901</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;What if the values are calculated?&amp;nbsp; For example, if the value for blue M&amp;amp;M's is actually created using a formula and not a straight value from the table?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 09 Aug 2016 17:48:09 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Totals-Row-with-Specific-Values/m-p/1159996#M629901</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2016-08-09T17:48:09Z</dc:date>
    </item>
    <item>
      <title>Re: Totals Row with Specific Values</title>
      <link>https://community.qlik.com/t5/QlikView/Totals-Row-with-Specific-Values/m-p/1159997#M629902</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hmmm, I suppose the logic should be Red &amp;amp; Blue = exressionRed + expressionBlue.&lt;/P&gt;&lt;P&gt;Can you post a sample data/app?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 09 Aug 2016 17:52:26 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Totals-Row-with-Specific-Values/m-p/1159997#M629902</guid>
      <dc:creator>jpenuliar</dc:creator>
      <dc:date>2016-08-09T17:52:26Z</dc:date>
    </item>
    <item>
      <title>Re: Totals Row with Specific Values</title>
      <link>https://community.qlik.com/t5/QlikView/Totals-Row-with-Specific-Values/m-p/1159998#M629903</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Jonathan I have tried your suggestions (modifying my data for security purposes and creating a view of straight data) and so far have a table that looks like this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/134238_pastedImage_0.png" style="max-height: 900px; max-width: 1200px;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I used this code to create the table above:&lt;/P&gt;&lt;P&gt;=If(Dimensionality() = 0,Sum({&amp;lt;grp_typ = {'1. GROUP A','2. GROUP B','3. GROUP C'}&amp;gt;}[Current Month]) &amp;amp; chr(13) &amp;amp; Sum([Current Month]),Sum([Current Month]))&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;and this for the label:&lt;/P&gt;&lt;P&gt;=If(Dimensionality() = 0,'Missing Total' &amp;amp; chr(13)&amp;amp; 'Grand Total')&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;what am I doing wrong?&amp;nbsp; I am trying to make my table look like this:&lt;/P&gt;&lt;P&gt;&lt;IMG class="jive-image image-2" src="https://community.qlik.com/legacyfs/online/134239_pastedImage_1.png" style="max-height: 900px; max-width: 1200px;" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 10 Aug 2016 18:12:03 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Totals-Row-with-Specific-Values/m-p/1159998#M629903</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2016-08-10T18:12:03Z</dc:date>
    </item>
    <item>
      <title>Re: Totals Row with Specific Values</title>
      <link>https://community.qlik.com/t5/QlikView/Totals-Row-with-Specific-Values/m-p/1159999#M629904</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You probably need to tick MultiLine Setting&amp;gt; adjust Wrap Cell Height to show the next line created by chr(13)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 11 Aug 2016 09:19:25 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Totals-Row-with-Specific-Values/m-p/1159999#M629904</guid>
      <dc:creator>jpenuliar</dc:creator>
      <dc:date>2016-08-11T09:19:25Z</dc:date>
    </item>
    <item>
      <title>Re: Totals Row with Specific Values</title>
      <link>https://community.qlik.com/t5/QlikView/Totals-Row-with-Specific-Values/m-p/1160000#M629905</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;OK Jonathan I am much closer now.&amp;nbsp; Here's my table:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/134313_pastedImage_0.png" style="max-height: 900px; max-width: 1200px;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am trying to figure out why my percentage totals are so far off now.&amp;nbsp; Thank you for your help &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 11 Aug 2016 14:50:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Totals-Row-with-Specific-Values/m-p/1160000#M629905</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2016-08-11T14:50:04Z</dc:date>
    </item>
  </channel>
</rss>

