<?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: Load Script: Using Lookup() in an If statement in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Load-Script-Using-Lookup-in-an-If-statement/m-p/393460#M696697</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks a lot&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I was expecting that he would still look at the original name, but it works now! Sometimes you're almost there but just need a 2nd person to take out the last bug! &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 28 Feb 2013 14:24:35 GMT</pubDate>
    <dc:creator />
    <dc:date>2013-02-28T14:24:35Z</dc:date>
    <item>
      <title>Load Script: Using Lookup() in an If statement</title>
      <link>https://community.qlik.com/t5/QlikView/Load-Script-Using-Lookup-in-an-If-statement/m-p/393458#M696695</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am wondering if it is possible to use Lookup() in an if statement. Below you can see an example:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;Bron1:&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;LOAD Para1, &lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Doel as A&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;FROM&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;TEST_QV.xlsx&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;(ooxml, embedded labels, table is C);&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;Fact:&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;LOAD Nr, &lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Para1 AS P1, &lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Art As Art1,&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; If(Para1='B1',lookup('Doel','Para1',Para1,'Bron1'),'A')&amp;nbsp; AS Doel&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;FROM&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;TEST_QV.xlsx&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;(ooxml, embedded labels, table is A);&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;See the attached file and the result. &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 28 Feb 2013 14:12:54 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Load-Script-Using-Lookup-in-an-If-statement/m-p/393458#M696695</guid>
      <dc:creator />
      <dc:date>2013-02-28T14:12:54Z</dc:date>
    </item>
    <item>
      <title>Re: Load Script: Using Lookup() in an If statement</title>
      <link>https://community.qlik.com/t5/QlikView/Load-Script-Using-Lookup-in-an-If-statement/m-p/393459#M696696</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;It's certainly possible. However you renamed Doel to A in your first load, so the field Doel doesn't exist, but A does. Change your lookup accordingly. &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 28 Feb 2013 14:17:41 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Load-Script-Using-Lookup-in-an-If-statement/m-p/393459#M696696</guid>
      <dc:creator>Gysbert_Wassenaar</dc:creator>
      <dc:date>2013-02-28T14:17:41Z</dc:date>
    </item>
    <item>
      <title>Re: Load Script: Using Lookup() in an If statement</title>
      <link>https://community.qlik.com/t5/QlikView/Load-Script-Using-Lookup-in-an-If-statement/m-p/393460#M696697</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks a lot&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I was expecting that he would still look at the original name, but it works now! Sometimes you're almost there but just need a 2nd person to take out the last bug! &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 28 Feb 2013 14:24:35 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Load-Script-Using-Lookup-in-an-If-statement/m-p/393460#M696697</guid>
      <dc:creator />
      <dc:date>2013-02-28T14:24:35Z</dc:date>
    </item>
  </channel>
</rss>

