<?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: Add Condition based Column to a Pivot table in Qlik NPrinting</title>
    <link>https://community.qlik.com/t5/Qlik-NPrinting/Add-Condition-based-Column-to-a-Pivot-table/m-p/1907687#M35478</link>
    <description>&lt;P&gt;It's good, If you create a report in Qlik and use that ID in N-Printing to see the result as i mentioned in first reply.&lt;/P&gt;</description>
    <pubDate>Mon, 21 Mar 2022 14:35:22 GMT</pubDate>
    <dc:creator>Anil_Babu_Samineni</dc:creator>
    <dc:date>2022-03-21T14:35:22Z</dc:date>
    <item>
      <title>Add Condition based Column to a Pivot table</title>
      <link>https://community.qlik.com/t5/Qlik-NPrinting/Add-Condition-based-Column-to-a-Pivot-table/m-p/1907631#M35469</link>
      <description>&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Sampel Data Screen Shot" style="width: 452px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/74960i30E5A17196CDE605/image-size/large?v=v2&amp;amp;px=999" role="button" title="ScreenShot5.png" alt="Sampel Data Screen Shot" /&gt;&lt;span class="lia-inline-image-caption" onclick="event.preventDefault();"&gt;Sampel Data Screen Shot&lt;/span&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;Hello folks,&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I have pivot table as in above screen shot,&amp;nbsp; values a1,a2,a3,a4,a5 coming from a column with values&amp;nbsp;a1,a2,a3,a4,a5 .&lt;/P&gt;
&lt;P&gt;Total Valid Targets is derived by adding a2 and a3, in this case 174 as in above example. I have trouble how to add&lt;/P&gt;
&lt;P&gt;Total Valid Targets which is based on if field name values&amp;nbsp; are a2 and a3 , add the measures PID count - in the above example&amp;nbsp;&lt;/P&gt;
&lt;P&gt;it is 174. How can I achieve this, can someone help please.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 21 Mar 2022 13:46:31 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Qlik-NPrinting/Add-Condition-based-Column-to-a-Pivot-table/m-p/1907631#M35469</guid>
      <dc:creator>gopal5879</dc:creator>
      <dc:date>2022-03-21T13:46:31Z</dc:date>
    </item>
    <item>
      <title>Re: Add Condition based Column to a Pivot table</title>
      <link>https://community.qlik.com/t5/Qlik-NPrinting/Add-Condition-based-Column-to-a-Pivot-table/m-p/1907640#M35471</link>
      <description>&lt;P&gt;IF that is not expecting in output from Qlik sense in N-Printing, We will move your topic to Qlik sense forum where you will get good response.&lt;/P&gt;
&lt;P&gt;Perhaps this?&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;If([PID Count]='Q321' and Match(FieldName, 'a1', 'a2'), Sum(Your Field))&lt;/STRONG&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 21 Mar 2022 13:49:57 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Qlik-NPrinting/Add-Condition-based-Column-to-a-Pivot-table/m-p/1907640#M35471</guid>
      <dc:creator>Anil_Babu_Samineni</dc:creator>
      <dc:date>2022-03-21T13:49:57Z</dc:date>
    </item>
    <item>
      <title>Re: Add Condition based Column to a Pivot table</title>
      <link>https://community.qlik.com/t5/Qlik-NPrinting/Add-Condition-based-Column-to-a-Pivot-table/m-p/1907651#M35472</link>
      <description>&lt;P&gt;Hello Anil, Please move if you think I get good response. Just want to let you know the source is qvw file accessed through nprinting connection.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 21 Mar 2022 13:56:18 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Qlik-NPrinting/Add-Condition-based-Column-to-a-Pivot-table/m-p/1907651#M35472</guid>
      <dc:creator>gopal5879</dc:creator>
      <dc:date>2022-03-21T13:56:18Z</dc:date>
    </item>
    <item>
      <title>Re: Add Condition based Column to a Pivot table</title>
      <link>https://community.qlik.com/t5/Qlik-NPrinting/Add-Condition-based-Column-to-a-Pivot-table/m-p/1907662#M35474</link>
      <description>&lt;P&gt;I see, That is connected to N-Printing only. So we are not moving anywhere.&lt;/P&gt;
