<?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 Function in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Lookup-Function/m-p/727347#M1082064</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN class="Code"&gt;Hi Sunny,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="Code"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="Code"&gt;Try: &lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;&lt;STRONG&gt;If(exists(Cityname, place)=-1,'Yes','No') As FieldName&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;Best Regards,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;Nilo&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 07 Jul 2014 16:40:43 GMT</pubDate>
    <dc:creator>nilo_pontes</dc:creator>
    <dc:date>2014-07-07T16:40:43Z</dc:date>
    <item>
      <title>Lookup Function</title>
      <link>https://community.qlik.com/t5/QlikView/Lookup-Function/m-p/727346#M1082063</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 want to apply lookup and check if field is already added in above table. Please see the details below.&amp;nbsp; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style=": ; color: #0000ff; font-size: 8pt;"&gt;LOAD&lt;/STRONG&gt;&lt;SPAN style="font-size: 8pt;"&gt; * &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;INLINE&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;[&lt;BR /&gt;Cityname&lt;BR /&gt; Delhi,&lt;BR /&gt; Pune,&lt;BR /&gt; Bihar,&lt;BR /&gt;]&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style=": ; color: #0000ff; font-size: 8pt;"&gt;Directory&lt;/STRONG&gt;&lt;SPAN style="font-size: 8pt;"&gt;;&lt;BR /&gt;&lt;/SPAN&gt;&lt;STRONG style=": ; color: #0000ff; font-size: 8pt;"&gt;LOAD&lt;/STRONG&gt;&lt;SPAN style="font-size: 8pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;place&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;,&lt;BR /&gt;' here i want to add new field yes or no. if place exists in citynames(in above table) return yes else no&amp;nbsp; &lt;BR /&gt;FROM&lt;BR /&gt;[..\..\sample data.xlsx]&lt;BR /&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;Can anyone please help me to add the expression in load syntax?&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 07 Jul 2014 16:34:36 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Lookup-Function/m-p/727346#M1082063</guid>
      <dc:creator />
      <dc:date>2014-07-07T16:34:36Z</dc:date>
    </item>
    <item>
      <title>Re: Lookup Function</title>
      <link>https://community.qlik.com/t5/QlikView/Lookup-Function/m-p/727347#M1082064</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN class="Code"&gt;Hi Sunny,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="Code"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="Code"&gt;Try: &lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;&lt;STRONG&gt;If(exists(Cityname, place)=-1,'Yes','No') As FieldName&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;Best Regards,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;Nilo&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 07 Jul 2014 16:40:43 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Lookup-Function/m-p/727347#M1082064</guid>
      <dc:creator>nilo_pontes</dc:creator>
      <dc:date>2014-07-07T16:40:43Z</dc:date>
    </item>
    <item>
      <title>Re: Lookup Function</title>
      <link>https://community.qlik.com/t5/QlikView/Lookup-Function/m-p/727348#M1082065</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Try to load your table like see below small example&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;T1:&lt;/P&gt;&lt;P&gt;LOAD * INLINE [&lt;/P&gt;&lt;P&gt;Cityname&lt;/P&gt;&lt;P&gt;Delhi,&lt;/P&gt;&lt;P&gt;Pune,&lt;/P&gt;&lt;P&gt;Bihar ];&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;T2:&lt;/P&gt;&lt;P&gt;LOAD * Inline [&lt;/P&gt;&lt;P&gt;place&lt;/P&gt;&lt;P&gt;Delhi&lt;/P&gt;&lt;P&gt;Pune&lt;/P&gt;&lt;P&gt;India ];&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;New:&lt;/P&gt;&lt;P&gt;LOAD&lt;/P&gt;&lt;P&gt;Cityname as City_name&lt;/P&gt;&lt;P&gt;Resident T1;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Inner Join&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;LOAD&lt;/P&gt;&lt;P&gt;place as City_name,&lt;/P&gt;&lt;P&gt;'Y' as Flag&lt;/P&gt;&lt;P&gt;Resident T2;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Concatenate&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;LOAD&lt;/P&gt;&lt;P&gt;place as City_name,&lt;/P&gt;&lt;P&gt;'N' as Flag&lt;/P&gt;&lt;P&gt;Resident T2 Where Not Exists(City_name,place);&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Then you get output as&lt;/P&gt;&lt;P&gt;&lt;IMG alt="OP.png" class="jive-image" src="https://community.qlik.com/legacyfs/online/61881_OP.png" /&gt;&lt;/P&gt;&lt;P&gt;Hope this helps&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 07 Jul 2014 17:09:52 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Lookup-Function/m-p/727348#M1082065</guid>
      <dc:creator>its_anandrjs</dc:creator>
      <dc:date>2014-07-07T17:09:52Z</dc:date>
    </item>
    <item>
      <title>Re: Lookup Function</title>
      <link>https://community.qlik.com/t5/QlikView/Lookup-Function/m-p/727349#M1082066</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Nilo has it!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 07 Jul 2014 17:28:00 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Lookup-Function/m-p/727349#M1082066</guid>
      <dc:creator>martynlloyd</dc:creator>
      <dc:date>2014-07-07T17:28:00Z</dc:date>
    </item>
    <item>
      <title>Re: Lookup Function</title>
      <link>https://community.qlik.com/t5/QlikView/Lookup-Function/m-p/727350#M1082067</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi Nilo,&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Many thanks for your help.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is it possible to get the count as well?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 09 Jul 2014 15:47:12 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Lookup-Function/m-p/727350#M1082067</guid>
      <dc:creator />
      <dc:date>2014-07-09T15:47:12Z</dc:date>
    </item>
    <item>
      <title>Re: Lookup Function</title>
      <link>https://community.qlik.com/t5/QlikView/Lookup-Function/m-p/727351#M1082068</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Sunny, you're welcome.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;Do you want &lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;count how many 'yes'es and 'no's you've got &lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;after load?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In this case you can create a pie chart or a straight table and count(FieldName).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Nilo&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 09 Jul 2014 16:37:00 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Lookup-Function/m-p/727351#M1082068</guid>
      <dc:creator>nilo_pontes</dc:creator>
      <dc:date>2014-07-09T16:37:00Z</dc:date>
    </item>
  </channel>
</rss>

