<?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 row total in pivot table with calculated dimensions in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/row-total-in-pivot-table-with-calculated-dimensions/m-p/158665#M33648</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;So I've been fighting with this for a day, probably very simple but ...&lt;/P&gt;&lt;P&gt;I have a pivot table with several calculated dimensions such as end date and other dimensions which are formatted in the chart&lt;/P&gt;&lt;P&gt;I use a formula to calculated the man days which is set as an expression as =$(=FORMULA) which is taken from table that is loaded inline (below).&lt;/P&gt;&lt;P&gt;if(mod(count(UUID),8) = 0,num(count(UUID)/8,'#.##0'),if(subfield(num(count(UUID)/8,'#.##0,000'),',',2) &amp;lt;= 375,subfield(num(count(UUID)/8,'#.##0,000'),',',1),if(subfield(num(count(UUID)/8,'#.##0,000'),',',2) &amp;gt; 375 and subfield(num(count(UUID)/8,'#.##0,000'),',',2) &amp;lt;= 875,subfield(num(count(UUID)/8,'#.##0,000'),',',1)+.5,if(subfield(num(count(UUID)/8,'#.##0,000'),',',2) &amp;gt; 875,subfield(num(count(UUID)/8,'#.##0,000'),',',1)+1))))&lt;/P&gt;&lt;P&gt;What I'm trying to add is another column (calculated dimension) which is called consumed days or the sum of each row.&lt;/P&gt;&lt;P&gt;I've tried sum(aggr($(=FORMULA),dim1,dim2,dim3,...) reverse this to aggr(sum(... etc.&lt;/P&gt;&lt;P&gt;My question really is how to achieve a sum of each row in the dimensions?&lt;/P&gt;&lt;P&gt;Thanks for any help.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 07 Jan 2011 07:37:01 GMT</pubDate>
    <dc:creator />
    <dc:date>2011-01-07T07:37:01Z</dc:date>
    <item>
      <title>row total in pivot table with calculated dimensions</title>
      <link>https://community.qlik.com/t5/QlikView/row-total-in-pivot-table-with-calculated-dimensions/m-p/158665#M33648</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;So I've been fighting with this for a day, probably very simple but ...&lt;/P&gt;&lt;P&gt;I have a pivot table with several calculated dimensions such as end date and other dimensions which are formatted in the chart&lt;/P&gt;&lt;P&gt;I use a formula to calculated the man days which is set as an expression as =$(=FORMULA) which is taken from table that is loaded inline (below).&lt;/P&gt;&lt;P&gt;if(mod(count(UUID),8) = 0,num(count(UUID)/8,'#.##0'),if(subfield(num(count(UUID)/8,'#.##0,000'),',',2) &amp;lt;= 375,subfield(num(count(UUID)/8,'#.##0,000'),',',1),if(subfield(num(count(UUID)/8,'#.##0,000'),',',2) &amp;gt; 375 and subfield(num(count(UUID)/8,'#.##0,000'),',',2) &amp;lt;= 875,subfield(num(count(UUID)/8,'#.##0,000'),',',1)+.5,if(subfield(num(count(UUID)/8,'#.##0,000'),',',2) &amp;gt; 875,subfield(num(count(UUID)/8,'#.##0,000'),',',1)+1))))&lt;/P&gt;&lt;P&gt;What I'm trying to add is another column (calculated dimension) which is called consumed days or the sum of each row.&lt;/P&gt;&lt;P&gt;I've tried sum(aggr($(=FORMULA),dim1,dim2,dim3,...) reverse this to aggr(sum(... etc.&lt;/P&gt;&lt;P&gt;My question really is how to achieve a sum of each row in the dimensions?&lt;/P&gt;&lt;P&gt;Thanks for any help.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 07 Jan 2011 07:37:01 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/row-total-in-pivot-table-with-calculated-dimensions/m-p/158665#M33648</guid>
      <dc:creator />
      <dc:date>2011-01-07T07:37:01Z</dc:date>
    </item>
    <item>
      <title>row total in pivot table with calculated dimensions</title>
      <link>https://community.qlik.com/t5/QlikView/row-total-in-pivot-table-with-calculated-dimensions/m-p/158666#M33649</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;only needed aggregation over the first two dimensions ...&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 11 Jan 2011 14:53:59 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/row-total-in-pivot-table-with-calculated-dimensions/m-p/158666#M33649</guid>
      <dc:creator />
      <dc:date>2011-01-11T14:53:59Z</dc:date>
    </item>
  </channel>
</rss>

