<?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 in order to replace multiple rows in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Mapping-in-order-to-replace-multiple-rows/m-p/1207531#M387840</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks Sunny. Great solution.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 07 Oct 2016 17:17:01 GMT</pubDate>
    <dc:creator />
    <dc:date>2016-10-07T17:17:01Z</dc:date>
    <item>
      <title>Mapping in order to replace multiple rows</title>
      <link>https://community.qlik.com/t5/QlikView/Mapping-in-order-to-replace-multiple-rows/m-p/1207528#M387837</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi I have the attached sample data. Effectively a main table with the associated lookup on the second tab to replace department and business unit matching on sales_id. As compared to a left join I want to keep the original department and business unit values from the main table. Is there an easy way to do this rather than write 3 separate mapping loads ?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 07 Oct 2016 13:58:18 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Mapping-in-order-to-replace-multiple-rows/m-p/1207528#M387837</guid>
      <dc:creator />
      <dc:date>2016-10-07T13:58:18Z</dc:date>
    </item>
    <item>
      <title>Re: Mapping in order to replace multiple rows</title>
      <link>https://community.qlik.com/t5/QlikView/Mapping-in-order-to-replace-multiple-rows/m-p/1207529#M387838</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;May be something like this?&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 Sales_ID, &lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Department&amp;amp;'|'&amp;amp;[Business Unit]&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;FROM&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;[SAMPLE (1).xlsx]&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;(ooxml, embedded labels, table is Lookup);&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Sales:&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;LOAD Sales_ID, &lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Sales_amount, &lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Sales_Person, &lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Department, &lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; [Business Unit],&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; SubField(ApplyMap('MappingTable', Sales_ID, Department&amp;amp;'|'), '|', 1) as [New Department],&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; SubField(ApplyMap('MappingTable', Sales_ID, '|'&amp;amp;[Business Unit]), '|', 2) as [New Business Unit]&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;FROM&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;[SAMPLE (1).xlsx]&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;(ooxml, embedded labels, table is Sales);&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 07 Oct 2016 14:04:45 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Mapping-in-order-to-replace-multiple-rows/m-p/1207529#M387838</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2016-10-07T14:04:45Z</dc:date>
    </item>
    <item>
      <title>Re: Mapping in order to replace multiple rows</title>
      <link>https://community.qlik.com/t5/QlikView/Mapping-in-order-to-replace-multiple-rows/m-p/1207530#M387839</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;[TABLE]:&lt;/P&gt;&lt;P&gt;LOAD * Inline&lt;/P&gt;&lt;P&gt;[&lt;/P&gt;&lt;P&gt;Sales_ID, Sales_amount, Sales_Person, Department, Business Unit &lt;/P&gt;&lt;P&gt;100, 1000, Adam, HR, North &lt;/P&gt;&lt;P&gt;101, 2000, Michael, FINANCE, South&lt;/P&gt;&lt;P&gt;102, 5000, Page, IT, East&lt;/P&gt;&lt;P&gt;103, 3000, Jim, COMMERCIAL, West&lt;/P&gt;&lt;P&gt;104, 2000, Sarah, FACILITIES, East&lt;/P&gt;&lt;P&gt;];&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Left Join(TABLE)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;LOAD * Inline&lt;/P&gt;&lt;P&gt;[&lt;/P&gt;&lt;P&gt;Sales_ID, Business Unit 2&lt;/P&gt;&lt;P&gt;101, INTERNATIONAL&lt;/P&gt;&lt;P&gt;102, NATIONAL&lt;/P&gt;&lt;P&gt;103, STATE&lt;/P&gt;&lt;P&gt;];&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 07 Oct 2016 14:13:52 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Mapping-in-order-to-replace-multiple-rows/m-p/1207530#M387839</guid>
      <dc:creator>el_aprendiz111</dc:creator>
      <dc:date>2016-10-07T14:13:52Z</dc:date>
    </item>
    <item>
      <title>Re: Mapping in order to replace multiple rows</title>
      <link>https://community.qlik.com/t5/QlikView/Mapping-in-order-to-replace-multiple-rows/m-p/1207531#M387840</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks Sunny. Great solution.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 07 Oct 2016 17:17:01 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Mapping-in-order-to-replace-multiple-rows/m-p/1207531#M387840</guid>
      <dc:creator />
      <dc:date>2016-10-07T17:17:01Z</dc:date>
    </item>
  </channel>
</rss>

