<?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: Translate a file into a mapping load in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Translate-a-file-into-a-mapping-load/m-p/1234750#M622239</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Not sure I understand your question?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 25 Jan 2017 15:04:21 GMT</pubDate>
    <dc:creator>sunny_talwar</dc:creator>
    <dc:date>2017-01-25T15:04:21Z</dc:date>
    <item>
      <title>Translate a file into a mapping load</title>
      <link>https://community.qlik.com/t5/QlikView/Translate-a-file-into-a-mapping-load/m-p/1234748#M622237</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;Have a problem, which is causing an issue.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I want to load in a table which has lots of values. These codes will translate to a text field, that I want to apply in bulk.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Example table:&lt;/P&gt;&lt;TABLE border="1" class="jiveBorder" style="border: 1px solid rgb(0, 0, 0); width: 100%;"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TH style="text-align: center; background-color: #6690bc; color: #ffffff; padding: 2px;" valign="middle"&gt;Mapping Table&lt;/TH&gt;&lt;TH style="text-align: center; background-color: #6690bc; color: #ffffff; padding: 2px;" valign="middle"&gt;Raw code&lt;/TH&gt;&lt;TH style="text-align: center; background-color: #6690bc; color: #ffffff; padding: 2px;" valign="middle"&gt;&lt;STRONG&gt;New Value&lt;/STRONG&gt;&lt;/TH&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px;"&gt;Country&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;a&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;UK&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px;"&gt;Country&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;b&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;USA&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px;"&gt;Country&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;c&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;IRE&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px;"&gt;Car Make&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;1&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;Fiat&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px;"&gt;Car Make&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;2&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;Ford&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px;"&gt;Car Make&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;3&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;Ferrari&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My aim is to turn these into two (and will be many many more) mapping tables to apply map over the field shown in mapping table.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Example:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;[Mapping Table_Map]:&lt;/P&gt;&lt;P&gt;Mapping load&lt;/P&gt;&lt;P&gt;[Raw code]&lt;/P&gt;&lt;P&gt;[New Value]&lt;/P&gt;&lt;P&gt;Resident File;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;IS this possible?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have tried a few ways and with no luck. Can someone please help me??&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any help will be massively appreciated.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Matt&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 25 Jan 2017 14:56:22 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Translate-a-file-into-a-mapping-load/m-p/1234748#M622237</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-01-25T14:56:22Z</dc:date>
    </item>
    <item>
      <title>Re: Translate a file into a mapping load</title>
      <link>https://community.qlik.com/t5/QlikView/Translate-a-file-into-a-mapping-load/m-p/1234749#M622238</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Sorry Matthew still don't understand what is the problem here, you seem to be familiar with Applymap() and Mapping load , so what exactly are looking to do?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 25 Jan 2017 15:02:12 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Translate-a-file-into-a-mapping-load/m-p/1234749#M622238</guid>
      <dc:creator>vinieme12</dc:creator>
      <dc:date>2017-01-25T15:02:12Z</dc:date>
    </item>
    <item>
      <title>Re: Translate a file into a mapping load</title>
      <link>https://community.qlik.com/t5/QlikView/Translate-a-file-into-a-mapping-load/m-p/1234750#M622239</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Not sure I understand your question?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 25 Jan 2017 15:04:21 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Translate-a-file-into-a-mapping-load/m-p/1234750#M622239</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2017-01-25T15:04:21Z</dc:date>
    </item>
    <item>
      <title>Re: Translate a file into a mapping load</title>
      <link>https://community.qlik.com/t5/QlikView/Translate-a-file-into-a-mapping-load/m-p/1234751#M622240</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Vineeth,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am familiar with the functions.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My problem is the data example provided is taking from a load from a colleague and I wish to translate this (in bulk, as there are 60k+ rows) into multiple applymaps.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1 for country, 1 for car make and so on.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I hope this is more information.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I thought do loop and while iter() would be useful but i am getting no luck.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Matt&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 25 Jan 2017 15:22:44 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Translate-a-file-into-a-mapping-load/m-p/1234751#M622240</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-01-25T15:22:44Z</dc:date>
    </item>
    <item>
      <title>Re: Translate a file into a mapping load</title>
      <link>https://community.qlik.com/t5/QlikView/Translate-a-file-into-a-mapping-load/m-p/1234752#M622241</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Sunny,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Have given more details.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Matt&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 25 Jan 2017 15:23:13 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Translate-a-file-into-a-mapping-load/m-p/1234752#M622241</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-01-25T15:23:13Z</dc:date>
    </item>
    <item>
      <title>Re: Translate a file into a mapping load</title>
      <link>https://community.qlik.com/t5/QlikView/Translate-a-file-into-a-mapping-load/m-p/1234753#M622242</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;if everything is being mapped using the RawCode as a key then why not use Left Join instead of multiple Mapping loads?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 25 Jan 2017 15:24:02 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Translate-a-file-into-a-mapping-load/m-p/1234753#M622242</guid>
      <dc:creator>vinieme12</dc:creator>
      <dc:date>2017-01-25T15:24:02Z</dc:date>
    </item>
    <item>
      <title>Re: Translate a file into a mapping load</title>
      <link>https://community.qlik.com/t5/QlikView/Translate-a-file-into-a-mapping-load/m-p/1234754#M622243</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I am trying to achieve something similar to SAS's use of formats where I have a raw code which i want to replace.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Join will not be suitable on this occasion.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for the suggestion though.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Matt&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 25 Jan 2017 15:28:27 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Translate-a-file-into-a-mapping-load/m-p/1234754#M622243</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-01-25T15:28:27Z</dc:date>
    </item>
    <item>
      <title>Re: Translate a file into a mapping load</title>
      <link>https://community.qlik.com/t5/QlikView/Translate-a-file-into-a-mapping-load/m-p/1234755#M622244</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;May be this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Table:&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;LOAD * INLINE [&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Mapping Table, Raw code, New Value&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Country, a, UK&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Country, b, USA&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Country, c, IRE&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Car Make, 1, Fiat&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Car Make, 2, Ford&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Car Make, 3, Ferrari&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;];&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;FOR i = 1 to FieldValueCount('Mapping Table')&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp; LET vField = FieldValue('Mapping Table', $(i));&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt; &lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp; [$(vField)Mapping]:&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp; Mapping&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp; LOAD [Raw code],&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp; [New Value]&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp; Resident Table&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp; Where [Mapping Table] = '$(vField)';&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt; &lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;NEXT&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;DROP Table Table;&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 25 Jan 2017 15:29:01 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Translate-a-file-into-a-mapping-load/m-p/1234755#M622244</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2017-01-25T15:29:01Z</dc:date>
    </item>
    <item>
      <title>Re: Translate a file into a mapping load</title>
      <link>https://community.qlik.com/t5/QlikView/Translate-a-file-into-a-mapping-load/m-p/1234756#M622245</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Worked perfectly and exactly what was needed.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 26 Jan 2017 16:28:49 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Translate-a-file-into-a-mapping-load/m-p/1234756#M622245</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-01-26T16:28:49Z</dc:date>
    </item>
  </channel>
</rss>

