<?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: Nested Apply Map !? in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Nested-Apply-Map/m-p/921130#M650583</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Would you mind sharing your script?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 12 Aug 2015 15:44:21 GMT</pubDate>
    <dc:creator>Clever_Anjos</dc:creator>
    <dc:date>2015-08-12T15:44:21Z</dc:date>
    <item>
      <title>Nested Apply Map !?</title>
      <link>https://community.qlik.com/t5/QlikView/Nested-Apply-Map/m-p/921127#M650580</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I have a Table with over 30 million records.&lt;/P&gt;&lt;P&gt;It is to be used as to crete multiple ApplyMap wherein the checking field (the first field) is always the same for those ApplyMaps.&lt;/P&gt;&lt;P&gt;Cannot use the Associative concept here.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is there any way to optimize it , so that the Table is loaded only once but still maintain the ApplyMap.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Appreciate any help.&lt;/P&gt;&lt;P&gt;Thanks !&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 12 Aug 2015 15:15:01 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Nested-Apply-Map/m-p/921127#M650580</guid>
      <dc:creator />
      <dc:date>2015-08-12T15:15:01Z</dc:date>
    </item>
    <item>
      <title>Re: Nested Apply Map !?</title>
      <link>https://community.qlik.com/t5/QlikView/Nested-Apply-Map/m-p/921128#M650581</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;So your 30mil record table is a mapping table or other fact/dimension table?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 12 Aug 2015 15:21:05 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Nested-Apply-Map/m-p/921128#M650581</guid>
      <dc:creator>Qrishna</dc:creator>
      <dc:date>2015-08-12T15:21:05Z</dc:date>
    </item>
    <item>
      <title>Re: Nested Apply Map !?</title>
      <link>https://community.qlik.com/t5/QlikView/Nested-Apply-Map/m-p/921129#M650582</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;don't think&lt;/P&gt;&lt;P&gt;you can try to store the fields you need (first field + .....) in a qvd and load many times from that qvd (for the mapping tables) instead of many resident load&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 12 Aug 2015 15:22:05 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Nested-Apply-Map/m-p/921129#M650582</guid>
      <dc:creator>maxgro</dc:creator>
      <dc:date>2015-08-12T15:22:05Z</dc:date>
    </item>
    <item>
      <title>Re: Nested Apply Map !?</title>
      <link>https://community.qlik.com/t5/QlikView/Nested-Apply-Map/m-p/921130#M650583</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Would you mind sharing your script?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 12 Aug 2015 15:44:21 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Nested-Apply-Map/m-p/921130#M650583</guid>
      <dc:creator>Clever_Anjos</dc:creator>
      <dc:date>2015-08-12T15:44:21Z</dc:date>
    </item>
    <item>
      <title>Re: Nested Apply Map !?</title>
      <link>https://community.qlik.com/t5/QlikView/Nested-Apply-Map/m-p/921131#M650584</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;Its not a complex script actually.. its just the Data that is huge !&lt;/P&gt;&lt;P&gt;For your assistance I have mocked it ;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;TabA:&lt;/P&gt;&lt;P&gt;Key_ID,&lt;/P&gt;&lt;P&gt;Sys_Key,&lt;/P&gt;&lt;P&gt;Sys_Name,&lt;/P&gt;&lt;P&gt;Sys_Description;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;GetSysKey:&lt;/P&gt;&lt;P&gt;Mapping Load&lt;/P&gt;&lt;P&gt;Key_ID,&lt;/P&gt;&lt;P&gt;Sys_Key&lt;/P&gt;&lt;P&gt;resident TabA;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;GetSysName:&lt;/P&gt;&lt;P&gt;Mapping Load&lt;/P&gt;&lt;P&gt;Key_ID,&lt;/P&gt;&lt;P&gt;Sys_Name&lt;/P&gt;&lt;P&gt;resident TabA;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;....So on.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;These&amp;nbsp; Mapping tables will be used to fetch the respective fields... For all the Mapping Tables 'Key_ID' Is the Matching Key.&lt;/P&gt;&lt;P&gt;Is it helpful ?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 12 Aug 2015 15:53:16 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Nested-Apply-Map/m-p/921131#M650584</guid>
      <dc:creator />
      <dc:date>2015-08-12T15:53:16Z</dc:date>
    </item>
    <item>
      <title>Re: Nested Apply Map !?</title>
      <link>https://community.qlik.com/t5/QlikView/Nested-Apply-Map/m-p/921132#M650585</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;It can be taken as a&amp;nbsp; Dimension Table.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 12 Aug 2015 15:54:48 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Nested-Apply-Map/m-p/921132#M650585</guid>
      <dc:creator />
      <dc:date>2015-08-12T15:54:48Z</dc:date>
    </item>
    <item>
      <title>Re: Nested Apply Map !?</title>
      <link>https://community.qlik.com/t5/QlikView/Nested-Apply-Map/m-p/921133#M650586</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Its not possible i guess.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Your mapping table should always have 2 fields and not more than that. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So if you&amp;nbsp; want different mapping fields for different applymaps from the same 30mil record table, you have to load it multiple times as multiple mapping tables.. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;As&amp;nbsp;&amp;nbsp; &lt;A href="https://community.qlik.com/qlik-users/46026"&gt;massimop&lt;/A&gt;&lt;/P&gt;&lt;P&gt;suggested you can store the 30mil table in a qvd and load the required field into mapping tables.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 12 Aug 2015 16:06:33 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Nested-Apply-Map/m-p/921133#M650586</guid>
      <dc:creator>Qrishna</dc:creator>
      <dc:date>2015-08-12T16:06:33Z</dc:date>
    </item>
    <item>
      <title>Re: Nested Apply Map !?</title>
      <link>https://community.qlik.com/t5/QlikView/Nested-Apply-Map/m-p/921134#M650587</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;As &lt;A href="https://community.qlik.com/qlik-users/10670"&gt;maxgro&lt;/A&gt;‌ suggested, you could retrieve them from your QVD that could be more efficient than a resident read&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #000000;"&gt;GetSysKey:&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #000000;"&gt;Mapping Load&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #000000;"&gt;Key_ID,&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #000000;"&gt;Sys_Key&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #000000;"&gt;from yourqvd(qvd);&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #000000;"&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #000000;"&gt;GetSysName:&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #000000;"&gt;Mapping Load&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #000000;"&gt;Key_ID,&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #000000;"&gt;Sys_Name&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #000000;"&gt;&lt;SPAN style="color: #000000; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;from yourqvd(qvd);&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #000000;"&gt;&lt;SPAN style="color: #000000; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #000000;"&gt;&lt;SPAN style="color: #000000; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;and so on&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #000000;"&gt;&lt;SPAN style="color: #000000; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 12 Aug 2015 16:12:03 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Nested-Apply-Map/m-p/921134#M650587</guid>
      <dc:creator>Clever_Anjos</dc:creator>
      <dc:date>2015-08-12T16:12:03Z</dc:date>
    </item>
    <item>
      <title>Re: Nested Apply Map !?</title>
      <link>https://community.qlik.com/t5/QlikView/Nested-Apply-Map/m-p/921135#M650588</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You can try with one mapping table like below&amp;nbsp; and extract the values with sub field function.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;MAP_FIELDSTRING:&lt;/P&gt;&lt;P&gt;LOAD&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; KEY_ID,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN style="color: #000000; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;Sys_Key &amp;amp; '|' &amp;amp; &lt;SPAN style="color: #000000; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;Sys_Name &amp;amp; '|' &amp;amp; &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;Sys_Description AS ConcatedString&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;From source;&lt;/SPAN&gt;&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; KEY_ID,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; subfield(&lt;SPAN style="font-size: 13.3333330154419px;"&gt;ConcatedString,'|',1) as Sys_Key,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333330154419px;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; subfield(&lt;/SPAN&gt;&lt;SPAN style="font-size: 13.3333330154419px;"&gt;ConcatedString,'|',1) as &lt;SPAN style="color: #000000; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;Sys_Name&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;LOAD&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; KEY_ID,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ApplyMap('&lt;SPAN style="font-size: 13.3333330154419px;"&gt;MAP_FIELDSTRING',KEY_ID,null()) AS ConcatedString&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333330154419px;"&gt;From AnotherSource&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333330154419px;"&gt;;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 12 Aug 2015 20:08:59 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Nested-Apply-Map/m-p/921135#M650588</guid>
      <dc:creator />
      <dc:date>2015-08-12T20:08:59Z</dc:date>
    </item>
    <item>
      <title>Re: Nested Apply Map !?</title>
      <link>https://community.qlik.com/t5/QlikView/Nested-Apply-Map/m-p/921136#M650589</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I suggested from qvd because usually is faster than resident but, after some test, it seems that creating the mapping table with a resident load is faster than creating the same tables from a qvd&lt;/P&gt;&lt;P&gt;The reason seems to be the mapping load from a qvd isn't optimized (without mapping 00:00:35).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;this is the log with the time, 10M (not 30M) of records&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;12/08/2015 21:25:16&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;TabA &amp;lt;&amp;lt; AUTOGENERATE(10000000) 10.000.000 lines fetched&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;12/08/2015 21:26:24&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;time create TabA=00:01:08&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;12/08/2015 21:26:24&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;12/08/2015 21:26:54&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;time create qvd=00:00:30&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&lt;STRONG&gt;12/08/2015 21:26:54&lt;/STRONG&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;GetSysKey &amp;lt;&amp;lt; TabA 10.000.000 lines fetched&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;GetSysName &amp;lt;&amp;lt; TabA 10.000.000 lines fetched&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;GetSysDescription &amp;lt;&amp;lt; TabA 10.000.000 lines fetched&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&lt;STRONG&gt;12/08/2015 21:28:41&lt;/STRONG&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&lt;STRONG&gt;time create mapping table resident=00:01:47&lt;/STRONG&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&lt;STRONG&gt;12/08/2015 23:36:08&lt;/STRONG&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;GetSysKey &amp;lt;&amp;lt; Taba 10.000.000 lines fetched&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;GetSysName &amp;lt;&amp;lt; Taba 10.000.000 lines fetched&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;GetSysDescription &amp;lt;&amp;lt; Taba 10.000.000 lines fetched&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&lt;STRONG&gt;12/08/2015 23:38:18&lt;/STRONG&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;EM&gt;time create mapping table qvd=00:02:10&lt;/EM&gt;&lt;/STRONG&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;and this is the script if someone else want to check on his pc (you have to comment / uncomment the script to test the 2 diffferent way)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;SET ThousandSep=',';&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;SET DecimalSep='.';&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;SET MoneyThousandSep=',';&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;SET MoneyDecimalSep='.';&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;SET MoneyFormat='€ #.##0,00;-€ #.##0,00';&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;SET TimeFormat='hh:mm:ss';&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;SET DateFormat='DD/MM/YYYY';&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;SET TimestampFormat='DD/MM/YYYY hh:mm:ss[.fff]';&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;SET MonthNames='gen;feb;mar;apr;mag;giu;lug;ago;set;ott;nov;dic';&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;SET DayNames='lun;mar;mer;gio;ven;sab;dom';&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;////////////&amp;nbsp; make 10M records qvd&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;//let start=now(1); trace $(start);&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;//&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;//TabA:&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;//load&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;//rowno() as Key_ID,&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;//'key ' &amp;amp; rowno() as Sys_Key,&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;//Hash128(rand()*100000) as Sys_Name,&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;//Hash128(rand()*10000) as Sys_Description&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;//AutoGenerate 10000000;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;//&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;//let end=now(1); trace $(end);&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;//let diff= interval(rangemax('$(end)')-rangemax('$(start)')); &lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;//TRACE time create TabA=$(diff);&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;//&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;//////////// store qvd&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;//let start=now(1); trace $(start);&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;//&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;//store TabA into TabA.qvd (qvd);&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;//&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;//let end=now(1); trace $(end);&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;//let diff= interval(rangemax('$(end)')-rangemax('$(start)')); &lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;//TRACE time create qvd=$(diff);&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;//&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;//////////// mapping from resident&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;//let start=now(1); trace $(start);&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;//&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;//GetSysKey:&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;//Mapping Load&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;//Key_ID,&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;//Sys_Key&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;//resident TabA;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;// &lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;//GetSysName:&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;//Mapping Load&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;//Key_ID,&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;//Sys_Name&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;//resident TabA;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;//&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;//GetSysDescription:&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;//Mapping Load&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;//Key_ID,&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;//Sys_Description&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;//resident TabA;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;//&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;//let end=now(1); trace $(end);&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;//let diff= interval(rangemax('$(end)')-rangemax('$(start)')); &lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;//TRACE time create mapping table resident=$(diff);&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;//&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;//drop table TabA;&lt;/EM&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;&lt;P&gt;&lt;EM&gt;//////////// mapping from qvd&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;let start=now(1); trace $(start);&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;GetSysKey:&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;Mapping Load&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;Key_ID,&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;Sys_Key&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;from TabA.qvd (qvd);&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt; &lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;GetSysName:&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;Mapping Load&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;Key_ID,&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;Sys_Name&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;from TabA.qvd (qvd);&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;GetSysDescription:&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;Mapping Load&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;Key_ID,&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;Sys_Description&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;from TabA.qvd (qvd);&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;let end=now(1); trace $(end);&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;let diff= interval(rangemax('$(end)')-rangemax('$(start)')); &lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;TRACE time create mapping table qvd=$(diff);&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt; &lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt; &lt;/EM&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 12 Aug 2015 21:48:01 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Nested-Apply-Map/m-p/921136#M650589</guid>
      <dc:creator>maxgro</dc:creator>
      <dc:date>2015-08-12T21:48:01Z</dc:date>
    </item>
    <item>
      <title>Re: Nested Apply Map !?</title>
      <link>https://community.qlik.com/t5/QlikView/Nested-Apply-Map/m-p/921137#M650590</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;We always have to test more than one option &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 12 Aug 2015 23:01:58 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Nested-Apply-Map/m-p/921137#M650590</guid>
      <dc:creator>Clever_Anjos</dc:creator>
      <dc:date>2015-08-12T23:01:58Z</dc:date>
    </item>
    <item>
      <title>Re: Nested Apply Map !?</title>
      <link>https://community.qlik.com/t5/QlikView/Nested-Apply-Map/m-p/921138#M650591</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;Thanks response.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You mentioned creating 'one' Mapping table with the approach using SubField() on ConCat Field.&lt;/P&gt;&lt;P&gt;Won't 3 Apply map need 3 Diff Mapping Loads ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Would you mind explaining it again please ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks !&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 13 Aug 2015 09:45:55 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Nested-Apply-Map/m-p/921138#M650591</guid>
      <dc:creator />
      <dc:date>2015-08-13T09:45:55Z</dc:date>
    </item>
    <item>
      <title>Re: Nested Apply Map !?</title>
      <link>https://community.qlik.com/t5/QlikView/Nested-Apply-Map/m-p/921139#M650592</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;Thanks for the Reply.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Tested both ways - Resident and QVD load.&lt;/P&gt;&lt;P&gt;Yes , I agree somehow mapping load from a qvd isn't optimized !&lt;/P&gt;&lt;P&gt;I am still struggling with the load time though !&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 13 Aug 2015 09:48:36 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Nested-Apply-Map/m-p/921139#M650592</guid>
      <dc:creator />
      <dc:date>2015-08-13T09:48:36Z</dc:date>
    </item>
    <item>
      <title>Re: Nested Apply Map !?</title>
      <link>https://community.qlik.com/t5/QlikView/Nested-Apply-Map/m-p/921140#M650593</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;Thanks for the reply&amp;nbsp; &lt;A href="https://community.qlik.com/qlik-users/21667"&gt;cleveranjos&lt;/A&gt; .&lt;/P&gt;&lt;P&gt;Tried the suggested way,&amp;nbsp; Alas , isn't helping the load time!&lt;/P&gt;&lt;P&gt;appreciate any other suggestions.&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 13 Aug 2015 09:51:35 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Nested-Apply-Map/m-p/921140#M650593</guid>
      <dc:creator />
      <dc:date>2015-08-13T09:51:35Z</dc:date>
    </item>
    <item>
      <title>Re: Nested Apply Map !?</title>
      <link>https://community.qlik.com/t5/QlikView/Nested-Apply-Map/m-p/921141#M650594</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Try this approach&lt;/P&gt;&lt;P&gt;tmp: // this will be optimized&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #000000;"&gt;&lt;SPAN style="line-height: 1.5em;"&gt;Load&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #000000;"&gt;Key_ID,&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #000000;"&gt;Sys_Key&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #000000;"&gt;from yourqvd(qvd);&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #000000;"&gt;GetSysKey:&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #000000;"&gt;Mapping load * resident &lt;SPAN style="font-size: 13.3333330154419px;"&gt;tmp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #000000;"&gt;&lt;SPAN style="font-size: 13.3333330154419px;"&gt;drop table tmp;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 13 Aug 2015 11:55:47 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Nested-Apply-Map/m-p/921141#M650594</guid>
      <dc:creator>Clever_Anjos</dc:creator>
      <dc:date>2015-08-13T11:55:47Z</dc:date>
    </item>
    <item>
      <title>Re: Nested Apply Map !?</title>
      <link>https://community.qlik.com/t5/QlikView/Nested-Apply-Map/m-p/921142#M650595</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Basically you have 30M rows in dimension table. I believe you have some resource concerns to join the Dimension table into fact table. So you doing with ApplyMap. But with ApplyMap, you can add one one field with one mapping table. If you want 5 fields you need 5 mapping table assuming all the mapping tables haring one common key field.. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Instead of doing 5 mapping tables, create one mapping table first field is your Key Field and second key is concatenated of all 5 fields&amp;nbsp; needs to add to Fact table.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Map_Dim:&lt;/P&gt;&lt;P&gt;Mapping Load KeyID, Dim1&amp;amp;'|'&amp;amp;Dim2&amp;amp;'|'&amp;amp;Dim3&amp;amp;'|'&amp;amp;Dim4&amp;amp;'|'&amp;amp;DIm5 as Value&lt;/P&gt;&lt;P&gt;From DImension;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So use above mapping table to add the dimension values list &amp;amp; separate the values with subfield function.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 13 Aug 2015 18:01:58 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Nested-Apply-Map/m-p/921142#M650595</guid>
      <dc:creator />
      <dc:date>2015-08-13T18:01:58Z</dc:date>
    </item>
    <item>
      <title>Re: Nested Apply Map !?</title>
      <link>https://community.qlik.com/t5/QlikView/Nested-Apply-Map/m-p/921143#M650596</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank You &lt;A href="https://community.qlik.com/qlik-users/63925"&gt;dathu.qv&lt;/A&gt;‌ !! &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 14 Aug 2015 10:52:58 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Nested-Apply-Map/m-p/921143#M650596</guid>
      <dc:creator />
      <dc:date>2015-08-14T10:52:58Z</dc:date>
    </item>
  </channel>
</rss>

