<?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 Re: Adding Totals grouped by Currency in Qlik NPrinting</title>
    <link>https://community.qlik.com/t5/Qlik-NPrinting/Adding-Totals-grouped-by-Currency/m-p/1959225#M36593</link>
    <description>&lt;P&gt;Thanks&amp;nbsp;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/48712"&gt;@Frank_S&lt;/a&gt;&amp;nbsp;&lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;</description>
    <pubDate>Fri, 22 Jul 2022 06:21:43 GMT</pubDate>
    <dc:creator>Ruggero_Piccoli</dc:creator>
    <dc:date>2022-07-22T06:21:43Z</dc:date>
    <item>
      <title>Adding Totals grouped by Currency</title>
      <link>https://community.qlik.com/t5/Qlik-NPrinting/Adding-Totals-grouped-by-Currency/m-p/1958641#M36573</link>
      <description>&lt;P&gt;Hi&lt;/P&gt;
&lt;P&gt;In a PixelPerfect report I have a detail table of values in a mixture of currencies. Each value in the detail table is displayed with various dimensions including the currency code.&lt;/P&gt;
&lt;P&gt;I need to display a Total for each currency in the Group beneath the table but I haven't been able to get the structure right to display the Totals by Currency.&lt;/P&gt;
&lt;P&gt;Firstly, is this possible and secondly, if so, how do I structure the levels to provide the required layout?&lt;/P&gt;
&lt;P&gt;Thanks&lt;/P&gt;</description>
      <pubDate>Thu, 21 Jul 2022 06:06:49 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Qlik-NPrinting/Adding-Totals-grouped-by-Currency/m-p/1958641#M36573</guid>
      <dc:creator>Geoffrey_Moss</dc:creator>
      <dc:date>2022-07-21T06:06:49Z</dc:date>
    </item>
    <item>
      <title>Re: Adding Totals grouped by Currency</title>
      <link>https://community.qlik.com/t5/Qlik-NPrinting/Adding-Totals-grouped-by-Currency/m-p/1958726#M36575</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;First solution: Create a main level by currency and nest a level with table used as data source. Then create subtotals and totals as described in &lt;A href="https://help.qlik.com/en-US/nprinting/May2022/Content/NPrinting/PixelPerfectReports/Add-Totals-Subtotals.htm" target="_blank"&gt;https://help.qlik.com/en-US/nprinting/May2022/Content/NPrinting/PixelPerfectReports/Add-Totals-Subtotals.htm&lt;/A&gt;. This is simpler solution but you will have a table on generated report ordered by currency.&lt;/P&gt;
