<?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 Totals in pivot in App Development</title>
    <link>https://community.qlik.com/t5/App-Development/Totals-in-pivot/m-p/1891523#M73468</link>
    <description>&lt;P&gt;Hi All,&lt;/P&gt;
&lt;P&gt;I have below table :-&lt;/P&gt;
&lt;P&gt;Dimension - LOB&lt;/P&gt;
&lt;P&gt;Measure - count(issue no) -open issue |&amp;nbsp; Sum(openaverage) - Wkg Days | Average - Column(2)/Column(1)&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Aspiring_Developer_0-1644499287637.png" style="width: 999px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/72033i771CCC92E819B054/image-size/large?v=v2&amp;amp;px=999" role="button" title="Aspiring_Developer_0-1644499287637.png" alt="Aspiring_Developer_0-1644499287637.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;I have enabled total in the pivot table.&lt;/P&gt;
&lt;P&gt;My requirement is to get an output like below :-&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Aspiring_Developer_1-1644499470957.png" style="width: 999px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/72034i9F3E0FBE5A87812E/image-size/large?v=v2&amp;amp;px=999" role="button" title="Aspiring_Developer_1-1644499470957.png" alt="Aspiring_Developer_1-1644499470957.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;Here in the Avge column , the calculation is WkgDays/Open Issue. I have done the same in qlik using column(2)/column(1).&lt;/P&gt;
&lt;P&gt;The problem is the last value in the "Avge" column i.e 12.90 is calculated as 1122/87 and these are grand total values .&lt;/P&gt;
&lt;P&gt;I don't know how can I&amp;nbsp; create the same in qlik because I am not sure how to use these total values in my pivot and perform further calculation.&lt;/P&gt;
&lt;P&gt;Can anyone please help ? I am stuck on it .&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Thu, 10 Feb 2022 13:28:07 GMT</pubDate>
    <dc:creator>Aspiring_Developer</dc:creator>
    <dc:date>2022-02-10T13:28:07Z</dc:date>
    <item>
      <title>Totals in pivot</title>
      <link>https://community.qlik.com/t5/App-Development/Totals-in-pivot/m-p/1891523#M73468</link>
      <description>&lt;P&gt;Hi All,&lt;/P&gt;
&lt;P&gt;I have below table :-&lt;/P&gt;
&lt;P&gt;Dimension - LOB&lt;/P&gt;
&lt;P&gt;Measure - count(issue no) -open issue |&amp;nbsp; Sum(openaverage) - Wkg Days | Average - Column(2)/Column(1)&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Aspiring_Developer_0-1644499287637.png" style="width: 999px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/72033i771CCC92E819B054/image-size/large?v=v2&amp;amp;px=999" role="button" title="Aspiring_Developer_0-1644499287637.png" alt="Aspiring_Developer_0-1644499287637.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;I have enabled total in the pivot table.&lt;/P&gt;
&lt;P&gt;My requirement is to get an output like below :-&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Aspiring_Developer_1-1644499470957.png" style="width: 999px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/72034i9F3E0FBE5A87812E/image-size/large?v=v2&amp;amp;px=999" role="button" title="Aspiring_Developer_1-1644499470957.png" alt="Aspiring_Developer_1-1644499470957.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;Here in the Avge column , the calculation is WkgDays/Open Issue. I have done the same in qlik using column(2)/column(1).&lt;/P&gt;
&lt;P&gt;The problem is the last value in the "Avge" column i.e 12.90 is calculated as 1122/87 and these are grand total values .&lt;/P&gt;
&lt;P&gt;I don't know how can I&amp;nbsp; create the same in qlik because I am not sure how to use these total values in my pivot and perform further calculation.&lt;/P&gt;
&lt;P&gt;Can anyone please help ? I am stuck on it .&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 10 Feb 2022 13:28:07 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Totals-in-pivot/m-p/1891523#M73468</guid>
      <dc:creator>Aspiring_Developer</dc:creator>
      <dc:date>2022-02-10T13:28:07Z</dc:date>
    </item>
    <item>
      <title>Re: Totals in pivot</title>
      <link>https://community.qlik.com/t5/App-Development/Totals-in-pivot/m-p/1892606#M73573</link>
      <description>&lt;P&gt;You can have a different calculation for the totals if you use Dimensionality().&lt;BR /&gt;Dimensionality() gives you the hierarchy of you pivot (How many layers you are in).&lt;/P&gt;
&lt;P&gt;If (Dimensionality() = 0, &amp;lt;Your calculation for the grand totals&amp;gt;, &amp;lt;your "normal" calculation&amp;gt;)&lt;/P&gt;</description>
      <pubDate>Mon, 14 Feb 2022 14:44:16 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Totals-in-pivot/m-p/1892606#M73573</guid>
      <dc:creator>chris_djih</dc:creator>
      <dc:date>2022-02-14T14:44:16Z</dc:date>
    </item>
  </channel>
</rss>

