<?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 Mapping problem in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Mapping-problem/m-p/291332#M108126</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have two tables.&lt;/P&gt;&lt;P&gt;The first table has two fields:&lt;/P&gt;&lt;P&gt;MaterialKey,&lt;/P&gt;&lt;P&gt;ConvFactor&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The second table has &lt;/P&gt;&lt;P&gt;MaterialKey,&lt;/P&gt;&lt;P&gt;Quantity&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I need to get the second table to have a field that is "Quantity(from second table)&amp;nbsp;&amp;nbsp; *&amp;nbsp; ConFactor(from first table) as ConvQuantity".&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can't seem to get this to work with mapping table.&lt;/P&gt;&lt;P&gt;Help!&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Stephen&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 26 Sep 2011 17:15:55 GMT</pubDate>
    <dc:creator />
    <dc:date>2011-09-26T17:15:55Z</dc:date>
    <item>
      <title>Mapping problem</title>
      <link>https://community.qlik.com/t5/QlikView/Mapping-problem/m-p/291332#M108126</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have two tables.&lt;/P&gt;&lt;P&gt;The first table has two fields:&lt;/P&gt;&lt;P&gt;MaterialKey,&lt;/P&gt;&lt;P&gt;ConvFactor&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The second table has &lt;/P&gt;&lt;P&gt;MaterialKey,&lt;/P&gt;&lt;P&gt;Quantity&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I need to get the second table to have a field that is "Quantity(from second table)&amp;nbsp;&amp;nbsp; *&amp;nbsp; ConFactor(from first table) as ConvQuantity".&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can't seem to get this to work with mapping table.&lt;/P&gt;&lt;P&gt;Help!&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Stephen&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 26 Sep 2011 17:15:55 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Mapping-problem/m-p/291332#M108126</guid>
      <dc:creator />
      <dc:date>2011-09-26T17:15:55Z</dc:date>
    </item>
    <item>
      <title>Re: Mapping problem</title>
      <link>https://community.qlik.com/t5/QlikView/Mapping-problem/m-p/291333#M108127</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;Something like this (adjust to your data sources):&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE __default_attr="plain" __jive_macro_name="code" class="jive_text_macro jive_macro_code"&gt;&lt;P&gt;FactorMap:&lt;/P&gt;&lt;P&gt;Mapping LOAD MaterialKey,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; ConvFactor&lt;/P&gt;&lt;P&gt;From .....;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Data:&lt;/P&gt;&lt;P&gt;LOAD &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; MaterialKey,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Quantity,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ApplyMap('FactorMap' , MaterialKey, 0) AS ConvFactor&lt;/P&gt;&lt;P&gt;From ... ;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The 3rd parameter of ApplyMap is the value to use if the MaterialKey cannot be found in the mapping table&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this helps&lt;/P&gt;&lt;P&gt;Jonathan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 26 Sep 2011 17:22:12 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Mapping-problem/m-p/291333#M108127</guid>
      <dc:creator>jonathandienst</dc:creator>
      <dc:date>2011-09-26T17:22:12Z</dc:date>
    </item>
    <item>
      <title>Re: Mapping problem</title>
      <link>https://community.qlik.com/t5/QlikView/Mapping-problem/m-p/291334#M108128</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;As mentioned by Jonathan&lt;/P&gt;&lt;P&gt;you can do &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-family: Consolas, 'Courier New', Courier, mono, serif; font-size: 12px; background-color: #f8f8f8;"&gt;ApplyMap('FactorMap' , MaterialKey, 0)&amp;nbsp; * &lt;SPAN style="color: #000000; font-family: Consolas, 'Courier New', Courier, mono, serif; font-size: 12px;"&gt;Quantity &lt;/SPAN&gt;AS Converted_Quantity&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-family: Consolas, 'Courier New', Courier, mono, serif; font-size: 12px; background-color: #f8f8f8;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-family: Consolas, 'Courier New', Courier, mono, serif; font-size: 12px; background-color: #f8f8f8;"&gt;while everything else being the same&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-family: Consolas, 'Courier New', Courier, mono, serif; font-size: 12px; background-color: #f8f8f8;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-family: Consolas, 'Courier New', Courier, mono, serif; font-size: 12px; background-color: #f8f8f8;"&gt;Thanks&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 30 Dec 2014 21:24:12 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Mapping-problem/m-p/291334#M108128</guid>
      <dc:creator />
      <dc:date>2014-12-30T21:24:12Z</dc:date>
    </item>
  </channel>
</rss>

