<?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 ValueList inside If statement? in App Development</title>
    <link>https://community.qlik.com/t5/App-Development/ValueList-inside-If-statement/m-p/1374062#M31020</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi all,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have the next simple ValueList method:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ValueList('one', 'two')&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;which works fine if I create a master dimension with it. However, if I put this method inside a If statement: &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If(1=1, ValueList('one', 'two'), 'three')&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;the master dimension returns a null value:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="Captura.PNG" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/181442_Captura.PNG" style="height: auto;" /&gt;&lt;/P&gt;&lt;P&gt;Does anyone have an idea of why does this happen?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 30 Oct 2017 09:16:29 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2017-10-30T09:16:29Z</dc:date>
    <item>
      <title>ValueList inside If statement?</title>
      <link>https://community.qlik.com/t5/App-Development/ValueList-inside-If-statement/m-p/1374062#M31020</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi all,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have the next simple ValueList method:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ValueList('one', 'two')&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;which works fine if I create a master dimension with it. However, if I put this method inside a If statement: &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If(1=1, ValueList('one', 'two'), 'three')&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;the master dimension returns a null value:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="Captura.PNG" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/181442_Captura.PNG" style="height: auto;" /&gt;&lt;/P&gt;&lt;P&gt;Does anyone have an idea of why does this happen?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 30 Oct 2017 09:16:29 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/ValueList-inside-If-statement/m-p/1374062#M31020</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-10-30T09:16:29Z</dc:date>
    </item>
  </channel>
</rss>

