<?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: Mapping Load - Use the LAST Match in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Mapping-Load-Use-the-LAST-Match/m-p/906695#M1001664</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;EM&gt;MapOrigin:&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;Mapping Load &lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;[Appl No],&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;firstsortedvalue(distinct [Appl Origin Code],-[Decision Date])&amp;nbsp; as to&amp;nbsp;&amp;nbsp; &lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;From C:\Users\tenba1\Documents\QlikView\AppsQVD.qvd (qvd)&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;group by &lt;EM&gt;[Appl No]&lt;/EM&gt;;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; // this I need to sort from bottom to top &lt;/EM&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 04 Jun 2015 10:58:31 GMT</pubDate>
    <dc:creator>sgrice</dc:creator>
    <dc:date>2015-06-04T10:58:31Z</dc:date>
    <item>
      <title>Mapping Load - Use the LAST Match</title>
      <link>https://community.qlik.com/t5/QlikView/Mapping-Load-Use-the-LAST-Match/m-p/906687#M1001649</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;From what I can tell a Mapping Load works the same way as an Excel vLookup, where the ApplyMap used in the table will always find the first available match and then disregard any other matches.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I need it to use the very last match in the mapping table. How can I achieve that?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I think I need to sort the mapping table - I can do this using a field called [Decision Date] or I can use RowNo() and sort it descending - but I;m not sure how to do this - can someone please assist? Is there an opposite to First Sorted Value?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My current script looks something like this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;MapOrigin:&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;Mapping Load &lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;[Appl No],[Appl Origin Code]&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;From C:\Users\tenba1\Documents\QlikView\AppsQVD.qvd (qvd);&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; // this I need to sort from bottom to top using date or row&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;Table:&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;ApplyMap('MapOrigin', [Appl no], 'Branch App') As [Appl Origin Code]&lt;/EM&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 04 Jun 2015 08:29:22 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Mapping-Load-Use-the-LAST-Match/m-p/906687#M1001649</guid>
      <dc:creator>gerhardl</dc:creator>
      <dc:date>2015-06-04T08:29:22Z</dc:date>
    </item>
    <item>
      <title>Re: Mapping Load - Use the LAST Match</title>
      <link>https://community.qlik.com/t5/QlikView/Mapping-Load-Use-the-LAST-Match/m-p/906688#M1001650</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You can just load &lt;EM&gt;AppsQVD.qvd as normal table &lt;/EM&gt;- manipulate it (sort etc) then load it as&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&lt;STRONG&gt;mapping load&lt;/STRONG&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;EM&gt;...&lt;/EM&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&lt;STRONG&gt;resident tablename&lt;/STRONG&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&lt;STRONG&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;then&lt;STRONG&gt;&lt;EM&gt;&lt;BR /&gt;&lt;/EM&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;EM&gt;drop&lt;/EM&gt;&lt;/STRONG&gt; &lt;EM&gt;&lt;STRONG&gt;table&lt;/STRONG&gt;&lt;/EM&gt; &lt;EM&gt;&lt;STRONG&gt;tablename&lt;/STRONG&gt;&lt;/EM&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 04 Jun 2015 09:12:29 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Mapping-Load-Use-the-LAST-Match/m-p/906688#M1001650</guid>
      <dc:creator>hubertdudek</dc:creator>
      <dc:date>2015-06-04T09:12:29Z</dc:date>
    </item>
    <item>
      <title>Re: Mapping Load - Use the LAST Match</title>
      <link>https://community.qlik.com/t5/QlikView/Mapping-Load-Use-the-LAST-Match/m-p/906689#M1001652</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Gerhard&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What i would do is to create first a table Tmp&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Tmp_&lt;EM&gt;Origin:&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;Load &lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;[Appl No],[Appl Origin Code]&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;From C:\Users\tenba1\Documents\QlikView\AppsQVD.qvd (qvd)&amp;nbsp; &lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;order by date desc;&lt;BR /&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;MapOrigin:&lt;/P&gt;&lt;P&gt;&lt;EM&gt;Mapping Load &lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;[Appl No],[Appl Origin Code]&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;resident Tmp_Origin&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;where not exists (&lt;EM&gt;[Appl No]&lt;/EM&gt;);&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; // will disregard every record if &lt;EM&gt;[Appl No] exists already in the table&lt;/EM&gt;&lt;BR /&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;drop table Tmp_origin;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;Table:&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;ApplyMap('MapOrigin', [Appl no], 'Branch App') As [Appl Origin Code]&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;best regards&lt;/P&gt;&lt;P&gt;Chris&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 04 Jun 2015 09:20:17 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Mapping-Load-Use-the-LAST-Match/m-p/906689#M1001652</guid>
      <dc:creator />
      <dc:date>2015-06-04T09:20:17Z</dc:date>
    </item>
    <item>
      <title>Re: Mapping Load - Use the LAST Match</title>
      <link>https://community.qlik.com/t5/QlikView/Mapping-Load-Use-the-LAST-Match/m-p/906690#M1001654</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Chris,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I thought that I cannot use an Order By Clause on a "normal" table like from a QVD or file, and that it will only work on a resident table.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'll try both your and huber's suggestions - I just need to figure out the syntax for his.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 04 Jun 2015 09:26:27 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Mapping-Load-Use-the-LAST-Match/m-p/906690#M1001654</guid>
      <dc:creator>gerhardl</dc:creator>
      <dc:date>2015-06-04T09:26:27Z</dc:date>
    </item>
    <item>
      <title>Re: Mapping Load - Use the LAST Match</title>
      <link>https://community.qlik.com/t5/QlikView/Mapping-Load-Use-the-LAST-Match/m-p/906691#M1001656</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yes you're right,&lt;/P&gt;&lt;P&gt;you need an additional step to create a tmp table to load, then another one to sort&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;chris&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 04 Jun 2015 09:33:22 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Mapping-Load-Use-the-LAST-Match/m-p/906691#M1001656</guid>
      <dc:creator />
      <dc:date>2015-06-04T09:33:22Z</dc:date>
    </item>
    <item>
      <title>Re: Mapping Load - Use the LAST Match</title>
      <link>https://community.qlik.com/t5/QlikView/Mapping-Load-Use-the-LAST-Match/m-p/906692#M1001658</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Okay&amp;nbsp; I am almost there I think. This is my current script:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;EM&gt;Tmp_Origin:&lt;/EM&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&lt;STRONG&gt;Load&lt;/STRONG&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&lt;STRONG&gt;[Appl No],[Appl Origin Code],&amp;nbsp; [Decision Date] &lt;/STRONG&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&lt;STRONG&gt;From C:\Users\tenba1\Documents\QlikView\AppsQVD.qvd (qvd) ;&lt;/STRONG&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&lt;STRONG&gt;LOAD [Appl No], &lt;/STRONG&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&lt;STRONG&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; if([Appl Origin Code]='SA','SMS App', if([Appl Origin Code]='S1','SMS App (New)',if([Appl Origin Code]='BA','Branch App',if([Appl Origin Code]='WA','Customer Direct',if([Appl Origin Code]='PQ','Pre-Qualified',&lt;/STRONG&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&lt;STRONG&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; if([Appl Origin Code]='PA','Promotional App',if([Appl Origin Code]='P1','POS App',if([Appl Origin Code]='W1','Web App',[Appl Origin Code])))))))) as [Appl Origin Code],&lt;/STRONG&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&lt;STRONG&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Date(Date#( left( [Decision Date],11), 'DD-MMM-YYYY')) as [Decision Date]&lt;/STRONG&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&lt;STRONG&gt;FROM &lt;C&gt;&lt;/C&gt;&lt;/STRONG&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&lt;STRONG&gt;(txt, codepage is 1252, embedded labels, delimiter is '~', no quotes);&lt;/STRONG&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&lt;STRONG&gt; &lt;/STRONG&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&lt;STRONG&gt;&amp;nbsp;&amp;nbsp; &lt;/STRONG&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&lt;STRONG&gt;MapOrigin:&lt;/STRONG&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&lt;STRONG&gt;Mapping Load&lt;/STRONG&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&lt;STRONG&gt;[Appl No],[Appl Origin Code]&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/STRONG&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&lt;STRONG&gt;resident Tmp_Origin&lt;/STRONG&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&lt;STRONG&gt;Order By [Decision Date] desc;&lt;/STRONG&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&lt;STRONG&gt; &lt;/STRONG&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;EM&gt;drop table Tmp_origin;&lt;/EM&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I get the atatched error message that says "Table not Found. Drop Tables Statement" - but yet my data now seems to be correct after the load.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 04 Jun 2015 09:54:13 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Mapping-Load-Use-the-LAST-Match/m-p/906692#M1001658</guid>
      <dc:creator>gerhardl</dc:creator>
      <dc:date>2015-06-04T09:54:13Z</dc:date>
    </item>
    <item>
      <title>Re: Mapping Load - Use the LAST Match</title>
      <link>https://community.qlik.com/t5/QlikView/Mapping-Load-Use-the-LAST-Match/m-p/906693#M1001660</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;obviously table Statements doesn't exists anymore because :&lt;/P&gt;&lt;P&gt;- already dropped ?&lt;/P&gt;&lt;P&gt;- never created ?&lt;/P&gt;&lt;P&gt;- or has the same structure as a previous table, so records are loaded under an other table name&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;best regards&lt;/P&gt;&lt;P&gt;Chris&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 04 Jun 2015 09:58:53 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Mapping-Load-Use-the-LAST-Match/m-p/906693#M1001660</guid>
      <dc:creator />
      <dc:date>2015-06-04T09:58:53Z</dc:date>
    </item>
    <item>
      <title>Re: Mapping Load - Use the LAST Match</title>
      <link>https://community.qlik.com/t5/QlikView/Mapping-Load-Use-the-LAST-Match/m-p/906694#M1001662</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;What is obvious to you may not be as obvious to someone new at QV &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;- already dropped ?&amp;nbsp; &lt;SPAN style="color: #ff0000;"&gt;You can see from my script that I haven't dropped it.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;- never created ? &lt;SPAN style="color: #ff0000;"&gt;You can see from the attached image that it loaded and created.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;- or has the same structure as a previous table, so records are loaded under an other table name. &lt;SPAN style="color: #ff0000;"&gt;I'm not sure what this means but from my image you can also see that the second table (MapOrigin) is being created - it's the dropping of the temp table that fails.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;That is my entire load script up until the fail, so if there is an obvious error it would be great if you could help point it out.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 04 Jun 2015 10:41:07 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Mapping-Load-Use-the-LAST-Match/m-p/906694#M1001662</guid>
      <dc:creator>gerhardl</dc:creator>
      <dc:date>2015-06-04T10:41:07Z</dc:date>
    </item>
    <item>
      <title>Re: Mapping Load - Use the LAST Match</title>
      <link>https://community.qlik.com/t5/QlikView/Mapping-Load-Use-the-LAST-Match/m-p/906695#M1001664</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;EM&gt;MapOrigin:&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;Mapping Load &lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;[Appl No],&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;firstsortedvalue(distinct [Appl Origin Code],-[Decision Date])&amp;nbsp; as to&amp;nbsp;&amp;nbsp; &lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;From C:\Users\tenba1\Documents\QlikView\AppsQVD.qvd (qvd)&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;group by &lt;EM&gt;[Appl No]&lt;/EM&gt;;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; // this I need to sort from bottom to top &lt;/EM&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 04 Jun 2015 10:58:31 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Mapping-Load-Use-the-LAST-Match/m-p/906695#M1001664</guid>
      <dc:creator>sgrice</dc:creator>
      <dc:date>2015-06-04T10:58:31Z</dc:date>
    </item>
    <item>
      <title>Re: Mapping Load - Use the LAST Match</title>
      <link>https://community.qlik.com/t5/QlikView/Mapping-Load-Use-the-LAST-Match/m-p/906696#M1001666</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&amp;nbsp; if([Appl Origin Code]='SA','SMS App', if([Appl Origin Code]='S1','SMS App (New)',if([Appl Origin Code]='BA','Branch App',if([Appl Origin Code]='WA','Customer Direct',if([Appl Origin Code]='PQ','Pre-Qualified',&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&lt;STRONG&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; if([Appl Origin Code]='PA','Promotional App',if([Appl Origin Code]='P1','POS App',if([Appl Origin Code]='W1','Web App',[Appl Origin Code])))))))) as [Appl Origin Code],&lt;/STRONG&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&lt;STRONG&gt;will simplify to&lt;/STRONG&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;EM&gt;pick(match([Appl Origin Code],'SA','S1','BA','WA', 'PQ','PA','P1','W1'), 'SMS App','SMS App (New)' ,'Branch App' ,'Customer Direct','Pre-Qualified','Promotional App','POS App' ,'Web App') as&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; [Appl Origin Code],&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/EM&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 04 Jun 2015 11:10:25 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Mapping-Load-Use-the-LAST-Match/m-p/906696#M1001666</guid>
      <dc:creator>sgrice</dc:creator>
      <dc:date>2015-06-04T11:10:25Z</dc:date>
    </item>
    <item>
      <title>Re: Mapping Load - Use the LAST Match</title>
      <link>https://community.qlik.com/t5/QlikView/Mapping-Load-Use-the-LAST-Match/m-p/906697#M1001668</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;table name is case sensitive&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;EM&gt;Tmp_Origin&lt;/EM&gt;&lt;/STRONG&gt;&lt;EM&gt;:&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;a&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;1&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;drop table &lt;STRONG&gt;Tmp_origin&lt;/STRONG&gt;;&lt;/EM&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 04 Jun 2015 11:15:12 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Mapping-Load-Use-the-LAST-Match/m-p/906697#M1001668</guid>
      <dc:creator>maxgro</dc:creator>
      <dc:date>2015-06-04T11:15:12Z</dc:date>
    </item>
    <item>
      <title>Re: Mapping Load - Use the LAST Match</title>
      <link>https://community.qlik.com/t5/QlikView/Mapping-Load-Use-the-LAST-Match/m-p/906698#M1001669</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Stupid me - thsiw as the problem.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for everyone who helped.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 04 Jun 2015 11:47:30 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Mapping-Load-Use-the-LAST-Match/m-p/906698#M1001669</guid>
      <dc:creator>gerhardl</dc:creator>
      <dc:date>2015-06-04T11:47:30Z</dc:date>
    </item>
  </channel>
</rss>

