<?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 For 1 field - Applymap(), for more than 1 ? in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/For-1-field-Applymap-for-more-than-1/m-p/1197384#M878280</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;I understood clearly that Applymap() is useful when we want to add 1 field/column to other table by keeping 1 reference field (Total 2 fields in mapping table).&lt;/P&gt;&lt;P&gt;I used this in my qvw and worked perfect.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now i'm in a need that there I want to add 2 fields from 1 table to other big table by keeping 1 reference field (Total 3 fields in mapping table).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;How can I achieve this ?&lt;/P&gt;&lt;P&gt;Which function do i need to use ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please help me.&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>Wed, 25 Nov 2020 16:16:04 GMT</pubDate>
    <dc:creator>mohan2391</dc:creator>
    <dc:date>2020-11-25T16:16:04Z</dc:date>
    <item>
      <title>For 1 field - Applymap(), for more than 1 ?</title>
      <link>https://community.qlik.com/t5/QlikView/For-1-field-Applymap-for-more-than-1/m-p/1197384#M878280</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;I understood clearly that Applymap() is useful when we want to add 1 field/column to other table by keeping 1 reference field (Total 2 fields in mapping table).&lt;/P&gt;&lt;P&gt;I used this in my qvw and worked perfect.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now i'm in a need that there I want to add 2 fields from 1 table to other big table by keeping 1 reference field (Total 3 fields in mapping table).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;How can I achieve this ?&lt;/P&gt;&lt;P&gt;Which function do i need to use ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please help me.&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>Wed, 25 Nov 2020 16:16:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/For-1-field-Applymap-for-more-than-1/m-p/1197384#M878280</guid>
      <dc:creator>mohan2391</dc:creator>
      <dc:date>2020-11-25T16:16:04Z</dc:date>
    </item>
    <item>
      <title>Re: For 1 field - Applymap(), for more than 1 ?</title>
      <link>https://community.qlik.com/t5/QlikView/For-1-field-Applymap-for-more-than-1/m-p/1197385#M878281</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;Well the first option would be to do two apply maps. One for each extra field. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Or &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Look at using Join, Most likely left join.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Mark&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 27 Oct 2016 10:44:16 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/For-1-field-Applymap-for-more-than-1/m-p/1197385#M878281</guid>
      <dc:creator>Mark_Little</dc:creator>
      <dc:date>2016-10-27T10:44:16Z</dc:date>
    </item>
    <item>
      <title>Re: For 1 field - Applymap(), for more than 1 ?</title>
      <link>https://community.qlik.com/t5/QlikView/For-1-field-Applymap-for-more-than-1/m-p/1197386#M878282</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You can create two mapping tables to do this&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;or you can concatenate the two fields which are going to get mapped into one so for instance&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;MappingTable:&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Mapping&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;LOAD Field1,&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Field2&amp;amp;'|'&amp;amp;Field3 as Field4&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;FROM ...&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;and then when you are mapping them you can use SubField() function to extract them back to there normal value&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Fact:&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;LOAD Field1,&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; SubField(ApplyMap('MappingTable', Field1), '|', 1) as Field2,&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN style="font-size: 13.3333px;"&gt;SubField(ApplyMap('MappingTable', Field1), '|', 2) as Field3,&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;&lt;STRONG&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ....&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 27 Oct 2016 10:46:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/For-1-field-Applymap-for-more-than-1/m-p/1197386#M878282</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2016-10-27T10:46:04Z</dc:date>
    </item>
    <item>
      <title>Re: For 1 field - Applymap(), for more than 1 ?</title>
      <link>https://community.qlik.com/t5/QlikView/For-1-field-Applymap-for-more-than-1/m-p/1197387#M878283</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You can split the mapping table into two tables where you have total 3 fields in the mapping table.&lt;/P&gt;&lt;P&gt;For example if you have a mapping table with three fields like below:&lt;/P&gt;&lt;P&gt;ID&lt;/P&gt;&lt;P&gt;Name&lt;/P&gt;&lt;P&gt;Code&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Then split them into two mapping tables as below:&lt;/P&gt;&lt;P&gt;Table1:&lt;/P&gt;&lt;P&gt;ID&lt;/P&gt;&lt;P&gt;Name&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Table2&lt;/P&gt;&lt;P&gt;ID&lt;/P&gt;&lt;P&gt;Code&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this helps...&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 27 Oct 2016 10:49:18 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/For-1-field-Applymap-for-more-than-1/m-p/1197387#M878283</guid>
      <dc:creator>trdandamudi</dc:creator>
      <dc:date>2016-10-27T10:49:18Z</dc:date>
    </item>
    <item>
      <title>Re: For 1 field - Applymap(), for more than 1 ?</title>
      <link>https://community.qlik.com/t5/QlikView/For-1-field-Applymap-for-more-than-1/m-p/1197388#M878284</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;If u have 3 fields please split to two tables like below.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Example:&lt;/P&gt;&lt;P&gt;Load&lt;/P&gt;&lt;P&gt;Empid,&lt;/P&gt;&lt;P&gt;Name,&lt;/P&gt;&lt;P&gt;Phone_Num&lt;/P&gt;&lt;P&gt;from path;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Table1:&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;mappling load&lt;/STRONG&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;STRONG&gt;Empid,&lt;/STRONG&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;STRONG&gt;Name&lt;/STRONG&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;STRONG&gt;from path;&lt;/STRONG&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;STRONG&gt;Table2:&lt;BR /&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;STRONG&gt;mappling load&lt;/STRONG&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;STRONG&gt;Empid,&lt;/STRONG&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;Phone_Num&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;STRONG&gt;from path;&lt;/STRONG&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;STRONG&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;STRONG&gt;load&lt;/STRONG&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;STRONG&gt;id,&lt;BR /&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;STRONG&gt;&lt;STRONG style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;ApplyMap('Table1', &lt;STRONG style="font-size: 13.3333px;"&gt;Name&lt;/STRONG&gt;) as Fieldname,&lt;/STRONG&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;STRONG style="font-size: 13.3333px;"&gt;&lt;STRONG style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;ApplyMap('Table2', &lt;STRONG style="font-size: 13.3333px;"&gt;Name&lt;/STRONG&gt;) as Field2name&lt;/STRONG&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;STRONG style="font-size: 13.3333px;"&gt;&lt;STRONG style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;from path;&lt;/STRONG&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;STRONG style="font-size: 13.3333px;"&gt;&lt;STRONG style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;STRONG style="font-size: 13.3333px;"&gt;&lt;STRONG style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;Thanks&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;Gireesh&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 27 Oct 2016 10:58:25 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/For-1-field-Applymap-for-more-than-1/m-p/1197388#M878284</guid>
      <dc:creator>gireesh1216</dc:creator>
      <dc:date>2016-10-27T10:58:25Z</dc:date>
    </item>
  </channel>
</rss>

