<?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: Look Up Function in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Apply-Map-Function-Not-an-Inline-Load-2-fields/m-p/813704#M287048</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;So essential I am just flagging duplicates of Client ID numbers&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 16 Mar 2015 18:33:06 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2015-03-16T18:33:06Z</dc:date>
    <item>
      <title>Apply Map Function (Not an Inline Load - 2 fields)</title>
      <link>https://community.qlik.com/t5/QlikView/Apply-Map-Function-Not-an-Inline-Load-2-fields/m-p/813699#M287043</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hey Community,&lt;/P&gt;&lt;P&gt;So here is the scenario:&lt;/P&gt;&lt;P&gt;I am developing App "New Clientele" and a list of client IDs. I have a previous app called "Business History." The client wants to use client IDs from the Business History app as a look up against client IDs from the "New Clientele" app so the business can have a yes or no flag if clients in the &lt;SPAN style="font-size: 13.3333330154419px;"&gt; "New Clientele" already have a order history in the "Business History" app. So all in all, I need some type of look up function for two sets of data to make a yes or no flag.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333330154419px;"&gt;So essentially I need a flag (Y/N) for duplicates in two different fields not Inline.&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333330154419px;"&gt;Thanks a lot,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Rocco&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 16 Mar 2015 18:14:21 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Apply-Map-Function-Not-an-Inline-Load-2-fields/m-p/813699#M287043</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-03-16T18:14:21Z</dc:date>
    </item>
    <item>
      <title>Re: Look Up Function</title>
      <link>https://community.qlik.com/t5/QlikView/Apply-Map-Function-Not-an-Inline-Load-2-fields/m-p/813700#M287044</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Sounds like a candidate for a Mapping Load and the ApplyMap() function.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This Technical Brief &lt;A href="https://community.qlik.com/docs/DOC-3412"&gt;Joins and Lookups&lt;/A&gt; explains ApplyMaps(), plus some other options.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 16 Mar 2015 18:19:14 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Apply-Map-Function-Not-an-Inline-Load-2-fields/m-p/813700#M287044</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-03-16T18:19:14Z</dc:date>
    </item>
    <item>
      <title>Re: Look Up Function</title>
      <link>https://community.qlik.com/t5/QlikView/Apply-Map-Function-Not-an-Inline-Load-2-fields/m-p/813701#M287045</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You can't (as far as I am aware) look up directly from one QVW to another (as you might be able to in a relational database, even something like MS Access) after it has been loaded.&lt;/P&gt;&lt;P&gt;An option (presuming you still have control over it) is when your "Business History" application is executed it could include an export to a QVD of the data you need (you would need to put into a table first, then drop the table). You then pick that data up as a source QVD for "New Clientele" application, populating your yes/no flag.&lt;/P&gt;&lt;P&gt;You are creating a dependency between the two applications which you would need to make transparent and if that is a problem you could go back to the source of "Business History" data and work out from that what it means to be included in the final model with the and incorporate that into "New Clientele" (if it is straight forward).&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 16 Mar 2015 18:23:50 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Apply-Map-Function-Not-an-Inline-Load-2-fields/m-p/813701#M287045</guid>
      <dc:creator>chrismarlow</dc:creator>
      <dc:date>2015-03-16T18:23:50Z</dc:date>
    </item>
    <item>
      <title>Re: Look Up Function</title>
      <link>https://community.qlik.com/t5/QlikView/Apply-Map-Function-Not-an-Inline-Load-2-fields/m-p/813702#M287046</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;if you can modify Business History, at the end add a NewTable; pseudo code&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;NewTable:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;load clientid, count(orderhistory) as countorderhistory&lt;/P&gt;&lt;P&gt;resident orderehistorytable&lt;/P&gt;&lt;P&gt;group by clientid;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;store NewTable in qvd&lt;/P&gt;&lt;P&gt;drop newtable&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;in &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13.3333330154419px;"&gt;New Clientele load the qvd&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 16 Mar 2015 18:23:56 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Apply-Map-Function-Not-an-Inline-Load-2-fields/m-p/813702#M287046</guid>
      <dc:creator>maxgro</dc:creator>
      <dc:date>2015-03-16T18:23:56Z</dc:date>
    </item>
    <item>
      <title>Re: Look Up Function</title>
      <link>https://community.qlik.com/t5/QlikView/Apply-Map-Function-Not-an-Inline-Load-2-fields/m-p/813703#M287047</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I can pull the qvd from either or qvw and build the relationship through the script. I just have never used the Apply Map in this instance. Can someone present an example?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 16 Mar 2015 18:28:13 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Apply-Map-Function-Not-an-Inline-Load-2-fields/m-p/813703#M287047</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-03-16T18:28:13Z</dc:date>
    </item>
    <item>
      <title>Re: Look Up Function</title>
      <link>https://community.qlik.com/t5/QlikView/Apply-Map-Function-Not-an-Inline-Load-2-fields/m-p/813704#M287048</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;So essential I am just flagging duplicates of Client ID numbers&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 16 Mar 2015 18:33:06 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Apply-Map-Function-Not-an-Inline-Load-2-fields/m-p/813704#M287048</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-03-16T18:33:06Z</dc:date>
    </item>
    <item>
      <title>Re: Look Up Function</title>
      <link>https://community.qlik.com/t5/QlikView/Apply-Map-Function-Not-an-Inline-Load-2-fields/m-p/813705#M287049</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Maybe something like :&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&lt;EM&gt;FlagMap:&lt;/EM&gt;&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&lt;EM&gt;Mapping Load&lt;/EM&gt;&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&lt;EM&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; HistoryClientID ,&lt;/EM&gt;&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&lt;EM&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; 'Yes'&amp;nbsp;&amp;nbsp;&amp;nbsp; as DuplicateFlag&lt;/EM&gt;&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&lt;EM&gt;from History.qvd&amp;nbsp; (qvd) ;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Then when you loading the other data, add an ApplyMap something like this :&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&lt;EM&gt;ApplyMap ( 'FlagMap' , ClientID , 'No' )&amp;nbsp;&amp;nbsp;&amp;nbsp; as&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/EM&gt;&lt;EM style="font-size: 13.3333330154419px;"&gt;DuplicateFlag ,&lt;/EM&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 16 Mar 2015 18:48:22 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Apply-Map-Function-Not-an-Inline-Load-2-fields/m-p/813705#M287049</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-03-16T18:48:22Z</dc:date>
    </item>
  </channel>
</rss>

