<?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 Lookup() function not working as expected. in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Lookup-function-not-working-as-expected/m-p/209836#M1208441</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;If I run the following code it produces an error. Field not found &amp;lt;descr&amp;gt;. It appears the table argument in the lookup function is being ignored. Am i doing something wrong?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;[]&lt;/P&gt;&lt;P&gt;t1:&lt;BR /&gt;LOAD * INLINE [&lt;BR /&gt; index,descr&lt;BR /&gt; 1,'Active'&lt;BR /&gt;];&lt;/P&gt;&lt;P&gt;t2:&lt;BR /&gt;LOAD * INLINE [&lt;BR /&gt; ProdCode, Status_index&lt;BR /&gt; D456785,1&lt;BR /&gt;];&lt;/P&gt;&lt;P&gt;t3:&lt;BR /&gt;LOAD *,&lt;BR /&gt; LOOKUP(descr,index,'1','t1') as Satus_descr&lt;BR /&gt; RESIDENT t2&lt;/P&gt;&lt;P style="margin: 0cm 0cm 0pt;"&gt;&lt;/P&gt;&lt;P&gt;[/]&lt;/P&gt;&lt;P&gt;Mark&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 26 Jan 2010 22:49:36 GMT</pubDate>
    <dc:creator />
    <dc:date>2010-01-26T22:49:36Z</dc:date>
    <item>
      <title>Lookup() function not working as expected.</title>
      <link>https://community.qlik.com/t5/QlikView/Lookup-function-not-working-as-expected/m-p/209836#M1208441</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;If I run the following code it produces an error. Field not found &amp;lt;descr&amp;gt;. It appears the table argument in the lookup function is being ignored. Am i doing something wrong?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;[]&lt;/P&gt;&lt;P&gt;t1:&lt;BR /&gt;LOAD * INLINE [&lt;BR /&gt; index,descr&lt;BR /&gt; 1,'Active'&lt;BR /&gt;];&lt;/P&gt;&lt;P&gt;t2:&lt;BR /&gt;LOAD * INLINE [&lt;BR /&gt; ProdCode, Status_index&lt;BR /&gt; D456785,1&lt;BR /&gt;];&lt;/P&gt;&lt;P&gt;t3:&lt;BR /&gt;LOAD *,&lt;BR /&gt; LOOKUP(descr,index,'1','t1') as Satus_descr&lt;BR /&gt; RESIDENT t2&lt;/P&gt;&lt;P style="margin: 0cm 0cm 0pt;"&gt;&lt;/P&gt;&lt;P&gt;[/]&lt;/P&gt;&lt;P&gt;Mark&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 26 Jan 2010 22:49:36 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Lookup-function-not-working-as-expected/m-p/209836#M1208441</guid>
      <dc:creator />
      <dc:date>2010-01-26T22:49:36Z</dc:date>
    </item>
    <item>
      <title>Lookup() function not working as expected.</title>
      <link>https://community.qlik.com/t5/QlikView/Lookup-function-not-working-as-expected/m-p/209837#M1208442</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You need single quotes around the field names in the lookup() function. I'm not saying I &lt;EM&gt;agree&lt;/EM&gt; with this syntax, mind you, just that it is what it is. Also, since index is a numeric literal, I don't think it shoudl have single quotes. So I'm hoping this works?&lt;/P&gt;&lt;P style="padding-left:30px;"&gt;lookup('descr','index',1,'t1')&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 26 Jan 2010 23:52:38 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Lookup-function-not-working-as-expected/m-p/209837#M1208442</guid>
      <dc:creator>johnw</dc:creator>
      <dc:date>2010-01-26T23:52:38Z</dc:date>
    </item>
    <item>
      <title>Lookup() function not working as expected.</title>
      <link>https://community.qlik.com/t5/QlikView/Lookup-function-not-working-as-expected/m-p/209838#M1208443</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 27 Jan 2010 00:05:52 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Lookup-function-not-working-as-expected/m-p/209838#M1208443</guid>
      <dc:creator />
      <dc:date>2010-01-27T00:05:52Z</dc:date>
    </item>
  </channel>
</rss>

