<?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 Custom Grand total issue in Pivot tables with Dynamic Data in Qlik NPrinting</title>
    <link>https://community.qlik.com/t5/Qlik-NPrinting/Custom-Grand-total-issue-in-Pivot-tables-with-Dynamic-Data/m-p/1966701#M36749</link>
    <description>&lt;P&gt;Hi All,&amp;nbsp;&lt;BR /&gt;I have a pivot table in QlikSense with 2 dimension(Country and City) and one measure with expression (A/B).&lt;BR /&gt;I have converted Pivot table to straight table and using Excel Pivot option for designing the structure w.r.tPivot table in QS, I Need to show Grand total in Pivot table in NPrinting , but its not matching with QS total which we enabled total feature from presentation tab. As per my analysis ,NP total simply doing the summation of final output (A/B) of measure values across each dimention values instead of calculating sum (A) and SUm (B) at overall level and doing the division .&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;To handle this , i have created variable with expression in QS for showing grand total by not using excels grand total , but since data is dynamic, i am unable to find the position for placing this and also we are dealing with 2 dimensions in pivot.&lt;/P&gt;
&lt;TABLE width="492"&gt;
&lt;TBODY&gt;
&lt;TR&gt;
&lt;TD width="64"&gt;ISU&lt;/TD&gt;
&lt;TD width="64"&gt;A&lt;/TD&gt;
&lt;TD width="109"&gt;B&lt;/TD&gt;
&lt;TD width="127"&gt;Exp in QS: A/B&lt;/TD&gt;
&lt;TD width="128"&gt;&amp;nbsp;&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TD&gt;QS Total&lt;/TD&gt;
&lt;TD&gt;440&lt;/TD&gt;
&lt;TD&gt;190&lt;/TD&gt;
&lt;TD&gt;2.315789474&lt;/TD&gt;
&lt;TD&gt;(Expected output)&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TD&gt;A&lt;/TD&gt;
&lt;TD&gt;100&lt;/TD&gt;
&lt;TD&gt;20&lt;/TD&gt;
&lt;TD&gt;5&lt;/TD&gt;
&lt;TD&gt;&amp;nbsp;&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TD&gt;B&lt;/TD&gt;
&lt;TD&gt;140&lt;/TD&gt;
&lt;TD&gt;70&lt;/TD&gt;
&lt;TD&gt;2&lt;/TD&gt;
&lt;TD&gt;&amp;nbsp;&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TD&gt;C&lt;/TD&gt;
&lt;TD&gt;200&lt;/TD&gt;
&lt;TD&gt;100&lt;/TD&gt;
&lt;TD&gt;2&lt;/TD&gt;
&lt;TD&gt;&amp;nbsp;&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TD&gt;&amp;nbsp;&lt;/TD&gt;
&lt;TD&gt;&amp;nbsp;&lt;/TD&gt;
&lt;TD&gt;Grand Total in NP&lt;/TD&gt;
&lt;TD&gt;9&lt;/TD&gt;
&lt;TD&gt;(i.e 5+2+2)&lt;/TD&gt;
&lt;/TR&gt;
&lt;/TBODY&gt;
&lt;/TABLE&gt;
&lt;P&gt;Please help&lt;/P&gt;
&lt;P&gt;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/1326"&gt;@Lech_Miszkiewicz&lt;/a&gt;&amp;nbsp;&amp;nbsp;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/48729"&gt;@Ruggero_Piccoli&lt;/a&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Tue, 09 Aug 2022 17:15:22 GMT</pubDate>
    <dc:creator>ranidas</dc:creator>
    <dc:date>2022-08-09T17:15:22Z</dc:date>
    <item>
      <title>Custom Grand total issue in Pivot tables with Dynamic Data</title>
      <link>https://community.qlik.com/t5/Qlik-NPrinting/Custom-Grand-total-issue-in-Pivot-tables-with-Dynamic-Data/m-p/1966701#M36749</link>
      <description>&lt;P&gt;Hi All,&amp;nbsp;&lt;BR /&gt;I have a pivot table in QlikSense with 2 dimension(Country and City) and one measure with expression (A/B).&lt;BR /&gt;I have converted Pivot table to straight table and using Excel Pivot option for designing the structure w.r.tPivot table in QS, I Need to show Grand total in Pivot table in NPrinting , but its not matching with QS total which we enabled total feature from presentation tab. As per my analysis ,NP total simply doing the summation of final output (A/B) of measure values across each dimention values instead of calculating sum (A) and SUm (B) at overall level and doing the division .&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;To handle this , i have created variable with expression in QS for showing grand total by not using excels grand total , but since data is dynamic, i am unable to find the position for placing this and also we are dealing with 2 dimensions in pivot.&lt;/P&gt;
