<?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/946730#M326050</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;SPAN style="font-family: inherit; font-weight: inherit;"&gt;if you want the flag in t1&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;t1:&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;load * inline [&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;field1, field11&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;a,1&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;b,2&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;c,3&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;];&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt; &lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;t2:&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;load * inline [&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;field1, field22&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;a,1&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;c,3&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;d,4&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;];&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;map: Mapping LOAD field1, 1 Resident t2;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;left join (t1)&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;load field1, ApplyMap('map', field1, 0) as flag&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;Resident t1;&lt;/EM&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 19 Aug 2015 12:15:54 GMT</pubDate>
    <dc:creator>maxgro</dc:creator>
    <dc:date>2015-08-19T12:15:54Z</dc:date>
    <item>
      <title>lookup</title>
      <link>https://community.qlik.com/t5/QlikView/lookup/m-p/946725#M326045</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;If i want to do a lookup on the primary key in another table and if the value is matching I want to display flag = 1 or flag =0.&lt;/P&gt;&lt;P&gt;Can someone help me how to do this.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Updated the post with an example. But lookup doesnt seem to work here...can someone help me whats wrong in it?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 18 Aug 2015 17:55:57 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/lookup/m-p/946725#M326045</guid>
      <dc:creator>rdsuperlike</dc:creator>
      <dc:date>2015-08-18T17:55:57Z</dc:date>
    </item>
    <item>
      <title>Re: lookup</title>
      <link>https://community.qlik.com/t5/QlikView/lookup/m-p/946726#M326046</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Please Provide sample application and requirements in detail&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 18 Aug 2015 18:16:43 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/lookup/m-p/946726#M326046</guid>
      <dc:creator>sasiparupudi1</dc:creator>
      <dc:date>2015-08-18T18:16:43Z</dc:date>
    </item>
    <item>
      <title>Re: lookup</title>
      <link>https://community.qlik.com/t5/QlikView/lookup/m-p/946727#M326047</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;in script?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;// test tables t1 t2&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;t1:&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;load * inline [&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;field1, field11&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;a,1&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;b,2&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;c,3&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;];&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;t2:&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;load * inline [&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;field1, field22&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;a,1&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;c,3&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;d,4&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;];&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;// calc flag&lt;/P&gt;&lt;P&gt;&lt;EM&gt;map: &lt;/EM&gt;&lt;EM&gt;Mapping LOAD field1, 1 Resident t1;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;left join (t2) &lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;load field1, ApplyMap('map', field1, 0) as flag&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;Resident t2;&lt;/EM&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 18 Aug 2015 18:18:46 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/lookup/m-p/946727#M326047</guid>
      <dc:creator>maxgro</dc:creator>
      <dc:date>2015-08-18T18:18:46Z</dc:date>
    </item>
    <item>
      <title>Re: lookup</title>
      <link>https://community.qlik.com/t5/QlikView/lookup/m-p/946728#M326048</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;yes.in the script.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I want to do the other way. want to see flag values in t1.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 18 Aug 2015 19:27:38 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/lookup/m-p/946728#M326048</guid>
      <dc:creator>rdsuperlike</dc:creator>
      <dc:date>2015-08-18T19:27:38Z</dc:date>
    </item>
    <item>
      <title>Re: lookup</title>
      <link>https://community.qlik.com/t5/QlikView/lookup/m-p/946729#M326049</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;posted&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 18 Aug 2015 21:20:13 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/lookup/m-p/946729#M326049</guid>
      <dc:creator>rdsuperlike</dc:creator>
      <dc:date>2015-08-18T21:20:13Z</dc:date>
    </item>
    <item>
      <title>Re: lookup</title>
      <link>https://community.qlik.com/t5/QlikView/lookup/m-p/946730#M326050</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;SPAN style="font-family: inherit; font-weight: inherit;"&gt;if you want the flag in t1&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;t1:&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;load * inline [&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;field1, field11&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;a,1&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;b,2&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;c,3&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;];&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt; &lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;t2:&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;load * inline [&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;field1, field22&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;a,1&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;c,3&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;d,4&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;];&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;map: Mapping LOAD field1, 1 Resident t2;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;left join (t1)&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;load field1, ApplyMap('map', field1, 0) as flag&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;Resident t1;&lt;/EM&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 19 Aug 2015 12:15:54 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/lookup/m-p/946730#M326050</guid>
      <dc:creator>maxgro</dc:creator>
      <dc:date>2015-08-19T12:15:54Z</dc:date>
    </item>
    <item>
      <title>Re: lookup</title>
      <link>https://community.qlik.com/t5/QlikView/lookup/m-p/946731#M326051</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;My tables t1 and t2 are really huge. &lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;due to the left join, i&lt;/SPAN&gt;ts creating duplicate records in the qvds that I am storing t1 and t2 into .&lt;/P&gt;&lt;P&gt;If i chnage it to left keep the qvd shows unique records and is proper..but it generates map table in the model which is not required.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If i use Drop table map; &lt;/P&gt;&lt;P&gt;at the end after using keep, it drops flag field....any solution here?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;EM style="font-weight: inherit; font-family: inherit;"&gt;1:&lt;/EM&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;EM style="font-weight: inherit; font-family: inherit;"&gt;load * inline [&lt;/EM&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;EM style="font-weight: inherit; font-family: inherit;"&gt;field1, field11&lt;/EM&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;EM style="font-weight: inherit; font-family: inherit;"&gt;a,1&lt;/EM&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;EM style="font-weight: inherit; font-family: inherit;"&gt;b,2&lt;/EM&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;EM style="font-weight: inherit; font-family: inherit;"&gt;c,3&lt;/EM&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;EM style="font-weight: inherit; font-family: inherit;"&gt;];&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;EM style="font-weight: inherit; font-family: inherit;"&gt;t2:&lt;/EM&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;EM style="font-weight: inherit; font-family: inherit;"&gt;load * inline [&lt;/EM&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;EM style="font-weight: inherit; font-family: inherit;"&gt;field1, field22&lt;/EM&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;EM style="font-weight: inherit; font-family: inherit;"&gt;a,1&lt;/EM&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;EM style="font-weight: inherit; font-family: inherit;"&gt;c,3&lt;/EM&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;EM style="font-weight: inherit; font-family: inherit;"&gt;d,4&lt;/EM&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;EM style="font-weight: inherit; font-family: inherit;"&gt;];&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;EM style="font-weight: inherit; font-family: inherit;"&gt;map: Mapping LOAD field1, 1 Resident t2;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;EM style="font-weight: inherit; font-family: inherit;"&gt;left keep (t1)&lt;/EM&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;EM style="font-weight: inherit; font-family: inherit;"&gt;load field1, ApplyMap('map', field1, 0) as flag&lt;/EM&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;EM style="font-weight: inherit; font-family: inherit;"&gt;Resident t1;&lt;/EM&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 15 Sep 2015 23:09:30 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/lookup/m-p/946731#M326051</guid>
      <dc:creator>rdsuperlike</dc:creator>
      <dc:date>2015-09-15T23:09:30Z</dc:date>
    </item>
  </channel>
</rss>

