<?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: GetSelectedCount(Country) in Qlik NPrinting</title>
    <link>https://community.qlik.com/t5/Qlik-NPrinting/GetSelectedCount-Country/m-p/115991#M4146</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Lech,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It is strange because if I drag the country from the Page expression in to the template and page &amp;lt;country_page&amp;gt; in the tab name, I can see the Country name in the template corresponding to the Country tab name.&lt;/P&gt;&lt;P&gt;However when I put my chart in, it doesn't evaluate the expression.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Let me try your expression instead and I will let you know the outcome&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 08 Nov 2018 10:14:32 GMT</pubDate>
    <dc:creator>bobbydave</dc:creator>
    <dc:date>2018-11-08T10:14:32Z</dc:date>
    <item>
      <title>GetSelectedCount(Country)</title>
      <link>https://community.qlik.com/t5/Qlik-NPrinting/GetSelectedCount-Country/m-p/115989#M4144</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I'm using NPrinting 18 Sept release.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I've a report on NPRINTING 16.8 and it runs fine.&lt;/P&gt;&lt;P&gt;After updating to 18, I've noticed an issue.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm using Country Paging which shows Countries in different tabs. This works fine. But my graphs should relate to the country tab name&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My graph title is using an expression&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;= &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;if&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;GetSelectedCount&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;Country&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;)&amp;gt;1 &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;or&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;GetSelectedCount&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;Country&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;)=0,'All',&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;Country&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;) &amp;amp; ' Claims incl Off-system &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;My output on all Country tabs (wihich have the correct country names) is 'All Claims inc Off-system'.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;Why wont it pick up the country names when in NPrinting 16, it does.&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 07 Nov 2018 13:57:51 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Qlik-NPrinting/GetSelectedCount-Country/m-p/115989#M4144</guid>
      <dc:creator>bobbydave</dc:creator>
      <dc:date>2018-11-07T13:57:51Z</dc:date>
    </item>
    <item>
      <title>Re: GetSelectedCount(Country)</title>
      <link>https://community.qlik.com/t5/Qlik-NPrinting/GetSelectedCount-Country/m-p/115990#M4145</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi David&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I will not answer your question "why" iyt does not work in version 17 or 18 as i do not know how NPrinting exactly works and i am sure Qlik is keeping this secret in very secure place.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;however if i were you i would try to use more generic expression which will give you the same result and will not relate to a selection state (which i am assuming is causing a problem for you)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i would use below expression (please also note Only(Country) function instead of just reference to Country Field!:&lt;/P&gt;&lt;P&gt;&lt;STRONG style="text-decoration: underline;"&gt;=if(Count(Distinct Country &amp;lt;&amp;gt; 1,'All', Only(Country)) &lt;/STRONG&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 10.6667px;"&gt;&lt;STRONG style="text-decoration: underline;"&gt;&amp;amp; ' Claims incl Off-system&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 10.6667px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;cheers&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;Lech&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;--------------------------------------------&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;&lt;SPAN&gt;When applicable please mark the appropriate replies as CORRECT &lt;/SPAN&gt;&lt;A class="jive-link-wiki-small" data-containerid="2001" data-containertype="14" data-objectid="14806" data-objecttype="102" href="https://community.qlik.com/docs/DOC-14806"&gt;https://community.qlik.com/docs/DOC-14806&lt;/A&gt;&lt;SPAN&gt;. This will help community members and Qlik Employees know which discussions have already been addressed and have a possible known solution. Please mark threads as HELPFUL if the provided solution is helpful to the problem, but does not necessarily solve the indicated problem. You can mark multiple threads as HELPFUL if you feel additional info is useful to others.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 07 Nov 2018 22:24:09 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Qlik-NPrinting/GetSelectedCount-Country/m-p/115990#M4145</guid>
      <dc:creator>Lech_Miszkiewicz</dc:creator>
      <dc:date>2018-11-07T22:24:09Z</dc:date>
    </item>
    <item>
      <title>Re: GetSelectedCount(Country)</title>
      <link>https://community.qlik.com/t5/Qlik-NPrinting/GetSelectedCount-Country/m-p/115991#M4146</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Lech,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It is strange because if I drag the country from the Page expression in to the template and page &amp;lt;country_page&amp;gt; in the tab name, I can see the Country name in the template corresponding to the Country tab name.&lt;/P&gt;&lt;P&gt;However when I put my chart in, it doesn't evaluate the expression.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Let me try your expression instead and I will let you know the outcome&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 08 Nov 2018 10:14:32 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Qlik-NPrinting/GetSelectedCount-Country/m-p/115991#M4146</guid>
      <dc:creator>bobbydave</dc:creator>
      <dc:date>2018-11-08T10:14:32Z</dc:date>
    </item>
    <item>
      <title>Re: GetSelectedCount(Country)</title>
      <link>https://community.qlik.com/t5/Qlik-NPrinting/GetSelectedCount-Country/m-p/115992#M4147</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I tested both formulas and the results are attached. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;David be sure that you are using in the formula the same field you inserted in the Pages node. When Qlik NPrinting creates a page it will apply a filter on the field in the node with the value for the page so your formula should work. Instead it seems that pages are filtered by another field so the field Country continue to have all the values.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best Regards,&lt;/P&gt;&lt;P&gt;Ruggero&lt;/P&gt;&lt;P&gt;---------------------------------------------&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;When applicable please mark the appropriate replies as CORRECT &lt;/SPAN&gt;&lt;A class="jive-link-wiki-small" data-containerid="2001" data-containertype="14" data-objectid="14806" data-objecttype="102" href="https://community.qlik.com/docs/DOC-14806"&gt;https://community.qlik.com/docs/DOC-14806&lt;/A&gt;&lt;SPAN&gt;. This will help community members and Qlik Employees know which discussions have already been addressed and have a possible known solution. Please mark threads as HELPFUL if the provided solution is helpful to the problem, but does not necessarily solve the indicated problem. You can mark multiple threads as HELPFUL if you feel additional info is useful to others.&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 08 Nov 2018 10:53:51 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Qlik-NPrinting/GetSelectedCount-Country/m-p/115992#M4147</guid>
      <dc:creator>Ruggero_Piccoli</dc:creator>
      <dc:date>2018-11-08T10:53:51Z</dc:date>
    </item>
    <item>
      <title>Re: GetSelectedCount(Country)</title>
      <link>https://community.qlik.com/t5/Qlik-NPrinting/GetSelectedCount-Country/m-p/1506772#M21273</link>
      <description>&lt;P&gt;Hi, any updates on this? I am interested to know if my suggestion worked for you.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;regards&lt;/P&gt;&lt;P&gt;Lech&lt;/P&gt;</description>
      <pubDate>Thu, 15 Nov 2018 03:03:22 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Qlik-NPrinting/GetSelectedCount-Country/m-p/1506772#M21273</guid>
      <dc:creator>Lech_Miszkiewicz</dc:creator>
      <dc:date>2018-11-15T03:03:22Z</dc:date>
    </item>
  </channel>
</rss>

