<?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 or matching function in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Lookup-or-matching-function/m-p/257851#M1182583</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have attached two files.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What I want for qlik, is for it to look up the Ids in look.xlsx in master.xlsx, and return the value for each of f1,f2,f3,f4.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The original DB isn't contained in excel format and is about 100.000 lines, why a simple lookup function in excel is way to time consuming.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;/Rune&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 25 Nov 2011 19:22:25 GMT</pubDate>
    <dc:creator />
    <dc:date>2011-11-25T19:22:25Z</dc:date>
    <item>
      <title>Lookup or matching function</title>
      <link>https://community.qlik.com/t5/QlikView/Lookup-or-matching-function/m-p/257849#M1182581</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I would like to know whether it is possible, and how, to lookup values or text.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What i am specifically lookin for, is a way to load an excel file or such, with a list of ids, lets call them 1,2,3,4. &lt;/P&gt;&lt;P&gt;Qv is then to look in a masterdatabase for these ids, and for each id return a list of subfunctions specified in the masterdb.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Pease let me know if you need more info. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;/Rune&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 25 Nov 2011 16:55:17 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Lookup-or-matching-function/m-p/257849#M1182581</guid>
      <dc:creator />
      <dc:date>2011-11-25T16:55:17Z</dc:date>
    </item>
    <item>
      <title>Lookup or matching function</title>
      <link>https://community.qlik.com/t5/QlikView/Lookup-or-matching-function/m-p/257850#M1182582</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;It probably depends on your concrete data model and what you want to achieve, I can think of at least 3 functions / methods that may help you:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1) Check out the lookup() function in the help, though this is probably not what you want.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2) You could use a mapping table (Check out Mapping Load and applymap() function in the help).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;These two ideas are more for 1:1 relations, if you want to have 1:n relationship (1 function to n subfunctions), you could also just load the two tables (your index table and the master table, and link both using the index).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So an actually lookup will be performed during runtime dependent on the selection on this index field.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you could post a small sample (just some lines) of your data and what the expected outcome is, I believe someone here in the forum is able to help you pretty fast.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Stefan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 25 Nov 2011 18:18:06 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Lookup-or-matching-function/m-p/257850#M1182582</guid>
      <dc:creator>swuehl</dc:creator>
      <dc:date>2011-11-25T18:18:06Z</dc:date>
    </item>
    <item>
      <title>Re: Lookup or matching function</title>
      <link>https://community.qlik.com/t5/QlikView/Lookup-or-matching-function/m-p/257851#M1182583</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have attached two files.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What I want for qlik, is for it to look up the Ids in look.xlsx in master.xlsx, and return the value for each of f1,f2,f3,f4.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The original DB isn't contained in excel format and is about 100.000 lines, why a simple lookup function in excel is way to time consuming.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;/Rune&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 25 Nov 2011 19:22:25 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Lookup-or-matching-function/m-p/257851#M1182583</guid>
      <dc:creator />
      <dc:date>2011-11-25T19:22:25Z</dc:date>
    </item>
    <item>
      <title>Lookup or matching function</title>
      <link>https://community.qlik.com/t5/QlikView/Lookup-or-matching-function/m-p/257852#M1182584</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I think you could just use something like&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;LOOK:&lt;/P&gt;&lt;P&gt;LOAD ID&lt;/P&gt;&lt;P&gt;FROM&lt;/P&gt;&lt;P&gt;Look.xlsx&lt;/P&gt;&lt;P&gt;(ooxml, embedded labels, table is Sheet1);&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;MASTER:&lt;/P&gt;&lt;P&gt;LOAD ID,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; F1,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; F2,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; F3,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; F4&lt;/P&gt;&lt;P&gt;FROM&lt;/P&gt;&lt;P&gt;MASTER.xlsx&lt;/P&gt;&lt;P&gt;(ooxml, embedded labels, table is Sheet1) &lt;STRONG&gt;where Exists(ID);&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;or directly join the second load:&lt;/P&gt;&lt;P&gt;LOOK:&lt;/P&gt;&lt;P&gt;LOAD ID&lt;/P&gt;&lt;P&gt;FROM&lt;/P&gt;&lt;P&gt;Look.xlsx&lt;/P&gt;&lt;P&gt;(ooxml, embedded labels, table is Sheet1);&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;MASTER:&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Left Join (LOOK)&lt;/STRONG&gt; LOAD ID,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; F1,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; F2,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; F3,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; F4&lt;/P&gt;&lt;P&gt;FROM&lt;/P&gt;&lt;P&gt;MASTER.xlsx&lt;/P&gt;&lt;P&gt;(ooxml, embedded labels, table is Sheet1) &lt;STRONG&gt;where Exists(ID);&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; Regards,&lt;/P&gt;&lt;P&gt;Stefan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 26 Nov 2011 16:25:29 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Lookup-or-matching-function/m-p/257852#M1182584</guid>
      <dc:creator>swuehl</dc:creator>
      <dc:date>2011-11-26T16:25:29Z</dc:date>
    </item>
  </channel>
</rss>

