<?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: Calculted value from a pivot table Nprinting in Qlik NPrinting</title>
    <link>https://community.qlik.com/t5/Qlik-NPrinting/Calculted-value-from-a-pivot-table-Nprinting/m-p/1658874#M27445</link>
    <description>&lt;P&gt;Hello, Thank you for your reply.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;To explain a bit more..I am basing the Pivot on an underlying straight table. One of the fields there is PERIOD.&lt;/P&gt;&lt;P&gt;So the users need to be able to filter on that PERIOD field, so I've dragged that to the "Filters" in Excel.&lt;/P&gt;&lt;P&gt;1. if I understand correctly, in my current scenario, the data in the Pivot will update accordingly as user selects Period in the filter box.&lt;/P&gt;&lt;P&gt;2. I need to take this one step further. I need to filter on the field, as above, but also another field date field (Flag_date) must NOT be equal to the field in (1) above. its a complicated scenario. so I have to be able to "grab" that field value of Period, so in my GETPIVOT statement I can say where A-Field &amp;lt;&amp;gt; the selected PERIOD filter value. Hope that makes sense.&lt;/P&gt;&lt;P&gt;I cannot share a copy of the template - its company related.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;thanks&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Wed, 18 Dec 2019 09:31:27 GMT</pubDate>
    <dc:creator>QFanatic</dc:creator>
    <dc:date>2019-12-18T09:31:27Z</dc:date>
    <item>
      <title>Calculted value from a pivot table Nprinting</title>
      <link>https://community.qlik.com/t5/Qlik-NPrinting/Calculted-value-from-a-pivot-table-Nprinting/m-p/1607511#M25279</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;I have the following table&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Capture1.PNG" style="width: 268px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/16205i7C75688FE5E53F39/image-dimensions/268x193?v=v2" width="268" height="193" role="button" title="Capture1.PNG" alt="Capture1.PNG" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Thanks to this table I did a pivot table:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Capture2.PNG" style="width: 397px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/16206i286E877078B7A0C9/image-dimensions/397x225?v=v2" width="397" height="225" role="button" title="Capture2.PNG" alt="Capture2.PNG" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;The last row&amp;nbsp; " Average week" is calculted by&amp;nbsp; :&amp;nbsp; "Total général"/count(number of rows)&amp;nbsp;&lt;/P&gt;&lt;P&gt;Now I would like to do the same in NPrinting.&lt;/P&gt;&lt;P&gt;When I get my table from Qlik I get this:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Capture3.PNG" style="width: 312px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/16207iD92E7CAEE28D66F8/image-size/large?v=v2&amp;amp;px=999" role="button" title="Capture3.PNG" alt="Capture3.PNG" /&gt;&lt;/span&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Then when I try to do a pivot table I get this:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Capture4.PNG" style="width: 438px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/16208i9291B2B7D6A897F9/image-size/large?v=v2&amp;amp;px=999" role="button" title="Capture4.PNG" alt="Capture4.PNG" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;But I don't see how to calculate Average week from the pivot table.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Is it possible to achieve this in Nprinting?&lt;/P&gt;&lt;P&gt;I'm using Nprinting 18.&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;</description>
      <pubDate>Sat, 16 Nov 2024 02:52:11 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Qlik-NPrinting/Calculted-value-from-a-pivot-table-Nprinting/m-p/1607511#M25279</guid>
      <dc:creator>ra162512</dc:creator>
      <dc:date>2024-11-16T02:52:11Z</dc:date>
    </item>
    <item>
      <title>Re: Calculted value from a pivot table Nprinting</title>
      <link>https://community.qlik.com/t5/Qlik-NPrinting/Calculted-value-from-a-pivot-table-Nprinting/m-p/1607592#M25282</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;You can insert the Excel function&amp;nbsp;GETPIVOTDATA() in the Qlik NPrinting Excel template. It is documented in the official Excel help site:&amp;nbsp;&lt;A href="https://support.office.com/en-gb/article/GETPIVOTDATA-function-8C083B99-A922-4CA0-AF5E-3AF55960761F" target="_blank"&gt;https://support.office.com/en-gb/article/GETPIVOTDATA-function-8C083B99-A922-4CA0-AF5E-3AF55960761F&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;Pay attention, if you insert the function under the template of the pivot when it is produced the function could be overlapped. So you have to estimate the number of rows to skip or place the formula in another place, for example in the side of the pivot.&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="getpivotdata.png" style="width: 999px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/16221iF00529C530309EBB/image-size/large?v=v2&amp;amp;px=999" role="button" title="getpivotdata.png" alt="getpivotdata.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;Best Regards,&lt;/P&gt;
