<?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: LOOKUP in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/LOOKUP/m-p/1000325#M340109</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Applymap() executes faster, and has a much easier syntax than Lookup(). (With Lookup() you often have problems getting the quotation marks right.)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Applymap() is less error-prone than a join. A join often duplicates records so that calculations return incorrect answers. This never happens with Applymap().&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;HIC&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 06 Oct 2015 06:37:55 GMT</pubDate>
    <dc:creator>hic</dc:creator>
    <dc:date>2015-10-06T06:37:55Z</dc:date>
    <item>
      <title>LOOKUP</title>
      <link>https://community.qlik.com/t5/QlikView/LOOKUP/m-p/1000319#M340103</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Experts,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have been using Qlikview for a while, however never used Lookup. I always prefer having joins for lookup.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I tried lookup but could not get the result. I tried below script to get [Emp Name] from table a in table band I want to know what wrong am I doing? &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in advance!!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;a:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;LOAD [Emp ID], &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; [Emp Name]&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;FROM&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;&lt;C&gt;&lt;/C&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;(ooxml, embedded labels, table is Sheet1);&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;NoConcatenate&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;b:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;LOAD [Emp ID], &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Location,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Lookup('[Emp Name]','[Emp ID]',[Emp ID],',a')as name&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;FROM&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;&lt;C&gt;&lt;/C&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;(ooxml, embedded labels, table is Sheet2);&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 05 Oct 2015 16:03:03 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/LOOKUP/m-p/1000319#M340103</guid>
      <dc:creator>kamal_sanguri</dc:creator>
      <dc:date>2015-10-05T16:03:03Z</dc:date>
    </item>
    <item>
      <title>Re: LOOKUP</title>
      <link>https://community.qlik.com/t5/QlikView/LOOKUP/m-p/1000320#M340104</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Applymap() is a better option: &lt;A href="https://community.qlik.com/qlik-blogpost/2756"&gt;Don't join - use Applymap instead&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;HIC&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;PS There is a comma too much in your Lookup() function and you use the wrong quotes. Try instead&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; Lookup('Emp Name','Emp ID',[Emp ID],'a') as name&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 05 Oct 2015 16:04:52 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/LOOKUP/m-p/1000320#M340104</guid>
      <dc:creator>hic</dc:creator>
      <dc:date>2015-10-05T16:04:52Z</dc:date>
    </item>
    <item>
      <title>Re: LOOKUP</title>
      <link>https://community.qlik.com/t5/QlikView/LOOKUP/m-p/1000321#M340105</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi kamal,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;try to use applymap:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.qlik.com/message/881924"&gt;ApplyMap question&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 05 Oct 2015 16:05:42 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/LOOKUP/m-p/1000321#M340105</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-10-05T16:05:42Z</dc:date>
    </item>
    <item>
      <title>Re: LOOKUP</title>
      <link>https://community.qlik.com/t5/QlikView/LOOKUP/m-p/1000322#M340106</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Perfect!! Thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 05 Oct 2015 16:35:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/LOOKUP/m-p/1000322#M340106</guid>
      <dc:creator>kamal_sanguri</dc:creator>
      <dc:date>2015-10-05T16:35:04Z</dc:date>
    </item>
    <item>
      <title>Re: LOOKUP</title>
      <link>https://community.qlik.com/t5/QlikView/LOOKUP/m-p/1000323#M340107</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;You suggested using Apply Map, I have one question-How it is better than join or lookup function?&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 05 Oct 2015 16:42:48 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/LOOKUP/m-p/1000323#M340107</guid>
      <dc:creator>kamal_sanguri</dc:creator>
      <dc:date>2015-10-05T16:42:48Z</dc:date>
    </item>
    <item>
      <title>Re: LOOKUP</title>
      <link>https://community.qlik.com/t5/QlikView/LOOKUP/m-p/1000324#M340108</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Kamal,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="margin-bottom: .0001pt; background: white;"&gt;&lt;SPAN style="font-size: 10.0pt; font-family: 'Arial','sans-serif';"&gt;There is no rule of a thumb that tells you when to use which function/ technique. You should always try what you think is best based on a given scenario. &lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-bottom: .0001pt; background: white;"&gt;&lt;SPAN style="font-size: 10.0pt; font-family: 'Arial','sans-serif';"&gt;It all depends on how large is your data sets you want to combine. A JOIN is very flexible / powerful but also a resource intensive. Mapping tables are extremely fast but you won't experience any improvement on small data sets. Usually QlikView developers tend to prefer Applymap to any JOIN simply because of its efficiency. When a document has to be reloaded in a densely populated QDS environment, every second and every MB saved is crucial for achieving optimal performance.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;UL style="list-style-type: disc;"&gt;&lt;LI&gt;&lt;SPAN style="font-size: 10.0pt; font-family: 'Arial','sans-serif';"&gt;Avoid JOINs, especially on large data sets. You can knock out your server with an audacious JOIN, often leading to the dreaded "General Script Error".&lt;/SPAN&gt;&lt;/LI&gt;&lt;LI&gt;&lt;SPAN style="font-size: 10.0pt; font-family: 'Arial','sans-serif';"&gt;Use Applymap() for translations and mapping of single fields, or multiple Mapping tables for multiple fields in large data sets. Applymap() it is very faster than Lookup().&lt;/SPAN&gt;&lt;/LI&gt;&lt;LI&gt;&lt;SPAN style="font-size: 10.0pt; font-family: 'Arial','sans-serif';"&gt;Advantage of Lookup () is flexible, Use Lookup () if you want to get values from different columns in an previously (Existing) loaded table. It's not as fast as Applymap() but way faster in many cases than a Join.&lt;/SPAN&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 06 Oct 2015 05:42:10 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/LOOKUP/m-p/1000324#M340108</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-10-06T05:42:10Z</dc:date>
    </item>
    <item>
      <title>Re: LOOKUP</title>
      <link>https://community.qlik.com/t5/QlikView/LOOKUP/m-p/1000325#M340109</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Applymap() executes faster, and has a much easier syntax than Lookup(). (With Lookup() you often have problems getting the quotation marks right.)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Applymap() is less error-prone than a join. A join often duplicates records so that calculations return incorrect answers. This never happens with Applymap().&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;HIC&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 06 Oct 2015 06:37:55 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/LOOKUP/m-p/1000325#M340109</guid>
      <dc:creator>hic</dc:creator>
      <dc:date>2015-10-06T06:37:55Z</dc:date>
    </item>
  </channel>
</rss>

