<?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 and apply map in App Development</title>
    <link>https://community.qlik.com/t5/App-Development/Mapping-load-and-apply-map/m-p/1883070#M72702</link>
    <description>&lt;P&gt;Since your CustomerID is numeric, try to convert it as text by using Text()in both mapping tables and fact table.&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;MappingTableAddr:
Mapping load 
Text(CustomerID) as CustomerID
Address
from abc.qvd;

MappingTableCity:
Mapping load 
Text(CustomerID) as CustomerID
City
from abc.qvd;

Table11:
Load
BillDate,
CustomerID,
Applymap('MappingTableAddr',text(CustomerID),'NA') as Address,
Applymap('MappingTable'City,Text(CustomerID),'NA') as City
from abc.qvd;&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Wed, 19 Jan 2022 22:09:56 GMT</pubDate>
    <dc:creator>micheledenardi</dc:creator>
    <dc:date>2022-01-19T22:09:56Z</dc:date>
    <item>
      <title>Mapping load and apply map</title>
      <link>https://community.qlik.com/t5/App-Development/Mapping-load-and-apply-map/m-p/1882301#M72651</link>
      <description>&lt;P&gt;Hi&lt;/P&gt;
&lt;P&gt;I am facing an issue in mapping load script.&lt;/P&gt;
&lt;P&gt;MappingTableAddr:&lt;/P&gt;
&lt;P&gt;Mapping load&amp;nbsp;&lt;/P&gt;
&lt;P&gt;CustomerID,&lt;/P&gt;
&lt;P&gt;Address&lt;/P&gt;
&lt;P&gt;from abc.qvd;&lt;/P&gt;
&lt;P&gt;MappingTableCity:&lt;/P&gt;
&lt;P&gt;Mapping load&amp;nbsp;&lt;/P&gt;
&lt;P&gt;CustomerID,&lt;/P&gt;
&lt;P&gt;City&lt;/P&gt;
&lt;P&gt;from abc.qvd;&lt;/P&gt;
&lt;P&gt;Table11:&lt;/P&gt;
&lt;P&gt;BillDate,&lt;/P&gt;
&lt;P&gt;CustomerID,&lt;/P&gt;
&lt;P&gt;Applymap('MappingTableAddr',CustomerID,'NA') as Address,&lt;/P&gt;
&lt;P&gt;Applymap('MappingTable'City,CustomerID,'NA') as City&lt;/P&gt;
&lt;P&gt;from abc.qvd;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;My raw data is&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="qlikuser22_0-1642512868775.png" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/70411iA76B13473B4E9A26/image-size/medium?v=v2&amp;amp;px=400" role="button" title="qlikuser22_0-1642512868775.png" alt="qlikuser22_0-1642512868775.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;I have null values for the bill date 1.4.21. I would like to copy the same address since the customer ID is same. I tried the above code but I still get NULL values. Any help.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks in advance!&lt;/P&gt;</description>
      <pubDate>Tue, 18 Jan 2022 13:38:29 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Mapping-load-and-apply-map/m-p/1882301#M72651</guid>
      <dc:creator>qlikuser22</dc:creator>
      <dc:date>2022-01-18T13:38:29Z</dc:date>
    </item>
    <item>
      <title>Re: Mapping load and apply map</title>
      <link>https://community.qlik.com/t5/App-Development/Mapping-load-and-apply-map/m-p/1883070#M72702</link>
      <description>&lt;P&gt;Since your CustomerID is numeric, try to convert it as text by using Text()in both mapping tables and fact table.&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;MappingTableAddr:
Mapping load 
Text(CustomerID) as CustomerID
Address
from abc.qvd;

MappingTableCity:
Mapping load 
Text(CustomerID) as CustomerID
City
from abc.qvd;

Table11:
Load
BillDate,
CustomerID,
Applymap('MappingTableAddr',text(CustomerID),'NA') as Address,
Applymap('MappingTable'City,Text(CustomerID),'NA') as City
from abc.qvd;&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 19 Jan 2022 22:09:56 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Mapping-load-and-apply-map/m-p/1883070#M72702</guid>
      <dc:creator>micheledenardi</dc:creator>
      <dc:date>2022-01-19T22:09:56Z</dc:date>
    </item>
  </channel>
</rss>