&lt;P&gt;Ruggero&lt;/P&gt;</description>
      <pubDate>Tue, 30 Jul 2019 14:51:33 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Qlik-NPrinting/Calculted-value-from-a-pivot-table-Nprinting/m-p/1607592#M25282</guid>
      <dc:creator>Ruggero_Piccoli</dc:creator>
      <dc:date>2019-07-30T14:51:33Z</dc:date>
    </item>
    <item>
      <title>Re: Calculted value from a pivot table Nprinting</title>
      <link>https://community.qlik.com/t5/Qlik-NPrinting/Calculted-value-from-a-pivot-table-Nprinting/m-p/1607786#M25289</link>
      <description>&lt;P&gt;Hi,&amp;nbsp;&lt;/P&gt;&lt;P&gt;I will try to turn your head in slightly different direction when thinking about this solution. You have taken approach that this one row has to be derived rom excel pivot table.&amp;nbsp;&lt;/P&gt;&lt;P&gt;If I would build this report I would calculate those values in Qlik object and return them directly from Qlik.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 31 Jul 2019 00:19:17 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Qlik-NPrinting/Calculted-value-from-a-pivot-table-Nprinting/m-p/1607786#M25289</guid>
      <dc:creator>Lech_Miszkiewicz</dc:creator>
      <dc:date>2019-07-31T00:19:17Z</dc:date>
    </item>
    <item>
      <title>Re: Calculted value from a pivot table Nprinting</title>
      <link>https://community.qlik.com/t5/Qlik-NPrinting/Calculted-value-from-a-pivot-table-Nprinting/m-p/1608020#M25300</link>
      <description>&lt;P&gt;Ok thank you! I wasn't sure if I had to do it in Qlik or in Nprinting !&lt;/P&gt;&lt;P&gt;Now I think the best pratice is to do it in Qlik Sense even if it can take more time.&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;</description>
      <pubDate>Thu, 01 Aug 2019 13:13:02 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Qlik-NPrinting/Calculted-value-from-a-pivot-table-Nprinting/m-p/1608020#M25300</guid>
      <dc:creator>ra162512</dc:creator>
      <dc:date>2019-08-01T13:13:02Z</dc:date>
    </item>
    <item>
      <title>Re: Calculted value from a pivot table Nprinting</title>
      <link>https://community.qlik.com/t5/Qlik-NPrinting/Calculted-value-from-a-pivot-table-Nprinting/m-p/1658874#M27445</link>
      <description>&lt;P&gt;Hello, Thank you for your reply.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;To explain a bit more..I am basing the Pivot on an underlying straight table. One of the fields there is PERIOD.&lt;/P&gt;&lt;P&gt;So the users need to be able to filter on that PERIOD field, so I've dragged that to the "Filters" in Excel.&lt;/P&gt;&lt;P&gt;1. if I understand correctly, in my current scenario, the data in the Pivot will update accordingly as user selects Period in the filter box.&lt;/P&gt;&lt;P&gt;2. I need to take this one step further. I need to filter on the field, as above, but also another field date field (Flag_date) must NOT be equal to the field in (1) above. its a complicated scenario. so I have to be able to "grab" that field value of Period, so in my GETPIVOT statement I can say where A-Field &amp;lt;&amp;gt; the selected PERIOD filter value. Hope that makes sense.&lt;/P&gt;&lt;P&gt;I cannot share a copy of the template - its company related.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;thanks&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 18 Dec 2019 09:31:27 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Qlik-NPrinting/Calculted-value-from-a-pivot-table-Nprinting/m-p/1658874#M27445</guid>
      <dc:creator>QFanatic</dc:creator>
      <dc:date>2019-12-18T09:31:27Z</dc:date>
    </item>
    <item>
      <title>Re: Calculted value from a pivot table Nprinting</title>
      <link>https://community.qlik.com/t5/Qlik-NPrinting/Calculted-value-from-a-pivot-table-Nprinting/m-p/1658910#M27446</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;If you create a native Excel pivot by follow the instructions in&amp;nbsp;&lt;A href="https://help.qlik.com/en-US/nprinting/November2019/Content/NPrinting/ExcelReports/Pivot-table-Excel.htm" target="_blank"&gt;https://help.qlik.com/en-US/nprinting/November2019/Content/NPrinting/ExcelReports/Pivot-table-Excel.htm&lt;/A&gt;&amp;nbsp;(avoid to use the Levels based procedure because it is slower), Qlik NPrinting will create Excel reports with data from QlikView or Qlik Sense at the moment of creation. The steps in the chapter "Set data to be refreshed" will assure that the data in the pivot are updated with the data in the table on report opening. Data in reports are not linked with the sources, so when you interact with then you are working with the copy in the Excel report.&lt;/P&gt;
&lt;P&gt;Qlik NPrinting produces normal Excel so you can use Excel features. About point 2 I suggest you to create the formula that you need in an Excel file outside Qlik NPrinting and only when you are sure it works copy it into the template.&lt;/P&gt;
&lt;P&gt;I don't know if it is possible in your scenario, but another solution could be to create a field for filtering in the source Qlik Sense app or QlikView documents. This could help you in simplifying the filtering formula.&lt;/P&gt;
&lt;P&gt;Best Regards,&lt;/P&gt;
&lt;P&gt;Ruggero&lt;/P&gt;</description>
      <pubDate>Wed, 18 Dec 2019 10:52:25 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Qlik-NPrinting/Calculted-value-from-a-pivot-table-Nprinting/m-p/1658910#M27446</guid>
      <dc:creator>Ruggero_Piccoli</dc:creator>
      <dc:date>2019-12-18T10:52:25Z</dc:date>
    </item>
  </channel>
</rss>

