<?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: nest iif statement for Pixel Perfect in Qlik NPrinting</title>
    <link>https://community.qlik.com/t5/Qlik-NPrinting/nest-iif-statement-for-Pixel-Perfect/m-p/1752927#M30299</link>
    <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;Unfortunately I cannot modifiy the source of this Qlik Dashboard.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Michael&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Thu, 15 Oct 2020 15:43:44 GMT</pubDate>
    <dc:creator>mstoler</dc:creator>
    <dc:date>2020-10-15T15:43:44Z</dc:date>
    <item>
      <title>nest iif statement for Pixel Perfect</title>
      <link>https://community.qlik.com/t5/Qlik-NPrinting/nest-iif-statement-for-Pixel-Perfect/m-p/1752850#M30294</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;I am trying to create a nested if statement like below but the syntax is not accepted.&lt;/P&gt;&lt;P&gt;Are nested if statements supported?&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Michael&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;iif([PG]=1,'Item1',&lt;BR /&gt;Iif([PG]=2,'Item2',&lt;BR /&gt;Iif([PG]=3,'Item3',&lt;BR /&gt;Iif([PG]=4,'Item4',&lt;BR /&gt;Iif([PG]=5,'Item5',&lt;BR /&gt;Iif([PG]=6,'Item6',&lt;BR /&gt;Iif([PG]=7,'Item7'&lt;BR /&gt;)))))))&lt;/P&gt;</description>
      <pubDate>Thu, 15 Oct 2020 14:14:29 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Qlik-NPrinting/nest-iif-statement-for-Pixel-Perfect/m-p/1752850#M30294</guid>
      <dc:creator>mstoler</dc:creator>
      <dc:date>2020-10-15T14:14:29Z</dc:date>
    </item>
    <item>
      <title>Re: nest iif statement for Pixel Perfect</title>
      <link>https://community.qlik.com/t5/Qlik-NPrinting/nest-iif-statement-for-Pixel-Perfect/m-p/1752856#M30296</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;Yes, nested if are supported.&lt;/P&gt;&lt;P&gt;Maybe it is because you used l&lt;SPAN&gt;if([PG]= instead of iif([PG]=. I mean, be sure you always used iif() because l could be confused with I.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Where are you trying to add the nested if?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Best Regards,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Ruggero&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 15 Oct 2020 14:29:33 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Qlik-NPrinting/nest-iif-statement-for-Pixel-Perfect/m-p/1752856#M30296</guid>
      <dc:creator>Ruggero_Piccoli</dc:creator>
      <dc:date>2020-10-15T14:29:33Z</dc:date>
    </item>
    <item>
      <title>Re: nest iif statement for Pixel Perfect</title>
      <link>https://community.qlik.com/t5/Qlik-NPrinting/nest-iif-statement-for-Pixel-Perfect/m-p/1752861#M30297</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;What I want to do is say if PG=1 then return 'Item1', if PG=2 then return 'Item2', etc.&lt;/P&gt;&lt;P&gt;The problem I have is PG is dual field and in NPrinting I only get the number.&amp;nbsp; I need the Item.&amp;nbsp; I can't modify the Qlik document now.&amp;nbsp; Is there a better way?&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Michael&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 15 Oct 2020 14:26:50 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Qlik-NPrinting/nest-iif-statement-for-Pixel-Perfect/m-p/1752861#M30297</guid>
      <dc:creator>mstoler</dc:creator>
      <dc:date>2020-10-15T14:26:50Z</dc:date>
    </item>
    <item>
      <title>Re: nest iif statement for Pixel Perfect</title>
      <link>https://community.qlik.com/t5/Qlik-NPrinting/nest-iif-statement-for-Pixel-Perfect/m-p/1752868#M30298</link>
      <description>&lt;P&gt;Hi,&amp;nbsp;&lt;/P&gt;&lt;P&gt;You could also try to use&amp;nbsp;ToInt():&amp;nbsp;&lt;SPAN&gt;iif(ToInt([PG])=1,'Item1',...&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;or&amp;nbsp;ToStr():&amp;nbsp;iif(ToStr([PG])='1','Item1',...&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Yes, sometimes to develop PixelPerfect formulas you have to try, test, change, try again. Forcing tha data type to text of add formulas in the source app would be better.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Best Regards,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Ruggero&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 15 Oct 2020 14:43:37 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Qlik-NPrinting/nest-iif-statement-for-Pixel-Perfect/m-p/1752868#M30298</guid>
      <dc:creator>Ruggero_Piccoli</dc:creator>
      <dc:date>2020-10-15T14:43:37Z</dc:date>
    </item>
    <item>
      <title>Re: nest iif statement for Pixel Perfect</title>
      <link>https://community.qlik.com/t5/Qlik-NPrinting/nest-iif-statement-for-Pixel-Perfect/m-p/1752927#M30299</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;Unfortunately I cannot modifiy the source of this Qlik Dashboard.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Michael&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 15 Oct 2020 15:43:44 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Qlik-NPrinting/nest-iif-statement-for-Pixel-Perfect/m-p/1752927#M30299</guid>
      <dc:creator>mstoler</dc:creator>
      <dc:date>2020-10-15T15:43:44Z</dc:date>
    </item>
  </channel>
</rss>

