<?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: NPrinting Pivot Table in Qlik NPrinting</title>
    <link>https://community.qlik.com/t5/Qlik-NPrinting/NPrinting-Pivot-Table/m-p/1759122#M30472</link>
    <description>&lt;P&gt;Pivot tables in HTML are not easy to build and whole code (in my opinion) must come from Qlik application directly&lt;/P&gt;&lt;P&gt;Example here:&amp;nbsp;&lt;A href="https://nprintingadventures.com/2020/04/24/how-to-build-html-pivot-table-in-nprinting/" target="_blank" rel="noopener"&gt;https://nprintingadventures.com/2020/04/24/how-to-build-html-pivot-table-in-nprinting/&lt;/A&gt;&lt;/P&gt;&lt;P&gt;btw... there is no one piece of code we can give you - it will be purely based on requirements so you may want to share mockup of final outcome identifying what is dynamic (number of grouped dimensions in rows and columns etc...)&lt;/P&gt;</description>
    <pubDate>Thu, 05 Nov 2020 21:54:29 GMT</pubDate>
    <dc:creator>Lech_Miszkiewicz</dc:creator>
    <dc:date>2020-11-05T21:54:29Z</dc:date>
    <item>
      <title>NPrinting Pivot Table</title>
      <link>https://community.qlik.com/t5/Qlik-NPrinting/NPrinting-Pivot-Table/m-p/1758984#M30470</link>
      <description>&lt;P&gt;Hello experts I need your help with creating an NPrinting pivot table. Below is the code I have so far which gives me a straight table but I need it to be&amp;nbsp; a pivot table.&lt;/P&gt;&lt;P&gt;&amp;lt;!DOCTYPE html&amp;gt;&lt;BR /&gt;&amp;lt;html&amp;gt;&lt;BR /&gt;&amp;lt;head&amp;gt;&lt;BR /&gt;&amp;lt;style&amp;gt;&lt;BR /&gt;table, td,th {&lt;BR /&gt;border: 1px solid black;&lt;BR /&gt;}&lt;BR /&gt;&amp;lt;/style&amp;gt;&lt;BR /&gt;&amp;lt;/head&amp;gt;&lt;BR /&gt;&amp;lt;body&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;lt;table&amp;gt;&lt;BR /&gt;&amp;lt;tr&amp;gt;&lt;BR /&gt;&amp;lt;th&amp;gt;Quarter&amp;lt;/th&amp;gt;&lt;BR /&gt;&amp;lt;th&amp;gt;Position&amp;lt;/th&amp;gt;&lt;BR /&gt;&amp;lt;th&amp;gt;Goal This Q&amp;lt;/th&amp;gt;&lt;BR /&gt;&amp;lt;th&amp;gt;Apps This Q&amp;lt;/th&amp;gt;&lt;BR /&gt;&amp;lt;th&amp;gt;Goal Met This Q&amp;lt;/th&amp;gt;&lt;BR /&gt;&amp;lt;th&amp;gt;2020 Goal&amp;lt;/th&amp;gt;&lt;BR /&gt;&amp;lt;th&amp;gt;2020 Apps for SMP&amp;lt;/th&amp;gt;&lt;BR /&gt;&amp;lt;th&amp;gt;Percentage Goal Met&amp;lt;/th&amp;gt;&lt;BR /&gt;&amp;lt;th&amp;gt;Number Accepted 2020&amp;lt;/th&amp;gt;&lt;BR /&gt;&amp;lt;th&amp;gt;Accepted Percentage&amp;lt;/th&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;lt;/tr&amp;gt;&lt;BR /&gt;&amp;lt;tr&amp;gt;&lt;BR /&gt;&amp;lt;td&amp;gt;%%Quarter%%&amp;lt;/td&amp;gt;&lt;BR /&gt;&amp;lt;td&amp;gt;%%=[Role Group]%%&amp;lt;/td&amp;gt;&lt;BR /&gt;&amp;lt;td&amp;gt;%%Sum({_Quarter={"$(vQuarter)"}_} Goals)%%&amp;lt;/td&amp;gt;&lt;BR /&gt;&amp;lt;td&amp;gt;%%=COUNT({_Goals={"_0"},Year={'2020'},Quarter={"$(vQuarter)"}_}[Applicant ID])%%&amp;lt;/td&amp;gt;&lt;BR /&gt;&amp;lt;td&amp;gt;%%Count({$_Goals={"_0"}, Year={'2020'}, Quarter={"$(vQuarter)"}_}[Applicant ID]) / Sum({$_[Applicant Submit Date]=,Quarter={"$(vQuarter)"}_} [Goals])%%&amp;lt;/td&amp;gt;&lt;BR /&gt;&amp;lt;td&amp;gt;%%if($(vApplicationCount) _ 0 or $(vApplicationGoals) _0,Sum({$_[Applicant Submit Date]=,Year=, [Quarter]=_} [Goals]))%%&amp;lt;/td&amp;gt;&lt;BR /&gt;&amp;lt;td&amp;gt;%%Count({$_Goals={"_0"},Year={'2020'},Quarter=_}[Applicant ID])%%&amp;lt;/td&amp;gt;&lt;BR /&gt;&amp;lt;td&amp;gt;%%Count({$_Goals={"_0"},Year={'2020'},Quarter=_}[Applicant ID]) / if($(vApplicationCount) _ 0 or $(vApplicationGoals) _0,Sum({$_[Applicant Submit Date]=,Year=, [Quarter]=_} [Goals]))%% &amp;lt;/td&amp;gt;&lt;BR /&gt;&amp;lt;td&amp;gt;%%Count({_[Current Status ID]={2}_}[Applicant ID])%%&amp;lt;/td&amp;gt;&lt;BR /&gt;&amp;lt;td&amp;gt;%%Count({_[Current Status]={'Accepted'}_}[Applicant ID])/Count({$_Goals={"_0"},Year={'2020'},Quarter=_}[Applicant ID])%%&amp;lt;/td&amp;gt;&lt;BR /&gt;&amp;lt;/tr&amp;gt;&lt;BR /&gt;&amp;lt;/table&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;lt;/body&amp;gt;&lt;BR /&gt;&amp;lt;/html&amp;gt;&lt;/P&gt;&lt;P&gt;The output is a straight table which looks like this&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Pomna_1-1604590771621.png" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/43629iF5A770F0B7D5A6F3/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Pomna_1-1604590771621.png" alt="Pomna_1-1604590771621.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;But I need a pivot table . Any suggestions will be appreciated.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 05 Nov 2020 15:41:41 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Qlik-NPrinting/NPrinting-Pivot-Table/m-p/1758984#M30470</guid>
      <dc:creator>Pomna</dc:creator>
      <dc:date>2020-11-05T15:41:41Z</dc:date>
    </item>
    <item>
      <title>Re: NPrinting Pivot Table</title>
      <link>https://community.qlik.com/t5/Qlik-NPrinting/NPrinting-Pivot-Table/m-p/1759122#M30472</link>
      <description>&lt;P&gt;Pivot tables in HTML are not easy to build and whole code (in my opinion) must come from Qlik application directly&lt;/P&gt;&lt;P&gt;Example here:&amp;nbsp;&lt;A href="https://nprintingadventures.com/2020/04/24/how-to-build-html-pivot-table-in-nprinting/" target="_blank" rel="noopener"&gt;https://nprintingadventures.com/2020/04/24/how-to-build-html-pivot-table-in-nprinting/&lt;/A&gt;&lt;/P&gt;&lt;P&gt;btw... there is no one piece of code we can give you - it will be purely based on requirements so you may want to share mockup of final outcome identifying what is dynamic (number of grouped dimensions in rows and columns etc...)&lt;/P&gt;</description>
      <pubDate>Thu, 05 Nov 2020 21:54:29 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Qlik-NPrinting/NPrinting-Pivot-Table/m-p/1759122#M30472</guid>
      <dc:creator>Lech_Miszkiewicz</dc:creator>
      <dc:date>2020-11-05T21:54:29Z</dc:date>
    </item>
  </channel>
</rss>