&lt;P&gt;Can we&amp;nbsp; know the exact output you expect in N-Printing if my above reply not helps?&lt;/P&gt;</description>
      <pubDate>Mon, 21 Mar 2022 14:07:33 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Qlik-NPrinting/Add-Condition-based-Column-to-a-Pivot-table/m-p/1907662#M35474</guid>
      <dc:creator>Anil_Babu_Samineni</dc:creator>
      <dc:date>2022-03-21T14:07:33Z</dc:date>
    </item>
    <item>
      <title>Re: Add Condition based Column to a Pivot table</title>
      <link>https://community.qlik.com/t5/Qlik-NPrinting/Add-Condition-based-Column-to-a-Pivot-table/m-p/1907677#M35476</link>
      <description>&lt;P&gt;Hello Anil,&lt;/P&gt;
&lt;P&gt;In NPrinting , I expect the output like this.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;DIV id="tinyMceEditor_c0fd0c56ab32b5gopal5879_2" class="mceNonEditable lia-copypaste-placeholder"&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="gopal5879_3-1647872160866.png" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/74968iE0AFDCA9B5C7AF98/image-size/medium?v=v2&amp;amp;px=400" role="button" title="gopal5879_3-1647872160866.png" alt="gopal5879_3-1647872160866.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;a1, a2 , a3 ,a4,a5&lt;/STRONG&gt; are values coming a field called &lt;STRONG&gt;status&lt;/STRONG&gt;.&amp;nbsp; PID are counted against each of status values&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;a1, a2 , a3 ,a4,a5&lt;/STRONG&gt;. The exact output needed&amp;nbsp; is similar to above screen shot , we can take out field Total Targets.&lt;/P&gt;
&lt;P&gt;I am struggling to add column Total Valid Targets which is&amp;nbsp; sum of PID counts of a2 and a3 ( a2 + a3)&amp;nbsp; for each row.&lt;/P&gt;
&lt;P&gt;Need help how to achieve to add additional column&amp;nbsp;Total Valid Targets with condition based computation from&lt;/P&gt;
&lt;P&gt;same &lt;STRONG&gt;status&lt;/STRONG&gt; field&amp;nbsp; which has values&amp;nbsp;&lt;STRONG&gt;a1, a2 , a3 ,a4,a5.&amp;nbsp;&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;The above screen shot is pivotal representation and how to achieve NPrinting&lt;/P&gt;
&lt;P&gt;solution with additional column&amp;nbsp;Total Valid Targets?&lt;/P&gt;
&lt;P&gt;Meanwhile I will try using&amp;nbsp;&lt;STRONG&gt;If(Match(FieldName, 'a1', 'a2'), Sum(Your Field))&lt;/STRONG&gt;&lt;/P&gt;
&lt;DIV id="tinyMceEditor_c0fd0c56ab32b5gopal5879_1" class="mceNonEditable lia-copypaste-placeholder"&gt;&amp;nbsp;&lt;/DIV&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>Mon, 21 Mar 2022 14:25:49 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Qlik-NPrinting/Add-Condition-based-Column-to-a-Pivot-table/m-p/1907677#M35476</guid>
      <dc:creator>gopal5879</dc:creator>
      <dc:date>2022-03-21T14:25:49Z</dc:date>
    </item>
    <item>
      <title>Re: Add Condition based Column to a Pivot table</title>
      <link>https://community.qlik.com/t5/Qlik-NPrinting/Add-Condition-based-Column-to-a-Pivot-table/m-p/1907687#M35478</link>
      <description>&lt;P&gt;It's good, If you create a report in Qlik and use that ID in N-Printing to see the result as i mentioned in first reply.&lt;/P&gt;</description>
      <pubDate>Mon, 21 Mar 2022 14:35:22 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Qlik-NPrinting/Add-Condition-based-Column-to-a-Pivot-table/m-p/1907687#M35478</guid>
      <dc:creator>Anil_Babu_Samineni</dc:creator>
      <dc:date>2022-03-21T14:35:22Z</dc:date>
    </item>
  </channel>
</rss>

