<?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 Sub-totals in dimensions in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Sub-totals-in-dimensions/m-p/367417#M1176661</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt; You need to create your sub-total categories in the Group field and link them to your data in the sames way as the other categories are linked. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This is an example:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;OriginalData:&lt;BR /&gt;load * inline [&lt;BR /&gt; Group, Amount&lt;BR /&gt; Sales, 100&lt;BR /&gt; Cost of Sales, 50&lt;BR /&gt;];&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;AdditionalData:&lt;BR /&gt;NoConcatenate Load&lt;BR /&gt; 'Gross Profit' as Group,&lt;BR /&gt; Amount,&lt;BR /&gt; if(Group='Sales',1,-1) as Coefficient&lt;BR /&gt;Resident OriginalData&lt;BR /&gt;where Group = 'Sales' or Group = 'Cost of Sales'&lt;BR /&gt;;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;concatenate(OriginalData)&lt;BR /&gt;Load * Resident AdditionalData; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;drop table AdditionalData;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Chart dimension should be Group and the formula for the amount like that: &lt;/P&gt;&lt;P&gt;sum(Amount * if(isnull(Coefficient),1,Coefficient)) &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Additional groups can also be defined and linked to the existing groups in Excel.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 25 Apr 2012 09:42:49 GMT</pubDate>
    <dc:creator>masha-ecraft</dc:creator>
    <dc:date>2012-04-25T09:42:49Z</dc:date>
    <item>
      <title>Sub-totals in dimensions</title>
      <link>https://community.qlik.com/t5/QlikView/Sub-totals-in-dimensions/m-p/367412#M1176656</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 want to use QV for financial info - sales, cost of sales, variable costs, &amp;amp; fixed costs.&amp;nbsp; These categories are listed in my dimension field called 'Group'.&amp;nbsp; Is it possible to have sub-totals in this list of dimensions? &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;e.g) GROUP:&lt;/P&gt;&lt;P&gt; - Sales &lt;/P&gt;&lt;P&gt; - Cost of sales &lt;/P&gt;&lt;P&gt; - Gross Profit&amp;nbsp; (this is the sub-total I want to calculate)&lt;/P&gt;&lt;P&gt; - Variable Costs&lt;/P&gt;&lt;P&gt; - Operating Profit&amp;nbsp; (this is the sub-total I want to calculate)&lt;/P&gt;&lt;P&gt; - Fixed Costs&lt;/P&gt;&lt;P&gt; - Net Profit&amp;nbsp; (this is the sub-total I want to calculate)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 25 Apr 2012 08:31:46 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Sub-totals-in-dimensions/m-p/367412#M1176656</guid>
      <dc:creator />
      <dc:date>2012-04-25T08:31:46Z</dc:date>
    </item>
    <item>
      <title>Sub-totals in dimensions</title>
      <link>https://community.qlik.com/t5/QlikView/Sub-totals-in-dimensions/m-p/367413#M1176657</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You'll normally get better help if you post your app with sample data if yours is sensitive.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 25 Apr 2012 09:19:46 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Sub-totals-in-dimensions/m-p/367413#M1176657</guid>
      <dc:creator>Jason_Michaelides</dc:creator>
      <dc:date>2012-04-25T09:19:46Z</dc:date>
    </item>
    <item>
      <title>Sub-totals in dimensions</title>
      <link>https://community.qlik.com/t5/QlikView/Sub-totals-in-dimensions/m-p/367414#M1176658</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt; Thanks Jason.&lt;/P&gt;&lt;P&gt;e.g) GROUP:&lt;/P&gt;&lt;P&gt; - Sales $100&lt;/P&gt;&lt;P&gt; - Cost of sales $50 &lt;/P&gt;&lt;P&gt; - Gross Profit&amp;nbsp; $&lt;STRONG&gt;50 &lt;/STRONG&gt;($100 - $50)&amp;nbsp; (this is the &lt;STRONG&gt;sub-total &lt;/STRONG&gt;I want to calculate)&lt;/P&gt;&lt;P&gt; - Variable Costs $10&lt;/P&gt;&lt;P&gt; - Operating Profit $&lt;STRONG&gt;40 &lt;/STRONG&gt;($50 - $10)&amp;nbsp; (this is the sub-total I want to calculate)&lt;/P&gt;&lt;P&gt; - Fixed Costs $20&lt;/P&gt;&lt;P&gt; - Net Profit&amp;nbsp; $&lt;STRONG&gt;20 &lt;/STRONG&gt;($40 - $20)&amp;nbsp; (this is the sub-total I want to calculate)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 25 Apr 2012 09:29:43 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Sub-totals-in-dimensions/m-p/367414#M1176658</guid>
      <dc:creator />
      <dc:date>2012-04-25T09:29:43Z</dc:date>
    </item>
    <item>
      <title>Sub-totals in dimensions</title>
      <link>https://community.qlik.com/t5/QlikView/Sub-totals-in-dimensions/m-p/367415#M1176659</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I assume there is some kind of category/client/cost centre dimension as well?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 25 Apr 2012 09:34:03 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Sub-totals-in-dimensions/m-p/367415#M1176659</guid>
      <dc:creator>Jason_Michaelides</dc:creator>
      <dc:date>2012-04-25T09:34:03Z</dc:date>
    </item>
    <item>
      <title>Sub-totals in dimensions</title>
      <link>https://community.qlik.com/t5/QlikView/Sub-totals-in-dimensions/m-p/367416#M1176660</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Take a pivot table and add dimension as Group in expression write your expressions. Now go to presentation tab there select your dimension and check "Show Partial Sums".&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope it helps you. If not please provide sample file it helps others to solve the issue.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 25 Apr 2012 09:39:36 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Sub-totals-in-dimensions/m-p/367416#M1176660</guid>
      <dc:creator>jagannalla</dc:creator>
      <dc:date>2012-04-25T09:39:36Z</dc:date>
    </item>
    <item>
      <title>Sub-totals in dimensions</title>
      <link>https://community.qlik.com/t5/QlikView/Sub-totals-in-dimensions/m-p/367417#M1176661</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt; You need to create your sub-total categories in the Group field and link them to your data in the sames way as the other categories are linked. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This is an example:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;OriginalData:&lt;BR /&gt;load * inline [&lt;BR /&gt; Group, Amount&lt;BR /&gt; Sales, 100&lt;BR /&gt; Cost of Sales, 50&lt;BR /&gt;];&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;AdditionalData:&lt;BR /&gt;NoConcatenate Load&lt;BR /&gt; 'Gross Profit' as Group,&lt;BR /&gt; Amount,&lt;BR /&gt; if(Group='Sales',1,-1) as Coefficient&lt;BR /&gt;Resident OriginalData&lt;BR /&gt;where Group = 'Sales' or Group = 'Cost of Sales'&lt;BR /&gt;;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;concatenate(OriginalData)&lt;BR /&gt;Load * Resident AdditionalData; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;drop table AdditionalData;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Chart dimension should be Group and the formula for the amount like that: &lt;/P&gt;&lt;P&gt;sum(Amount * if(isnull(Coefficient),1,Coefficient)) &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Additional groups can also be defined and linked to the existing groups in Excel.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 25 Apr 2012 09:42:49 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Sub-totals-in-dimensions/m-p/367417#M1176661</guid>
      <dc:creator>masha-ecraft</dc:creator>
      <dc:date>2012-04-25T09:42:49Z</dc:date>
    </item>
    <item>
      <title>Sub-totals in dimensions</title>
      <link>https://community.qlik.com/t5/QlikView/Sub-totals-in-dimensions/m-p/367418#M1176662</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Jagan, the pivot idea only shows a 1 total at the bottom - not sub-totals in between the data (e.g. after COS I'd like to see Gross Profit calculated as a sub-total $100 less $50 cost of sales.&amp;nbsp; Only the 4 fields Sales/COS/VC/FC are in the column titled 'Group', which is my dimension.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;TABLE border="0" cellpadding="0" cellspacing="0" style="width: 189px; border-collapse: collapse;"&gt;&lt;TBODY&gt;&lt;TR style="height: 14.4pt;"&gt;&lt;TD height="19" style="border: 0px black; width: 94pt; height: 14.4pt; background-color: transparent;" width="125"&gt;&lt;SPAN style="font-family: Calibri;"&gt;Income Statement&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD style="border: 0px black; width: 48pt; background-color: transparent;" width="64"&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR style="height: 14.4pt;"&gt;&lt;TD class="xl86" height="19" style="border-width: 0px 0px 0.5pt; border-style: none none solid; border-color: black black windowtext; height: 14.4pt; background-color: transparent;"&gt;&lt;/TD&gt;&lt;TD class="xl86" style="border-width: 0px 0px 0.5pt; border-style: none none solid; border-color: black black windowtext; background-color: transparent;"&gt;&lt;SPAN style="color: #000000; font-family: Calibri; font-size: 12pt;"&gt;R&lt;/SPAN&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR style="height: 14.4pt;"&gt;&lt;TD height="19" style="border: 0px black; height: 14.4pt; background-color: transparent;"&gt;&lt;SPAN style="font-family: Calibri;"&gt;Sales&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD align="right" style="border: 0px black; background-color: transparent;"&gt;&lt;SPAN style="color: #000000; font-family: Calibri; font-size: 12pt;"&gt;100&lt;/SPAN&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR style="height: 14.4pt;"&gt;&lt;TD height="19" style="border: 0px black; height: 14.4pt; background-color: transparent;"&gt;&lt;SPAN style="font-family: Calibri;"&gt;COS&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD align="right" style="border: 0px black; background-color: transparent;"&gt;&lt;SPAN style="color: #000000; font-family: Calibri; font-size: 12pt;"&gt;50&lt;/SPAN&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR style="height: 14.4pt;"&gt;&lt;TD height="19" style="border: 0px black; height: 14.4pt; background-color: transparent;"&gt;&lt;SPAN style="font-family: Calibri;"&gt;VC&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD align="right" style="border: 0px black; background-color: transparent;"&gt;&lt;SPAN style="color: #000000; font-family: Calibri; font-size: 12pt;"&gt;10&lt;/SPAN&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR style="height: 14.4pt;"&gt;&lt;TD height="19" style="border: 0px black; height: 14.4pt; background-color: transparent;"&gt;&lt;SPAN style="font-family: Calibri;"&gt;FC&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD align="right" style="border: 0px black; background-color: transparent;"&gt;&lt;SPAN style="color: #000000; font-family: Calibri; font-size: 12pt;"&gt;20&lt;/SPAN&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR style="height: 14.4pt;"&gt;&lt;TD height="19" style="border: 0px black; height: 14.4pt; background-color: transparent;"&gt;&lt;SPAN style="font-family: Calibri;"&gt;TOTAL&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD align="right" class="xl85" style="border: 0px black; background-color: transparent;"&gt;&lt;STRONG style="color: #000000; font-size: 12pt; font-family: Calibri;"&gt;20&lt;/STRONG&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Jason, the other fields are product type, date, then actual &amp;amp; budget.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Your assistance is much appreciated! &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 25 Apr 2012 09:51:38 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Sub-totals-in-dimensions/m-p/367418#M1176662</guid>
      <dc:creator />
      <dc:date>2012-04-25T09:51:38Z</dc:date>
    </item>
    <item>
      <title>Sub-totals in dimensions</title>
      <link>https://community.qlik.com/t5/QlikView/Sub-totals-in-dimensions/m-p/367419#M1176663</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt; Hi .....u can do the following:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Take a straight chart&lt;/P&gt;&lt;P&gt;and in dimension field -&amp;gt;&amp;nbsp; sum(total Sales)&lt;/P&gt;&lt;P&gt; sum(total [Cost of Sales])&lt;/P&gt;&lt;P&gt; sum( total Sales -[cost of sales])&lt;SPAN style="font-size: 8pt;"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt; &lt;/SPAN&gt;and in expression u take =1&lt;/P&gt;&lt;P&gt;tatz it........&lt;/P&gt;&lt;P&gt;similarly proceed wit other values in dimension&lt;/P&gt;&lt;P&gt;i hope it workz......&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 25 Apr 2012 11:23:39 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Sub-totals-in-dimensions/m-p/367419#M1176663</guid>
      <dc:creator />
      <dc:date>2012-04-25T11:23:39Z</dc:date>
    </item>
    <item>
      <title>Re: Sub-totals in dimensions</title>
      <link>https://community.qlik.com/t5/QlikView/Sub-totals-in-dimensions/m-p/367420#M1176664</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks for the assistance.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I found a great solution using dimensionality &amp;amp; a dummy dimension:&lt;/P&gt;&lt;P&gt;&lt;A href="http://dvtrenches.wordpress.com/2011/05/11/qlikview-subtotaling-customization-part-2/"&gt;http://dvtrenches.wordpress.com/2011/05/11/qlikview-subtotaling-customization-part-2/&lt;/A&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 25 Jun 2012 10:06:27 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Sub-totals-in-dimensions/m-p/367420#M1176664</guid>
      <dc:creator />
      <dc:date>2012-06-25T10:06:27Z</dc:date>
    </item>
  </channel>
</rss>

