<?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: Problems ussing Mapping and Applymap in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Problems-ussing-Mapping-and-Applymap/m-p/520895#M194594</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;Please look at the white papers that are attached to this post.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanks,&lt;/P&gt;&lt;P&gt;Rajesh Vaswani&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 22 Aug 2013 17:53:59 GMT</pubDate>
    <dc:creator>rajeshvaswani77</dc:creator>
    <dc:date>2013-08-22T17:53:59Z</dc:date>
    <item>
      <title>Problems ussing Mapping and Applymap</title>
      <link>https://community.qlik.com/t5/QlikView/Problems-ussing-Mapping-and-Applymap/m-p/520887#M194586</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi to all&lt;/P&gt;&lt;P&gt;Im trying to use the Mapping and ApplyMap concepts. But im having problems.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Let me explain the goal that i wanna to achieve:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The main problem its that i have a huge database in terms of quantity of records. around 15 millons per week.&lt;/P&gt;&lt;P&gt;The problem its that i have to find the way to reduce the cost of memory used to load all the records.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So, one options its the mapping way, as i read in others post. If someone have other solutions, please, feel free to tell it.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So. My idea its to bring out those fields that are used to describe something, like type of Call, or Vendor, and so on.&lt;/P&gt;&lt;P&gt;I have not a paralel database with cod and description so, the first thing i do its to create one with a group by command:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ResumenCALLCENTER:&lt;/P&gt;&lt;P&gt;load&lt;/P&gt;&lt;P&gt;&amp;nbsp; CALLCENTER,&lt;/P&gt;&lt;P&gt;&amp;nbsp; count(DISTINCT CALLCENTER) as Cuenta&lt;/P&gt;&lt;P&gt;resident Llamados_Tot&lt;/P&gt;&lt;P&gt;group by CALLCENTER;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Then, i try to apply the mapping concept:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;MATCHCALLCENTER:&lt;/P&gt;&lt;P&gt;Mapping LOAD&lt;/P&gt;&lt;P&gt;&amp;nbsp; AutoNumber(CALLCENTER) as Codigo_CALLCENTER,&lt;/P&gt;&lt;P&gt;&amp;nbsp; CALLCENTER&lt;/P&gt;&lt;P&gt;Resident ResumenCALLCENTER;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I use the autonumber functions because, like i said, i have not a reference database.&lt;/P&gt;&lt;P&gt;After that, i try to apply the applymap concept in load sentence:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;LLAMADOS_EXT:&lt;/P&gt;&lt;P&gt;LOAD IDCALL, &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; IDCALL_Cont, &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ORIGEN, &lt;/P&gt;&lt;P&gt; &lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; ApplyMap('MATCHCALLCENTER', CALLCENTER, 'SinDatos') AS CALLCENTER, &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt; &lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; vendedor&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;FROM&lt;/P&gt;&lt;P&gt;E:\Datos\Llamados_Ext_Bim_012013.qvd (qvd);&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What im doing in the wron way? If I replace "CALLCENTER" by Codigo_CALLCENTER in the applymap sentence, it doesnt work.&lt;/P&gt;&lt;P&gt;And in this way, it works but returns allways "SinDatos"&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Someone can help me?&lt;/P&gt;&lt;P&gt;Thanks. Regards.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 22 Aug 2013 16:13:11 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Problems-ussing-Mapping-and-Applymap/m-p/520887#M194586</guid>
      <dc:creator />
      <dc:date>2013-08-22T16:13:11Z</dc:date>
    </item>
    <item>
      <title>Re: Problems ussing Mapping and Applymap</title>
      <link>https://community.qlik.com/t5/QlikView/Problems-ussing-Mapping-and-Applymap/m-p/520888#M194587</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;How ApplyMap works in the below case is :&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;ApplyMap('MATCHCALLCENTER', CALLCENTER, 'SinDatos') AS CALLCENTER,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;it will try to match each&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;CALLCENTER value in &lt;/SPAN&gt;E:\Datos\Llamados_Ext_Bim_012013.qvd&lt;/P&gt;&lt;P&gt;with the &lt;/P&gt;&lt;P&gt;AutoNumber(CALLCENTER) as Codigo_CALLCENTER in &lt;SPAN style="font-size: 10pt;"&gt;MATCHCALLCENTER.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;If it find a match then it returns &lt;/SPAN&gt;&lt;BR /&gt;matching CALLCENTER value from &lt;SPAN style="font-size: 10pt;"&gt;MATCHCALLCENTER &lt;/SPAN&gt;or else SinDatos.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Abey&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 22 Aug 2013 16:20:22 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Problems-ussing-Mapping-and-Applymap/m-p/520888#M194587</guid>
      <dc:creator>abeyphilip</dc:creator>
      <dc:date>2013-08-22T16:20:22Z</dc:date>
    </item>
    <item>
      <title>Re: Problems ussing Mapping and Applymap</title>
      <link>https://community.qlik.com/t5/QlikView/Problems-ussing-Mapping-and-Applymap/m-p/520889#M194588</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;You could pass autonumber(CALLCENTER) to teh applymap.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;tahnks,&lt;/P&gt;&lt;P&gt;Rajesh Vaswani&lt;/P&gt;&lt;P&gt;&lt;BR /&gt; &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 22 Aug 2013 16:24:18 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Problems-ussing-Mapping-and-Applymap/m-p/520889#M194588</guid>
      <dc:creator>rajeshvaswani77</dc:creator>
      <dc:date>2013-08-22T16:24:18Z</dc:date>
    </item>
    <item>
      <title>Re: Problems ussing Mapping and Applymap</title>
      <link>https://community.qlik.com/t5/QlikView/Problems-ussing-Mapping-and-Applymap/m-p/520890#M194589</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks for the answer Abey, but, i have not yet clear what im doing wrong, because the only value that im receiveing its the "SinDatos" value for those cases that are not matched...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Could you give me some idea?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 22 Aug 2013 16:26:25 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Problems-ussing-Mapping-and-Applymap/m-p/520890#M194589</guid>
      <dc:creator />
      <dc:date>2013-08-22T16:26:25Z</dc:date>
    </item>
    <item>
      <title>Re: Problems ussing Mapping and Applymap</title>
      <link>https://community.qlik.com/t5/QlikView/Problems-ussing-Mapping-and-Applymap/m-p/520891#M194590</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Rajesh, could you give me a sintaxis example ?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 22 Aug 2013 16:28:27 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Problems-ussing-Mapping-and-Applymap/m-p/520891#M194590</guid>
      <dc:creator />
      <dc:date>2013-08-22T16:28:27Z</dc:date>
    </item>
    <item>
      <title>Re: Problems ussing Mapping and Applymap</title>
      <link>https://community.qlik.com/t5/QlikView/Problems-ussing-Mapping-and-Applymap/m-p/520892#M194591</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Please use Applymap('MATCHCALLCENTER',autonumber(CALLCENTER),'Sindatos') as CALLCENTER&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt; &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 22 Aug 2013 16:32:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Problems-ussing-Mapping-and-Applymap/m-p/520892#M194591</guid>
      <dc:creator>rajeshvaswani77</dc:creator>
      <dc:date>2013-08-22T16:32:04Z</dc:date>
    </item>
    <item>
      <title>Re: Problems ussing Mapping and Applymap</title>
      <link>https://community.qlik.com/t5/QlikView/Problems-ussing-Mapping-and-Applymap/m-p/520893#M194592</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;German,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I don't think you can use Autonumber this way... The function Autonumber guarantees to translate an identical string to an identical number &lt;STRONG&gt;within the same QVW document&lt;/STRONG&gt;.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When you are loading data from a QVD file, generated in other application, the Autonumber function used there won't return the same results as the autonumber function here.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Also, when you are loading a HUGE QVD file, you need to keep the load statement clear of any additional calculations, to preserve the "optimized load". Adding autonumber there will make the load non-optimizied, which is much slower.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you describe exactly what are you trying to accomplish here, I can try to help with the correct syntax.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Oleg Troyansky&lt;/P&gt;&lt;P&gt;&lt;A href="http://www.masterssummit.com/"&gt;www.masterssummit.com&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://www.naturalsynergies.com/"&gt;www.naturalsynergies.com&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 22 Aug 2013 16:46:24 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Problems-ussing-Mapping-and-Applymap/m-p/520893#M194592</guid>
      <dc:creator>Oleg_Troyansky</dc:creator>
      <dc:date>2013-08-22T16:46:24Z</dc:date>
    </item>
    <item>
      <title>Re: Problems ussing Mapping and Applymap</title>
      <link>https://community.qlik.com/t5/QlikView/Problems-ussing-Mapping-and-Applymap/m-p/520894#M194593</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Oleg&lt;/P&gt;&lt;P&gt;thanks for your time&lt;/P&gt;&lt;P&gt;In the first part of my question i described what im looking for:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;"The main problem its that i have a huge database in terms of quantity of records. around 15 millons per week.&lt;/P&gt;&lt;P style="font-size: 12.800000190734863px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;The problem its that&lt;STRONG&gt; i have to find the way to reduce the cost of memory used&lt;/STRONG&gt; to load all the records."&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can you help me ?&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 22 Aug 2013 17:48:01 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Problems-ussing-Mapping-and-Applymap/m-p/520894#M194593</guid>
      <dc:creator />
      <dc:date>2013-08-22T17:48:01Z</dc:date>
    </item>
    <item>
      <title>Re: Problems ussing Mapping and Applymap</title>
      <link>https://community.qlik.com/t5/QlikView/Problems-ussing-Mapping-and-Applymap/m-p/520895#M194594</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;Please look at the white papers that are attached to this post.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanks,&lt;/P&gt;&lt;P&gt;Rajesh Vaswani&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 22 Aug 2013 17:53:59 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Problems-ussing-Mapping-and-Applymap/m-p/520895#M194594</guid>
      <dc:creator>rajeshvaswani77</dc:creator>
      <dc:date>2013-08-22T17:53:59Z</dc:date>
    </item>
    <item>
      <title>Re: Problems ussing Mapping and Applymap</title>
      <link>https://community.qlik.com/t5/QlikView/Problems-ussing-Mapping-and-Applymap/m-p/520896#M194595</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;A _jive_internal="true" href="https://community.qlik.com/message/313963#313963"&gt;http://community.qlik.com/message/313963#313963&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 22 Aug 2013 17:54:21 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Problems-ussing-Mapping-and-Applymap/m-p/520896#M194595</guid>
      <dc:creator>rajeshvaswani77</dc:creator>
      <dc:date>2013-08-22T17:54:21Z</dc:date>
    </item>
    <item>
      <title>Re: Problems ussing Mapping and Applymap</title>
      <link>https://community.qlik.com/t5/QlikView/Problems-ussing-Mapping-and-Applymap/m-p/520897#M194596</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;German,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;this is a very open question, it would probably require a consulting engagement to review your data model and to find where you can save memory. I teach a whole 2-hour session just on that topic at the Masters Summit event (check it out, by the way).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Looking at your code, I don' believe that applying Mapping to the CALLCENTER field could contribute to memory savings. You should find and download tools like QlikVIew Optimizer, or Document Analyzer from Rob Wunderlich (www.robwunderlich.com) and try to analyze your memory footprint and how it can be reduced.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you have a specific question on a specific memory-saving technique, I'd be happy to answer it here.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;cheers,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Oleg Troyansky&lt;/P&gt;&lt;P&gt;&lt;A href="http://www.masterssummit.com/"&gt;www.masterssummit.com&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://www.naturalsynergies.com/blog"&gt;www.naturalsynergies.com/blog&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 22 Aug 2013 18:21:07 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Problems-ussing-Mapping-and-Applymap/m-p/520897#M194596</guid>
      <dc:creator>Oleg_Troyansky</dc:creator>
      <dc:date>2013-08-22T18:21:07Z</dc:date>
    </item>
    <item>
      <title>Re: Problems ussing Mapping and Applymap</title>
      <link>https://community.qlik.com/t5/QlikView/Problems-ussing-Mapping-and-Applymap/m-p/520898#M194597</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks, but no one of the articules speek about treatment of big cuantyties of datas endeed...&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 22 Aug 2013 19:15:52 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Problems-ussing-Mapping-and-Applymap/m-p/520898#M194597</guid>
      <dc:creator />
      <dc:date>2013-08-22T19:15:52Z</dc:date>
    </item>
  </channel>
</rss>

