<?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: Applymap change in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Applymap-change/m-p/702975#M673169</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Woops!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Yes, you need to Load Distinct after the join.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The result will depend on your data in TRADESPLITS.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Marty.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 19 Aug 2014 10:13:26 GMT</pubDate>
    <dc:creator>martynlloyd</dc:creator>
    <dc:date>2014-08-19T10:13:26Z</dc:date>
    <item>
      <title>Applymap change</title>
      <link>https://community.qlik.com/t5/QlikView/Applymap-change/m-p/702969#M673162</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Our team's Qlikview developer has changed the underlying data model and moved the DESK field, from a table called TRADES to another one called TRADESPLITS. Therefore my mapping script below no longer works, as i now get the error;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;"Field not found - &amp;lt;DESK&amp;gt;"&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My script is as follows&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;MapProduct:&lt;/P&gt;&lt;P&gt;Mapping LOAD&lt;/P&gt;&lt;P&gt;DESKS &amp;amp; SECTORS as Key, &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; PRODUCT&lt;/P&gt;&lt;P&gt;Resident ProductMappings;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;TRADES:&lt;/P&gt;&lt;P&gt;LOAD&lt;/P&gt;&lt;P&gt;*,&lt;/P&gt;&lt;P&gt;ApplyMap('MapProduct',DESK,ApplyMap('MapProduct',SECTOR, Null())) as PRODUCT&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Resident Trade_Temp;&lt;/P&gt;&lt;P&gt;Drop Tables&amp;nbsp; Trade_Temp,ProductMappings;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;How can I amend this segment of the script to ensure it works? Previously the SECTOR field and DESK field were both in the TRADES table.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The full script is attached for extra clarity if needed.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 19 Aug 2014 09:32:17 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Applymap-change/m-p/702969#M673162</guid>
      <dc:creator />
      <dc:date>2014-08-19T09:32:17Z</dc:date>
    </item>
    <item>
      <title>Re: Applymap change</title>
      <link>https://community.qlik.com/t5/QlikView/Applymap-change/m-p/702970#M673164</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Try applying first Applymap and then use the field in next one &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 19 Aug 2014 09:35:12 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Applymap-change/m-p/702970#M673164</guid>
      <dc:creator>sujeetsingh</dc:creator>
      <dc:date>2014-08-19T09:35:12Z</dc:date>
    </item>
    <item>
      <title>Re: Applymap change</title>
      <link>https://community.qlik.com/t5/QlikView/Applymap-change/m-p/702971#M673165</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Better if you use two Maping tables&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 19 Aug 2014 09:38:30 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Applymap-change/m-p/702971#M673165</guid>
      <dc:creator>sujeetsingh</dc:creator>
      <dc:date>2014-08-19T09:38:30Z</dc:date>
    </item>
    <item>
      <title>Re: Applymap change</title>
      <link>https://community.qlik.com/t5/QlikView/Applymap-change/m-p/702972#M673166</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Sounds like you need to join TRADES with TRADESPLITS&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;TRADES:&lt;/P&gt;&lt;P&gt;LOAD&lt;/P&gt;&lt;P&gt;*,&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 (TRADES)&lt;/P&gt;&lt;P&gt;LOAD&lt;/P&gt;&lt;P&gt;Key1,&lt;/P&gt;&lt;P&gt;Key2,&lt;/P&gt;&lt;P&gt;ApplyMap('MapProduct',DESK,ApplyMap('MapProduct',SECTOR, Null())) as PRODUCT&lt;/P&gt;&lt;P&gt;Resident TRADESPLITS&lt;/P&gt;&lt;P&gt;;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 19 Aug 2014 09:42:57 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Applymap-change/m-p/702972#M673166</guid>
      <dc:creator>martynlloyd</dc:creator>
      <dc:date>2014-08-19T09:42:57Z</dc:date>
    </item>
    <item>
      <title>Re: Applymap change</title>
      <link>https://community.qlik.com/t5/QlikView/Applymap-change/m-p/702973#M673167</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Would this not duplicate the data in the TRADES table though? Currently one trade can have many splits, so is it wise to change that architecture?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 19 Aug 2014 10:03:15 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Applymap-change/m-p/702973#M673167</guid>
      <dc:creator />
      <dc:date>2014-08-19T10:03:15Z</dc:date>
    </item>
    <item>
      <title>Re: Applymap change</title>
      <link>https://community.qlik.com/t5/QlikView/Applymap-change/m-p/702974#M673168</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;What exactly do you mean? One for the SECTOR field and one for the DESK field?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 19 Aug 2014 10:05:57 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Applymap-change/m-p/702974#M673168</guid>
      <dc:creator />
      <dc:date>2014-08-19T10:05:57Z</dc:date>
    </item>
    <item>
      <title>Re: Applymap change</title>
      <link>https://community.qlik.com/t5/QlikView/Applymap-change/m-p/702975#M673169</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Woops!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Yes, you need to Load Distinct after the join.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The result will depend on your data in TRADESPLITS.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Marty.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 19 Aug 2014 10:13:26 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Applymap-change/m-p/702975#M673169</guid>
      <dc:creator>martynlloyd</dc:creator>
      <dc:date>2014-08-19T10:13:26Z</dc:date>
    </item>
    <item>
      <title>Re: Applymap change</title>
      <link>https://community.qlik.com/t5/QlikView/Applymap-change/m-p/702976#M673170</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Alex,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Given the fundamental change to your data model, I'm wondering maybe you should reconsider your approach, and accepting that DESK is now in the other table, you should map PRODUCT in that table.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I take it that both tables exist in the App? Better to use a little bit of memory and keep it simple...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Marty.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 19 Aug 2014 10:18:35 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Applymap-change/m-p/702976#M673170</guid>
      <dc:creator>martynlloyd</dc:creator>
      <dc:date>2014-08-19T10:18:35Z</dc:date>
    </item>
    <item>
      <title>Re: Applymap change</title>
      <link>https://community.qlik.com/t5/QlikView/Applymap-change/m-p/702977#M673171</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Alex, As per my understanding, you changes the table structure (field names). So on QVD Loader stage rename the fields into OLD field names to avoid other changes on the Design Layer.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 19 Aug 2014 13:19:20 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Applymap-change/m-p/702977#M673171</guid>
      <dc:creator />
      <dc:date>2014-08-19T13:19:20Z</dc:date>
    </item>
  </channel>
</rss>

