<?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: Script Doubt in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Script-Doubt/m-p/842568#M1019409</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;i dont think this will work becoz in this case 2 cases can be:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Unkknown-SalesPersonNAme and SalesPErsonName-Unknown&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 02 Apr 2015 08:49:30 GMT</pubDate>
    <dc:creator>nikhilgarg</dc:creator>
    <dc:date>2015-04-02T08:49:30Z</dc:date>
    <item>
      <title>Script Doubt</title>
      <link>https://community.qlik.com/t5/QlikView/Script-Doubt/m-p/842565#M1019406</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hey,&lt;/P&gt;&lt;P&gt;I have a script:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Load&lt;/P&gt;&lt;P&gt;SalesPersonId,&lt;/P&gt;&lt;P&gt;Applymap('Table1' , SalesPersonId , 'Unknown') as SalesPersonName,&lt;/P&gt;&lt;P&gt;concat&lt;/P&gt;&lt;P&gt;Applymap('Table2' , SalesPersonId , 'Unknown') as SalesPersonName,&lt;/P&gt;&lt;P&gt;desk ;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I ahve Salespersonname coming form table 1 and table2 so can i concat like above script to get a single field SalesPerson with values from both table1 and table 2??&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 02 Apr 2015 08:34:15 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Script-Doubt/m-p/842565#M1019406</guid>
      <dc:creator>nikhilgarg</dc:creator>
      <dc:date>2015-04-02T08:34:15Z</dc:date>
    </item>
    <item>
      <title>Re: Script Doubt</title>
      <link>https://community.qlik.com/t5/QlikView/Script-Doubt/m-p/842566#M1019407</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Table1:&lt;/P&gt;&lt;P&gt;Mapping Load SalesPersonId, SalesPersonName From TableName;&lt;/P&gt;&lt;P style="font-size: 13.3333330154419px;"&gt;Table2:&lt;/P&gt;&lt;P style="font-size: 13.3333330154419px;"&gt;Mapping Load SalesPersonId, SalesPersonName From TableName;&lt;/P&gt;&lt;P style="font-size: 13.3333330154419px;"&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333330154419px;"&gt;Final:&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Load&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; SalesPersonId,&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Applymap('Table1' , SalesPersonId , 'Unknown') as SalesPersonName&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;FromTableName2:&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Concatenate&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Load&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; SalespersonId,&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Applymap('Table2' , SalesPersonId , 'Unknown') as SalesPersonName,&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;From TableName3;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 02 Apr 2015 08:44:02 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Script-Doubt/m-p/842566#M1019407</guid>
      <dc:creator>MK_QSL</dc:creator>
      <dc:date>2015-04-02T08:44:02Z</dc:date>
    </item>
    <item>
      <title>Re: Script Doubt</title>
      <link>https://community.qlik.com/t5/QlikView/Script-Doubt/m-p/842567#M1019408</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;Load&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;SalesPersonId,&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;STRONG&gt;Applymap('Table1' , SalesPersonId , 'Unknown')&amp;nbsp; &amp;amp; '-' &amp;amp; Applymap('Table2' , SalesPersonId , 'Unknown') as SalesPersonName&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;desk ;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 02 Apr 2015 08:47:48 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Script-Doubt/m-p/842567#M1019408</guid>
      <dc:creator>anbu1984</dc:creator>
      <dc:date>2015-04-02T08:47:48Z</dc:date>
    </item>
    <item>
      <title>Re: Script Doubt</title>
      <link>https://community.qlik.com/t5/QlikView/Script-Doubt/m-p/842568#M1019409</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;i dont think this will work becoz in this case 2 cases can be:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Unkknown-SalesPersonNAme and SalesPErsonName-Unknown&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 02 Apr 2015 08:49:30 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Script-Doubt/m-p/842568#M1019409</guid>
      <dc:creator>nikhilgarg</dc:creator>
      <dc:date>2015-04-02T08:49:30Z</dc:date>
    </item>
    <item>
      <title>Re: Script Doubt</title>
      <link>https://community.qlik.com/t5/QlikView/Script-Doubt/m-p/842569#M1019410</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yes&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;Load SalesPersonId,&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Applymap('Table1' , SalesPersonId , 'Unknown') &amp;amp; ',' &amp;amp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Applymap('Table2' , SalesPersonId , 'Unknown') as SalesPersonName,&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; desk ;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 02 Apr 2015 08:50:24 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Script-Doubt/m-p/842569#M1019410</guid>
      <dc:creator>Peter_Cammaert</dc:creator>
      <dc:date>2015-04-02T08:50:24Z</dc:date>
    </item>
    <item>
      <title>Re: Script Doubt</title>
      <link>https://community.qlik.com/t5/QlikView/Script-Doubt/m-p/842570#M1019411</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;So you will get SalespersonName from only one of tables?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If(Applymap('Table1' , SalesPersonId , 'Unknown') = 'Unknown',&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333330154419px;"&gt;Applymap('Table2' , SalesPersonId , 'Unknown') &amp;amp; '-Unknown',&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333330154419px;"&gt;If(&lt;SPAN style="font-size: 13.3333330154419px;"&gt;Applymap('Table2' , SalesPersonId , 'Unknown') = 'Unknown',&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333330154419px;"&gt;&lt;SPAN style="font-size: 13.3333330154419px;"&gt;Applymap('Table1' , SalesPersonId , 'Unknown') &amp;amp; '-Unknown',&lt;/SPAN&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333330154419px;"&gt;Applymap('Table1' , SalesPersonId )&lt;/SPAN&gt; &amp;amp; '-' &amp;amp; Applymap('Table2' , SalesPersonId)) as SalesPersonName&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 02 Apr 2015 09:01:29 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Script-Doubt/m-p/842570#M1019411</guid>
      <dc:creator>anbu1984</dc:creator>
      <dc:date>2015-04-02T09:01:29Z</dc:date>
    </item>
    <item>
      <title>Re: Script Doubt</title>
      <link>https://community.qlik.com/t5/QlikView/Script-Doubt/m-p/842571#M1019412</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hey,&lt;/P&gt;&lt;P&gt;I want that is salespersonid is present in Table1 then it should place SalesPErsonName corresponding to it else if not then ,&lt;/P&gt;&lt;P&gt;if it is present in table2 then &lt;SPAN style="font-size: 13.3333330154419px;"&gt;it should place SalesPErsonName corresponding to it else if not then , Unknow.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;Can you pls tell the whole script.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 02 Apr 2015 09:08:31 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Script-Doubt/m-p/842571#M1019412</guid>
      <dc:creator>nikhilgarg</dc:creator>
      <dc:date>2015-04-02T09:08:31Z</dc:date>
    </item>
    <item>
      <title>Re: Script Doubt</title>
      <link>https://community.qlik.com/t5/QlikView/Script-Doubt/m-p/842572#M1019413</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;If(Applymap('Table1' , SalesPersonId , 'Unknown') &amp;lt;&amp;gt; 'Unknown',&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 13.3333330154419px; font-family: inherit;"&gt;Applymap('Table1' , SalesPersonId ),&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 13.3333330154419px; font-family: inherit;"&gt;If(&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 13.3333330154419px; font-family: inherit;"&gt;Applymap('Table2' , SalesPersonId , 'Unknown') &amp;lt;&amp;gt; 'Unknown',&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;SPAN style="font-size: 13.3333330154419px; font-style: inherit; font-family: inherit; font-weight: inherit;"&gt;Applymap('Table2' , SalesPersonId),&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13.3333330154419px;"&gt;'Unknown'&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN style="line-height: 1.5em;"&gt;)) as SalesPersonName&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 02 Apr 2015 09:15:13 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Script-Doubt/m-p/842572#M1019413</guid>
      <dc:creator>anbu1984</dc:creator>
      <dc:date>2015-04-02T09:15:13Z</dc:date>
    </item>
    <item>
      <title>Re: Script Doubt</title>
      <link>https://community.qlik.com/t5/QlikView/Script-Doubt/m-p/842573#M1019414</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Or even simpler/more compact:&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;:&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;Applymap('Table1' , SalesPersonId , &lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 13.3333330154419px;"&gt;Applymap('Table2' , SalesPersonId, &lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 13.3333330154419px;"&gt;'Unknown'&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit;"&gt;)) as SalesPersonName&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;SPAN style="font-style: inherit; font-family: 'courier new', courier; font-weight: inherit;"&gt;;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 02 Apr 2015 09:41:59 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Script-Doubt/m-p/842573#M1019414</guid>
      <dc:creator>Peter_Cammaert</dc:creator>
      <dc:date>2015-04-02T09:41:59Z</dc:date>
    </item>
    <item>
      <title>Re: Script Doubt</title>
      <link>https://community.qlik.com/t5/QlikView/Script-Doubt/m-p/842574#M1019415</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks peter. It should work&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 02 Apr 2015 09:45:37 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Script-Doubt/m-p/842574#M1019415</guid>
      <dc:creator>nikhilgarg</dc:creator>
      <dc:date>2015-04-02T09:45:37Z</dc:date>
    </item>
    <item>
      <title>Re: Script Doubt</title>
      <link>https://community.qlik.com/t5/QlikView/Script-Doubt/m-p/842575#M1019416</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;You can try below script.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Table1:&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Mapping &lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;Load &lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; SalesPersonId,&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; SalesPersonName&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;From TableName;&lt;/P&gt;&lt;P style="font-size: 13.3333330154419px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333330154419px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Table2:&lt;/P&gt;&lt;P style="font-size: 13.3333330154419px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Mapping &lt;SPAN style="font-size: 13.3333330154419px; line-height: 1.5em;"&gt;Load&amp;nbsp; &lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333330154419px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;SPAN style="font-size: 13.3333330154419px; line-height: 1.5em;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; SalesPersonId,&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333330154419px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; SalesPersonName &lt;/P&gt;&lt;P style="font-size: 13.3333330154419px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;From TableName;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;COMMENT TABLES USING Table1;&lt;/P&gt;&lt;P&gt;COMMENT TABLES USING Table2;&lt;/P&gt;&lt;P style="font-size: 13.3333330154419px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333330154419px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333330154419px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;New_Table:&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Load&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; SalesPersonId,&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Applymap('Table1' , SalesPersonId , 'Unknown') as SalesPersonName&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;From Sourcepath;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Concatenate(&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;New_Table&lt;/SPAN&gt;)&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Load&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; SalespersonId,&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Applymap('Table2' , SalesPersonId , 'Unknown') as SalesPersonName&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;From &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;Sourcepath&lt;/SPAN&gt;;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 02 Apr 2015 10:46:18 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Script-Doubt/m-p/842575#M1019416</guid>
      <dc:creator />
      <dc:date>2015-04-02T10:46:18Z</dc:date>
    </item>
    <item>
      <title>Re: Script Doubt</title>
      <link>https://community.qlik.com/t5/QlikView/Script-Doubt/m-p/842576#M1019417</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You can use QlikView concatenation to merge to two sets of mapping data into a single mapping table which simplifies the script.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-size: 13.33px;"&gt;// This will concatenate the data from Table1 &amp;amp; Table2 to a single mapping table Table_Map&lt;/P&gt;&lt;P style="font-size: 13.33px;"&gt;// as the field names are identical in both tables&lt;/P&gt;&lt;P&gt;Table_Map:&lt;/P&gt;&lt;P&gt;Mapping Load&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; SalesPersonId, SalesPersonName&lt;/P&gt;&lt;P&gt;From Table1;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-size: 13.33px;"&gt;Table_Map:&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;P style="font-size: 13.33px;"&gt;Mapping Load&lt;/P&gt;&lt;P style="font-size: 13.33px;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; SalesPersonId, SalesPersonName&lt;/P&gt;&lt;P style="font-size: 13.33px;"&gt;From Table2;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-size: 13.33px;"&gt;Result:&lt;/P&gt;&lt;P&gt;Load&lt;/P&gt;&lt;P&gt;SalesPersonId,&lt;/P&gt;&lt;P&gt;Applymap('Table_Map', SalesPersonId , 'Unknown') as SalesPersonName,&lt;/P&gt;&lt;P&gt;desk ;&lt;/P&gt;&lt;P&gt;from .......&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 02 Apr 2015 11:08:09 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Script-Doubt/m-p/842576#M1019417</guid>
      <dc:creator>Colin-Albert</dc:creator>
      <dc:date>2015-04-02T11:08:09Z</dc:date>
    </item>
    <item>
      <title>Re: Script Doubt</title>
      <link>https://community.qlik.com/t5/QlikView/Script-Doubt/m-p/842577#M1019418</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have just done some more tests on this, and unlike normal tables which will auto concatenate when the field names match, to get the mapping table to concatenate, the table name&amp;nbsp; &lt;STRONG&gt;XXX:&lt;/STRONG&gt; must match.&lt;/P&gt;&lt;P&gt;The field names in the mapping tables are ignored they are simply loaded as Column1 &amp;amp; Column2 !&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;Table_Map:&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;Mapping Load&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; SalesPersonId, SalesPersonName&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;From Table1;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="padding-left: 30px; font-size: 13.33px;"&gt;Table_Map:&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;P style="padding-left: 30px; font-size: 13.33px;"&gt;Mapping Load&lt;/P&gt;&lt;P style="padding-left: 30px; font-size: 13.33px;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; SalesPersonId as Apples , SalesPersonName as Pears&lt;/P&gt;&lt;P style="padding-left: 30px; font-size: 13.33px;"&gt;From Table2;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-size: 13.33px;"&gt;This script will still create a single mapping table named 'Table_Map', combining the data from Table1 and Table2.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 02 Apr 2015 11:17:03 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Script-Doubt/m-p/842577#M1019418</guid>
      <dc:creator>Colin-Albert</dc:creator>
      <dc:date>2015-04-02T11:17:03Z</dc:date>
    </item>
    <item>
      <title>Re: Script Doubt</title>
      <link>https://community.qlik.com/t5/QlikView/Script-Doubt/m-p/842578#M1019420</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks Colin. But i hope this also works:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'courier new', courier; font-size: 13px; background-color: #f2f2f2;"&gt;Applymap('Table1' , SalesPersonId , &lt;/SPAN&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 13.3333330154419px; font-family: 'courier new', courier; color: #3d3d3d; background-color: #f2f2f2;"&gt;Applymap('Table2' , SalesPersonId,&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 13.3333330154419px; font-family: inherit;"&gt;'Unknown'&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 13px; font-family: 'courier new', courier; color: #3d3d3d; background-color: #f2f2f2;"&gt;)) as SalesPersonName&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 02 Apr 2015 11:18:48 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Script-Doubt/m-p/842578#M1019420</guid>
      <dc:creator>nikhilgarg</dc:creator>
      <dc:date>2015-04-02T11:18:48Z</dc:date>
    </item>
    <item>
      <title>Re: Script Doubt</title>
      <link>https://community.qlik.com/t5/QlikView/Script-Doubt/m-p/842579#M1019421</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;If i write in script:&lt;/P&gt;&lt;P&gt;If(salesregion = 'null' , 'Unknown') is it ok in case if i have no values in salesregion field ??&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 02 Apr 2015 11:22:02 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Script-Doubt/m-p/842579#M1019421</guid>
      <dc:creator>nikhilgarg</dc:creator>
      <dc:date>2015-04-02T11:22:02Z</dc:date>
    </item>
    <item>
      <title>Re: Script Doubt</title>
      <link>https://community.qlik.com/t5/QlikView/Script-Doubt/m-p/842580#M1019422</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;'null' is comparing a text string containing letters null&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;to compare a null value use &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; If(salesregion = '' , 'Unknown')&lt;/P&gt;&lt;P&gt;or&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; If(salesregion = null() , 'Unknown')&lt;/P&gt;&lt;P&gt;or&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; If(len(trim(salesregion)) = 0, 'Unknown')&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 02 Apr 2015 11:24:43 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Script-Doubt/m-p/842580#M1019422</guid>
      <dc:creator>Colin-Albert</dc:creator>
      <dc:date>2015-04-02T11:24:43Z</dc:date>
    </item>
  </channel>
</rss>

