<?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: Loading data by replacing one column with other table value in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Loading-data-by-replacing-one-column-with-other-table-value/m-p/954992#M328280</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Not sure if I understand. If the mapping key is not found in MAP, applymap will return the search value. But you can use a third parameter to change it to Field2 from Table1:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-weight: inherit; font-style: inherit; font-family: inherit;"&gt;LOAD&lt;/P&gt;&lt;P style="font-weight: inherit; font-style: inherit; font-family: inherit;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Field1,&lt;/P&gt;&lt;P style="font-weight: inherit; font-style: inherit; font-family: inherit;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ApplyMap('MAP', Field1, Field2) as Field2&lt;/P&gt;&lt;P style="font-weight: inherit; font-style: inherit; font-family: inherit;"&gt;FROM Table1;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 06 Nov 2015 18:43:32 GMT</pubDate>
    <dc:creator>swuehl</dc:creator>
    <dc:date>2015-11-06T18:43:32Z</dc:date>
    <item>
      <title>Loading data by replacing one column with other table value</title>
      <link>https://community.qlik.com/t5/QlikView/Loading-data-by-replacing-one-column-with-other-table-value/m-p/954988#M328276</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Good Friday afternoon Expert,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My mind is not working now. I want do do following load (It looks so easy, but I can't figure out an easy way to do it in QlikView)&lt;/P&gt;&lt;P&gt;Load Table 1:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Mat1, X100&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Mat1, Z100&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Mat2, X110&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Mat3, X101&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;By replacing value from table 2:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Mat1, X100&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Mat2, Y100&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Mat3, Y111&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;End result look like this &lt;/P&gt;&lt;P&gt;Mat1 X100&lt;/P&gt;&lt;P&gt;Mat1 X100&lt;/P&gt;&lt;P&gt;Mat2 Y100&lt;/P&gt;&lt;P&gt;Mat3 Y111&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;How can I achieve the data loading?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any suggestion will be greatly appreciated!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Weidong&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 06 Nov 2015 17:50:50 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Loading-data-by-replacing-one-column-with-other-table-value/m-p/954988#M328276</guid>
      <dc:creator />
      <dc:date>2015-11-06T17:50:50Z</dc:date>
    </item>
    <item>
      <title>Re: Loading data by replacing one column with other table value</title>
      <link>https://community.qlik.com/t5/QlikView/Loading-data-by-replacing-one-column-with-other-table-value/m-p/954989#M328277</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;MAP:&lt;/P&gt;&lt;P&gt;MAPPING LOAD Field1, Field2 FROM Table2;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;LOAD&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Field1,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ApplyMap('MAP', Field1) as Field2&lt;/P&gt;&lt;P&gt;FROM Table1;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 06 Nov 2015 18:08:34 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Loading-data-by-replacing-one-column-with-other-table-value/m-p/954989#M328277</guid>
      <dc:creator>swuehl</dc:creator>
      <dc:date>2015-11-06T18:08:34Z</dc:date>
    </item>
    <item>
      <title>Re: Loading data by replacing one column with other table value</title>
      <link>https://community.qlik.com/t5/QlikView/Loading-data-by-replacing-one-column-with-other-table-value/m-p/954990#M328278</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks for such a fast reply! &lt;/P&gt;&lt;P&gt;I didn't explain the question correctly. There are more rows and some rows are not in the table 2 and need keep those row and only replace with one in table 2.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Weidong&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 06 Nov 2015 18:14:37 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Loading-data-by-replacing-one-column-with-other-table-value/m-p/954990#M328278</guid>
      <dc:creator />
      <dc:date>2015-11-06T18:14:37Z</dc:date>
    </item>
    <item>
      <title>Re: Loading data by replacing one column with other table value</title>
      <link>https://community.qlik.com/t5/QlikView/Loading-data-by-replacing-one-column-with-other-table-value/m-p/954991#M328279</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I figured out with APPLYMAP. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 06 Nov 2015 18:30:11 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Loading-data-by-replacing-one-column-with-other-table-value/m-p/954991#M328279</guid>
      <dc:creator />
      <dc:date>2015-11-06T18:30:11Z</dc:date>
    </item>
    <item>
      <title>Re: Loading data by replacing one column with other table value</title>
      <link>https://community.qlik.com/t5/QlikView/Loading-data-by-replacing-one-column-with-other-table-value/m-p/954992#M328280</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Not sure if I understand. If the mapping key is not found in MAP, applymap will return the search value. But you can use a third parameter to change it to Field2 from Table1:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-weight: inherit; font-style: inherit; font-family: inherit;"&gt;LOAD&lt;/P&gt;&lt;P style="font-weight: inherit; font-style: inherit; font-family: inherit;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Field1,&lt;/P&gt;&lt;P style="font-weight: inherit; font-style: inherit; font-family: inherit;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ApplyMap('MAP', Field1, Field2) as Field2&lt;/P&gt;&lt;P style="font-weight: inherit; font-style: inherit; font-family: inherit;"&gt;FROM Table1;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 06 Nov 2015 18:43:32 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Loading-data-by-replacing-one-column-with-other-table-value/m-p/954992#M328280</guid>
      <dc:creator>swuehl</dc:creator>
      <dc:date>2015-11-06T18:43:32Z</dc:date>
    </item>
    <item>
      <title>Re: Loading data by replacing one column with other table value</title>
      <link>https://community.qlik.com/t5/QlikView/Loading-data-by-replacing-one-column-with-other-table-value/m-p/954993#M328281</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yes, you are right! I used the 3rd parameter.&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 06 Nov 2015 18:51:02 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Loading-data-by-replacing-one-column-with-other-table-value/m-p/954993#M328281</guid>
      <dc:creator />
      <dc:date>2015-11-06T18:51:02Z</dc:date>
    </item>
  </channel>
</rss>