&lt;TABLE width="492"&gt;
&lt;TBODY&gt;
&lt;TR&gt;
&lt;TD width="64"&gt;ISU&lt;/TD&gt;
&lt;TD width="64"&gt;A&lt;/TD&gt;
&lt;TD width="109"&gt;B&lt;/TD&gt;
&lt;TD width="127"&gt;Exp in QS: A/B&lt;/TD&gt;
&lt;TD width="128"&gt;&amp;nbsp;&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TD&gt;QS Total&lt;/TD&gt;
&lt;TD&gt;440&lt;/TD&gt;
&lt;TD&gt;190&lt;/TD&gt;
&lt;TD&gt;2.315789474&lt;/TD&gt;
&lt;TD&gt;(Expected output)&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TD&gt;A&lt;/TD&gt;
&lt;TD&gt;100&lt;/TD&gt;
&lt;TD&gt;20&lt;/TD&gt;
&lt;TD&gt;5&lt;/TD&gt;
&lt;TD&gt;&amp;nbsp;&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TD&gt;B&lt;/TD&gt;
&lt;TD&gt;140&lt;/TD&gt;
&lt;TD&gt;70&lt;/TD&gt;
&lt;TD&gt;2&lt;/TD&gt;
&lt;TD&gt;&amp;nbsp;&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TD&gt;C&lt;/TD&gt;
&lt;TD&gt;200&lt;/TD&gt;
&lt;TD&gt;100&lt;/TD&gt;
&lt;TD&gt;2&lt;/TD&gt;
&lt;TD&gt;&amp;nbsp;&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TD&gt;&amp;nbsp;&lt;/TD&gt;
&lt;TD&gt;&amp;nbsp;&lt;/TD&gt;
&lt;TD&gt;Grand Total in NP&lt;/TD&gt;
&lt;TD&gt;9&lt;/TD&gt;
&lt;TD&gt;(i.e 5+2+2)&lt;/TD&gt;
&lt;/TR&gt;
&lt;/TBODY&gt;
&lt;/TABLE&gt;
&lt;P&gt;Please help&lt;/P&gt;
&lt;P&gt;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/1326"&gt;@Lech_Miszkiewicz&lt;/a&gt;&amp;nbsp;&amp;nbsp;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/48729"&gt;@Ruggero_Piccoli&lt;/a&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 09 Aug 2022 17:15:22 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Qlik-NPrinting/Custom-Grand-total-issue-in-Pivot-tables-with-Dynamic-Data/m-p/1966701#M36749</guid>
      <dc:creator>ranidas</dc:creator>
      <dc:date>2022-08-09T17:15:22Z</dc:date>
    </item>
    <item>
      <title>Re: Custom Grand total issue in Pivot tables with Dynamic Data</title>
      <link>https://community.qlik.com/t5/Qlik-NPrinting/Custom-Grand-total-issue-in-Pivot-tables-with-Dynamic-Data/m-p/1967267#M36756</link>
      <description>&lt;P&gt;Well yes - you are correct - your total in NPrinting is summation as it is using excel pivot table features and you are limited to excel options there.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;In those scenarios i tend to use workaround and depending on your final output requirements you may just mimic pivot table look using simply straight table data and grouping dimensions.&lt;/P&gt;</description>
      <pubDate>Wed, 10 Aug 2022 17:21:03 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Qlik-NPrinting/Custom-Grand-total-issue-in-Pivot-tables-with-Dynamic-Data/m-p/1967267#M36756</guid>
      <dc:creator>Lech_Miszkiewicz</dc:creator>
      <dc:date>2022-08-10T17:21:03Z</dc:date>
    </item>
    <item>
      <title>Re: Custom Grand total issue in Pivot tables with Dynamic Data</title>
      <link>https://community.qlik.com/t5/Qlik-NPrinting/Custom-Grand-total-issue-in-Pivot-tables-with-Dynamic-Data/m-p/1968963#M36784</link>
      <description>&lt;P&gt;Many Thanks for your inputs .&lt;/P&gt;</description>
      <pubDate>Tue, 16 Aug 2022 06:39:14 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Qlik-NPrinting/Custom-Grand-total-issue-in-Pivot-tables-with-Dynamic-Data/m-p/1968963#M36784</guid>
      <dc:creator>ranidas</dc:creator>
      <dc:date>2022-08-16T06:39:14Z</dc:date>
    </item>
  </channel>
</rss>

