<?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 Pivot Table - Additional Aggregated Column in App Development</title>
    <link>https://community.qlik.com/t5/App-Development/Pivot-Table-Additional-Aggregated-Column/m-p/2116166#M91077</link>
    <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;I have a pivot table that contains data calculated as:&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;&lt;EM&gt;Sum(measure),&lt;/EM&gt;&lt;/LI&gt;
&lt;LI&gt;Grouped by &lt;EM&gt;month&lt;/EM&gt; (in the columns), and&lt;/LI&gt;
&lt;LI&gt;Grouped by &lt;EM&gt;category&lt;/EM&gt; (in the rows).&lt;/LI&gt;
&lt;/UL&gt;
&lt;P&gt;I was able to obtain the column total, &lt;STRONG&gt;Total YTD&lt;/STRONG&gt;, and the row total, &lt;STRONG&gt;Total&lt;/STRONG&gt;, through the &lt;EM&gt;Show Total&lt;/EM&gt; button (See Attachment 1).&lt;/P&gt;
&lt;P&gt;Now, I need to add two more "Aggregated columns" to the pivot table:&lt;/P&gt;
&lt;OL&gt;
&lt;LI&gt;&lt;STRONG&gt;Total YTD previous year&lt;/STRONG&gt;, which calculates the sum of the measure for the entire previous year.&lt;/LI&gt;
&lt;LI&gt;&lt;STRONG&gt;% Variations (Y2-Y1)&lt;/STRONG&gt;, which calculates the percentage difference between the total of Y1 and the total of Y2 (See Attachment 2).&lt;/LI&gt;
&lt;/OL&gt;
&lt;P&gt;Thanks in advance!&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;1&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="deerio_0-1694532342202.png" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/116139i090A0B63CB4C4992/image-size/medium?v=v2&amp;amp;px=400" role="button" title="deerio_0-1694532342202.png" alt="deerio_0-1694532342202.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;2&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="deerio_2-1694536098321.png" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/116146i21A8CCDD2DDAD6B9/image-size/medium?v=v2&amp;amp;px=400" role="button" title="deerio_2-1694536098321.png" alt="deerio_2-1694536098321.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Tue, 12 Sep 2023 16:31:31 GMT</pubDate>
    <dc:creator>deerio</dc:creator>
    <dc:date>2023-09-12T16:31:31Z</dc:date>
    <item>
      <title>Pivot Table - Additional Aggregated Column</title>
      <link>https://community.qlik.com/t5/App-Development/Pivot-Table-Additional-Aggregated-Column/m-p/2116166#M91077</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;I have a pivot table that contains data calculated as:&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;&lt;EM&gt;Sum(measure),&lt;/EM&gt;&lt;/LI&gt;
&lt;LI&gt;Grouped by &lt;EM&gt;month&lt;/EM&gt; (in the columns), and&lt;/LI&gt;
&lt;LI&gt;Grouped by &lt;EM&gt;category&lt;/EM&gt; (in the rows).&lt;/LI&gt;
&lt;/UL&gt;
&lt;P&gt;I was able to obtain the column total, &lt;STRONG&gt;Total YTD&lt;/STRONG&gt;, and the row total, &lt;STRONG&gt;Total&lt;/STRONG&gt;, through the &lt;EM&gt;Show Total&lt;/EM&gt; button (See Attachment 1).&lt;/P&gt;
&lt;P&gt;Now, I need to add two more "Aggregated columns" to the pivot table:&lt;/P&gt;
&lt;OL&gt;
&lt;LI&gt;&lt;STRONG&gt;Total YTD previous year&lt;/STRONG&gt;, which calculates the sum of the measure for the entire previous year.&lt;/LI&gt;
&lt;LI&gt;&lt;STRONG&gt;% Variations (Y2-Y1)&lt;/STRONG&gt;, which calculates the percentage difference between the total of Y1 and the total of Y2 (See Attachment 2).&lt;/LI&gt;
&lt;/OL&gt;
&lt;P&gt;Thanks in advance!&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;1&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="deerio_0-1694532342202.png" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/116139i090A0B63CB4C4992/image-size/medium?v=v2&amp;amp;px=400" role="button" title="deerio_0-1694532342202.png" alt="deerio_0-1694532342202.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;2&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="deerio_2-1694536098321.png" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/116146i21A8CCDD2DDAD6B9/image-size/medium?v=v2&amp;amp;px=400" role="button" title="deerio_2-1694536098321.png" alt="deerio_2-1694536098321.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 12 Sep 2023 16:31:31 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Pivot-Table-Additional-Aggregated-Column/m-p/2116166#M91077</guid>
      <dc:creator>deerio</dc:creator>
      <dc:date>2023-09-12T16:31:31Z</dc:date>
    </item>
  </channel>
</rss>

