<?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 ApplyMap basic question in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/ApplyMap-basic-question/m-p/840412#M1013659</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hiya,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This is the first time I want to make use of ApplyMap instead of a JOIN. Below you can see I made up a table containing &lt;EM&gt;aircraftno_i and ac_registr&lt;/EM&gt;. However there is no relation defined between these fields.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG __jive_id="83738" alt="mappingvraag.png" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/83738_mappingvraag.png" style="height: auto;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The relation is defined in the "aircraft" table:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Aircraft:&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;LOAD ac_registr,&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; ac_typ,&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; aircraftno_i&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;FROM DataBase.aircraft;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But I dont want to insert this table or make it join,I want to use the mapping function.&lt;/P&gt;&lt;P&gt;&lt;SPAN style="text-decoration: underline;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="text-decoration: underline;"&gt;So now I want to map this ac_regsistr to aircraftno_i:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;MapAircraftno2Ac_registr:&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Mapping Load aircraftno_i, ac_registr FROM (&lt;/STRONG&gt;&lt;SPAN style="color: #ff0000;"&gt;HERE IS MY ISSUE&lt;/SPAN&gt;&lt;STRONG&gt;);&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="text-decoration: underline;"&gt;So that I can ApplyMap in the MSC_MASTER table:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;ApplyMap('MapAircraftno2Ac_registr', aircraftno_i, null()) as ac_registr,&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My question is as follows, what do I input in the red marked area? I cannot select the "aircraft" table which contains the relation because I dont want it in my&amp;nbsp; model (it would create syntetic table), I only want it to look up in that table.&lt;/P&gt;&lt;P&gt;Anyone?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 15 Apr 2015 13:27:57 GMT</pubDate>
    <dc:creator />
    <dc:date>2015-04-15T13:27:57Z</dc:date>
    <item>
      <title>ApplyMap basic question</title>
      <link>https://community.qlik.com/t5/QlikView/ApplyMap-basic-question/m-p/840412#M1013659</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hiya,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This is the first time I want to make use of ApplyMap instead of a JOIN. Below you can see I made up a table containing &lt;EM&gt;aircraftno_i and ac_registr&lt;/EM&gt;. However there is no relation defined between these fields.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG __jive_id="83738" alt="mappingvraag.png" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/83738_mappingvraag.png" style="height: auto;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The relation is defined in the "aircraft" table:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Aircraft:&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;LOAD ac_registr,&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; ac_typ,&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; aircraftno_i&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;FROM DataBase.aircraft;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But I dont want to insert this table or make it join,I want to use the mapping function.&lt;/P&gt;&lt;P&gt;&lt;SPAN style="text-decoration: underline;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="text-decoration: underline;"&gt;So now I want to map this ac_regsistr to aircraftno_i:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;MapAircraftno2Ac_registr:&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Mapping Load aircraftno_i, ac_registr FROM (&lt;/STRONG&gt;&lt;SPAN style="color: #ff0000;"&gt;HERE IS MY ISSUE&lt;/SPAN&gt;&lt;STRONG&gt;);&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="text-decoration: underline;"&gt;So that I can ApplyMap in the MSC_MASTER table:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;ApplyMap('MapAircraftno2Ac_registr', aircraftno_i, null()) as ac_registr,&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My question is as follows, what do I input in the red marked area? I cannot select the "aircraft" table which contains the relation because I dont want it in my&amp;nbsp; model (it would create syntetic table), I only want it to look up in that table.&lt;/P&gt;&lt;P&gt;Anyone?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Apr 2015 13:27:57 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/ApplyMap-basic-question/m-p/840412#M1013659</guid>
      <dc:creator />
      <dc:date>2015-04-15T13:27:57Z</dc:date>
    </item>
    <item>
      <title>Re: ApplyMap basic question</title>
      <link>https://community.qlik.com/t5/QlikView/ApplyMap-basic-question/m-p/840413#M1013660</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;STRONG style="font-style: inherit; font-family: inherit;"&gt;MapAircraftno2Ac_registr:&lt;/STRONG&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;STRONG style="font-style: inherit; font-family: inherit;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Mapping Load aircraftno_i, ac_registr FROM (&lt;/STRONG&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-family: inherit; color: #ff0000;"&gt;HERE IS MY ISSUE&lt;/SPAN&gt;&lt;STRONG style="font-style: inherit; font-family: inherit;"&gt;);&lt;/STRONG&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;STRONG style="font-style: inherit; font-family: inherit;"&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;That will be your data source.&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Mapping table will be&lt;STRONG&gt; automatically dropped after the reload&lt;/STRONG&gt;. It will not be in your data model.&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Hope it is clear.&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;STRONG style="font-style: inherit; font-family: inherit;"&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;STRONG style="font-style: inherit; font-family: inherit;"&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Cheers,&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Naresh&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Apr 2015 13:35:43 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/ApplyMap-basic-question/m-p/840413#M1013660</guid>
      <dc:creator>NareshGuntur</dc:creator>
      <dc:date>2015-04-15T13:35:43Z</dc:date>
    </item>
    <item>
      <title>Re: ApplyMap basic question</title>
      <link>https://community.qlik.com/t5/QlikView/ApplyMap-basic-question/m-p/840414#M1013661</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dutchsky,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Mapping Load tables drop automatically at the end of the load, so you don't need to worry about the relation existing from the mapping load table you load.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So for your Red highlighted area it can be a table in your database that contains the fields.&amp;nbsp; Then the applyMap you use will land in the load statement where you have it input.&amp;nbsp; At the end of the load of all tables, the mark of the mapping table will indicate this table needs to be dropped and it will be dropped automatically.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The best way to test is to have two load statements.&amp;nbsp; The first is the mapping load table, and the second is a table that will insert the value via apply map.&amp;nbsp; Simple test should result in only one table in your model after load completes.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this helps.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Jeff G&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Apr 2015 13:40:23 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/ApplyMap-basic-question/m-p/840414#M1013661</guid>
      <dc:creator />
      <dc:date>2015-04-15T13:40:23Z</dc:date>
    </item>
    <item>
      <title>Re: ApplyMap basic question</title>
      <link>https://community.qlik.com/t5/QlikView/ApplyMap-basic-question/m-p/840415#M1013662</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;u can simply use ur table in read mark place,that wont be cause any synthetics key because ur using Mapping key work on ur&amp;nbsp; mapping table that will drop that mapping table automatically.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Apr 2015 14:01:46 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/ApplyMap-basic-question/m-p/840415#M1013662</guid>
      <dc:creator>buzzy996</dc:creator>
      <dc:date>2015-04-15T14:01:46Z</dc:date>
    </item>
    <item>
      <title>Re: ApplyMap basic question</title>
      <link>https://community.qlik.com/t5/QlikView/ApplyMap-basic-question/m-p/840416#M1013663</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Could the script part be different for when using files or a database? It is not quite working yet, this is my exact script:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-----&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ODBC CONNECT TO [Database];&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Aircraft:&lt;/P&gt;&lt;P&gt;LOAD ac_registr,&lt;/P&gt;&lt;P&gt;ac_typ,&lt;/P&gt;&lt;P&gt;aircraftno_i;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SQL SELECT ac_registr,&lt;/P&gt;&lt;P&gt;ac_typ,&lt;/P&gt;&lt;P&gt;aircraftno_i&lt;/P&gt;&lt;P&gt;FROM Database.aircraft;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;MapAircraftno2Ac_registr:&lt;/P&gt;&lt;P&gt;Mapping Load aircraftno_i, ac_registr FROM Database.aircraft;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;------&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When I remove the mapping part, it works just fine and it will create the aircraft table. Now it says it can't find the "file" while im not working with files at all. Ideas?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;(my connection to the database is fine, all other things work properly except for this mapping script.)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Apr 2015 14:17:11 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/ApplyMap-basic-question/m-p/840416#M1013663</guid>
      <dc:creator />
      <dc:date>2015-04-15T14:17:11Z</dc:date>
    </item>
    <item>
      <title>Re: ApplyMap basic question</title>
      <link>https://community.qlik.com/t5/QlikView/ApplyMap-basic-question/m-p/840417#M1013664</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;Perform the mapping load first.&amp;nbsp; Plus your code above does not show the applymap.&amp;nbsp; Because you have the mapping load after any applymap you have before won't work.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'll attach a sample example momentarily.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;jg&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Apr 2015 14:19:49 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/ApplyMap-basic-question/m-p/840417#M1013664</guid>
      <dc:creator />
      <dc:date>2015-04-15T14:19:49Z</dc:date>
    </item>
    <item>
      <title>Re: ApplyMap basic question</title>
      <link>https://community.qlik.com/t5/QlikView/ApplyMap-basic-question/m-p/840418#M1013665</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Change the load for the mapping table to the below&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;MapAircraftno2Ac_registr:&lt;/P&gt;&lt;P&gt;Mapping Load&lt;/P&gt;&lt;P&gt;aircraftno_i,&lt;/P&gt;&lt;P&gt;ac_registr&lt;/P&gt;&lt;P&gt;;&lt;/P&gt;&lt;P&gt;SQL SELECT aircraftno_i, ac_registr FROM Database.aircraft;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Apr 2015 14:20:58 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/ApplyMap-basic-question/m-p/840418#M1013665</guid>
      <dc:creator />
      <dc:date>2015-04-15T14:20:58Z</dc:date>
    </item>
    <item>
      <title>Re: ApplyMap basic question</title>
      <link>https://community.qlik.com/t5/QlikView/ApplyMap-basic-question/m-p/840419#M1013666</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You need a SQL SELECT in your mapping load, rather than a LOAD:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Mapping SQL SELECT aircraftno_i, ac_registr FROM Database.aircraft;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;HTH&lt;/P&gt;&lt;P&gt;Jonathan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Apr 2015 14:26:09 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/ApplyMap-basic-question/m-p/840419#M1013666</guid>
      <dc:creator>jonathandienst</dc:creator>
      <dc:date>2015-04-15T14:26:09Z</dc:date>
    </item>
    <item>
      <title>Re: ApplyMap basic question</title>
      <link>https://community.qlik.com/t5/QlikView/ApplyMap-basic-question/m-p/840420#M1013667</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thats it, sounds very logical to me now! Thank you all for the comments, every single one was helpful! This will help me along in my graduate research &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;Qlikview and SQL is very new to me, but Im learning more day by day!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Apr 2015 14:29:34 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/ApplyMap-basic-question/m-p/840420#M1013667</guid>
      <dc:creator />
      <dc:date>2015-04-15T14:29:34Z</dc:date>
    </item>
    <item>
      <title>Re: ApplyMap basic question</title>
      <link>https://community.qlik.com/t5/QlikView/ApplyMap-basic-question/m-p/840421#M1013668</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The question is in fact not about mapping but about loading the data.&lt;/P&gt;&lt;P&gt;If from database, it is&lt;/P&gt;&lt;P&gt;SELECT.... FROM&lt;/P&gt;&lt;P&gt;if it is from a previously loaded table, it is&lt;/P&gt;&lt;P&gt;LOAD... RESIDENT&lt;/P&gt;&lt;P&gt;if it is from a file, it is&lt;/P&gt;&lt;P&gt;LOAD ... FROM&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In your case probably the best way is&lt;/P&gt;&lt;P&gt;Mapping &lt;STRONG&gt;SELECT&lt;/STRONG&gt; DISTINCT&lt;/P&gt;&lt;P&gt;aircraftno_i,&lt;/P&gt;&lt;P&gt;ac_registr&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;FROM&lt;/STRONG&gt; Database.aircraft;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Apr 2015 14:29:51 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/ApplyMap-basic-question/m-p/840421#M1013668</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-04-15T14:29:51Z</dc:date>
    </item>
    <item>
      <title>Re: ApplyMap basic question</title>
      <link>https://community.qlik.com/t5/QlikView/ApplyMap-basic-question/m-p/840422#M1013669</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dutchsky,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;see this sample.&amp;nbsp; The other folks are correct as well.&amp;nbsp; You can create a mapping load from a SQL query as well.&amp;nbsp; You don't have to load the data first then create the mapping load.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;/****************Mapping Load First*******************/&lt;/P&gt;&lt;P&gt;IUCR:&lt;/P&gt;&lt;P&gt;MAPPING LOAD IUCR, &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; [PRIMARY DESCRIPTION]&lt;/P&gt;&lt;P&gt;FROM&lt;/P&gt;&lt;P&gt;&lt;F&gt;&lt;/F&gt;&lt;/P&gt;&lt;P&gt;(txt, codepage is 1252, embedded labels, delimiter is ',', msq);&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;/****************Main Table Second******************/&lt;/P&gt;&lt;P&gt;LOAD ID, &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; [Case Number], &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Date, &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Block, &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; IUCR,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; /******************ApplyMap******************/&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ApplyMap('IUCR', IUCR) as [Primary Description],&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; [Primary Type], &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Description, &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; [Location Description], &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Arrest, &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Domestic, &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Beat, &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; District, &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Ward, &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; [Community Area], &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; [FBI Code], &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; [X Coordinate], &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; [Y Coordinate], &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Year, &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; [Updated On], &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Latitude, &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Longitude, &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Location&lt;/P&gt;&lt;P&gt;FROM&lt;/P&gt;&lt;P&gt;&lt;F&gt;&lt;/F&gt;&lt;/P&gt;&lt;P&gt;(txt, codepage is 1252, embedded labels, delimiter is ',', msq)&lt;/P&gt;&lt;P&gt;Where Date = 2008;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Apr 2015 14:30:15 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/ApplyMap-basic-question/m-p/840422#M1013669</guid>
      <dc:creator />
      <dc:date>2015-04-15T14:30:15Z</dc:date>
    </item>
  </channel>
</rss>