&lt;P&gt;Secondo solution: a short tutorial. The idea is to use PixelPerfect formulas to create calculated fields with subtotals. I create a field with the summary of the product category Babywear and you can do the same by currency. Screenshots are made on the final template so you will se the results from the beginning but you have to build them.&lt;/P&gt;
&lt;P&gt;1 - Create a Pixelperfect template and add the data source straight table as a level as usual&lt;/P&gt;
&lt;P&gt;2 - Right click on the table and select add calculated field&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Ruggero_Piccoli_0-1658390748042.png" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/84732i573D36AE669D8BD3/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Ruggero_Piccoli_0-1658390748042.png" alt="Ruggero_Piccoli_0-1658390748042.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;3 - Create a calculated field with a condition to filter only data of a specific category (currency in your case)&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Ruggero_Piccoli_1-1658390892435.png" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/84733i2BD5F4BD06D28040/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Ruggero_Piccoli_1-1658390892435.png" alt="Ruggero_Piccoli_1-1658390892435.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;4 - Drag and drop the new field in the report where you created the native table as usual&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Ruggero_Piccoli_2-1658390969089.png" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/84734iB929D3AB8AAC2BD8/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Ruggero_Piccoli_2-1658390969089.png" alt="Ruggero_Piccoli_2-1658390969089.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;You can run a preview to check that calculated values are correct. It is not mandatory to add the calculated column in the final report, I added it for didactical reasons.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;5 - Add the Group Footer band where you will insert the totals. Drag and drop the calculated field and set the totals calculation by opening the summary widonw as explained in the linked tutorial.&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Ruggero_Piccoli_3-1658391376008.png" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/84735i4E2908C3AFE5ED98/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Ruggero_Piccoli_3-1658391376008.png" alt="Ruggero_Piccoli_3-1658391376008.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Ruggero_Piccoli_4-1658391427328.png" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/84736i3E4DB26CEBF6B8FF/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Ruggero_Piccoli_4-1658391427328.png" alt="Ruggero_Piccoli_4-1658391427328.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;6 - Run a preview&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Ruggero_Piccoli_5-1658391545317.png" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/84737i52FF3CB111C6B342/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Ruggero_Piccoli_5-1658391545317.png" alt="Ruggero_Piccoli_5-1658391545317.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;7 - You can add a calculated fields with a summarization function the Group Band alone without its column visible. For example add a new calculated field to calculate the percentage of Babywear of the total sales&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Ruggero_Piccoli_6-1658391668090.png" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/84738i0B0DE56B5A60EFDE/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Ruggero_Piccoli_6-1658391668090.png" alt="Ruggero_Piccoli_6-1658391668090.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;7.1 - Drag and drop it in the template&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Ruggero_Piccoli_7-1658391713145.png" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/84739i7C09692F26C68AE8/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Ruggero_Piccoli_7-1658391713145.png" alt="Ruggero_Piccoli_7-1658391713145.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;7.2 - Run a preview&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Ruggero_Piccoli_8-1658391773655.png" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/84740i96C48D0F3F7E303A/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Ruggero_Piccoli_8-1658391773655.png" alt="Ruggero_Piccoli_8-1658391773655.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;Third solution: like the previous one but you can add the calculated column by currency in the source QlikView document or Qlik Sense app. This will reduce the reports generation time by moving calculation on the data reload (Qlik NPrinting will not need to recalculate the new fields for every report) but needs an update of the source and of the connection cache.&lt;/P&gt;
&lt;P&gt;Best Regards,&lt;/P&gt;
&lt;P&gt;Ruggero&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 21 Jul 2022 08:25:48 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Qlik-NPrinting/Adding-Totals-grouped-by-Currency/m-p/1958726#M36575</guid>
      <dc:creator>Ruggero_Piccoli</dc:creator>
      <dc:date>2022-07-21T08:25:48Z</dc:date>
    </item>
    <item>
      <title>Re: Adding Totals grouped by Currency</title>
      <link>https://community.qlik.com/t5/Qlik-NPrinting/Adding-Totals-grouped-by-Currency/m-p/1959018#M36585</link>
      <description>&lt;P&gt;Very nice &lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/48729"&gt;@Ruggero_Piccoli&lt;/a&gt;!&lt;/P&gt;</description>
      <pubDate>Thu, 21 Jul 2022 15:38:32 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Qlik-NPrinting/Adding-Totals-grouped-by-Currency/m-p/1959018#M36585</guid>
      <dc:creator>Frank_S</dc:creator>
      <dc:date>2022-07-21T15:38:32Z</dc:date>
    </item>
    <item>
      <title>Re: Adding Totals grouped by Currency</title>
      <link>https://community.qlik.com/t5/Qlik-NPrinting/Adding-Totals-grouped-by-Currency/m-p/1959225#M36593</link>
      <description>&lt;P&gt;Thanks&amp;nbsp;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/48712"&gt;@Frank_S&lt;/a&gt;&amp;nbsp;&lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 22 Jul 2022 06:21:43 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Qlik-NPrinting/Adding-Totals-grouped-by-Currency/m-p/1959225#M36593</guid>
      <dc:creator>Ruggero_Piccoli</dc:creator>
      <dc:date>2022-07-22T06:21:43Z</dc:date>
    </item>
  </channel>
</rss>

