<?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 IF condition in qliksense Text Box object not working in NPrinting in Integration, Extension &amp; APIs</title>
    <link>https://community.qlik.com/t5/Integration-Extension-APIs/IF-condition-in-qliksense-Text-Box-object-not-working-in/m-p/2006402#M17604</link>
    <description>&lt;P&gt;Hello Experts,&lt;/P&gt;
&lt;P&gt;I have a text box in Qliksense where i use the combination of Index() and Replace() to eliminate few filters that show up in the getcurrenctselection() which works pertectly in Qliksense. But once i export this object to NPrinting as an image, the logic doesnt seem to be working and is showing all the selected filters in the ondemand excel report. Below is my expression.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;=IF(Index(GetCurrentSelections(chr(10)),'# Records') &amp;gt; 0,Replace(GetCurrentSelections(chr(10)),'# Records: =rand()&amp;lt;=vSampleSize/100+now()*0',''),&lt;BR /&gt;GetCurrentSelections(chr(10))).&lt;/P&gt;
&lt;P&gt;Can anyone help?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Fri, 18 Nov 2022 12:46:39 GMT</pubDate>
    <dc:creator>qliksu</dc:creator>
    <dc:date>2022-11-18T12:46:39Z</dc:date>
    <item>
      <title>IF condition in qliksense Text Box object not working in NPrinting</title>
      <link>https://community.qlik.com/t5/Integration-Extension-APIs/IF-condition-in-qliksense-Text-Box-object-not-working-in/m-p/2006402#M17604</link>
      <description>&lt;P&gt;Hello Experts,&lt;/P&gt;
&lt;P&gt;I have a text box in Qliksense where i use the combination of Index() and Replace() to eliminate few filters that show up in the getcurrenctselection() which works pertectly in Qliksense. But once i export this object to NPrinting as an image, the logic doesnt seem to be working and is showing all the selected filters in the ondemand excel report. Below is my expression.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;=IF(Index(GetCurrentSelections(chr(10)),'# Records') &amp;gt; 0,Replace(GetCurrentSelections(chr(10)),'# Records: =rand()&amp;lt;=vSampleSize/100+now()*0',''),&lt;BR /&gt;GetCurrentSelections(chr(10))).&lt;/P&gt;
&lt;P&gt;Can anyone help?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 18 Nov 2022 12:46:39 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Integration-Extension-APIs/IF-condition-in-qliksense-Text-Box-object-not-working-in/m-p/2006402#M17604</guid>
      <dc:creator>qliksu</dc:creator>
      <dc:date>2022-11-18T12:46:39Z</dc:date>
    </item>
    <item>
      <title>Re: IF condition in qliksense Text Box object not working in NPrinting</title>
      <link>https://community.qlik.com/t5/Integration-Extension-APIs/IF-condition-in-qliksense-Text-Box-object-not-working-in/m-p/2044239#M18212</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;I faced the same issue please add the expression in a variable and then call the variable directly in NPrinting or in text object it will work just fine.&lt;/P&gt;</description>
      <pubDate>Thu, 02 Mar 2023 06:35:23 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Integration-Extension-APIs/IF-condition-in-qliksense-Text-Box-object-not-working-in/m-p/2044239#M18212</guid>
      <dc:creator>ajaykakkar93</dc:creator>
      <dc:date>2023-03-02T06:35:23Z</dc:date>
    </item>
  </channel>
</rss>

