<?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: Performance-Opt: ApplyMap instead of long WHERE-statement in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Performance-Opt-ApplyMap-instead-of-long-WHERE-statement/m-p/1707986#M723982</link>
    <description>&lt;P&gt;If you are loading from QVD, an even better and faster approach is exists()&lt;/P&gt;&lt;P&gt;&lt;FONT face="courier new,courier"&gt;TempCol:&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;LOAD * INLINE [&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;col&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;test&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;dummy&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;try&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;];&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="courier new,courier"&gt;Mydata:&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;LOAD *&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;FROM myqvd.qvd (qvd)&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;Where Not Exists(col);&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="courier new,courier"&gt;DROP Table TempCol;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;-Rob&lt;BR /&gt;&lt;A href="http://masterssummit.com" target="_blank" rel="noopener"&gt;http://masterssummit.com&lt;/A&gt;&lt;BR /&gt;&lt;A href="http://qlikviewcookbook.com" target="_blank" rel="noopener"&gt;http://qlikviewcookbook.com&lt;/A&gt;&lt;BR /&gt;&lt;A href="http://www.easyqlik.com" target="_blank" rel="noopener"&gt;http://www.easyqlik.com&lt;/A&gt;&lt;/P&gt;</description>
    <pubDate>Thu, 04 Jun 2020 16:52:52 GMT</pubDate>
    <dc:creator>rwunderlich</dc:creator>
    <dc:date>2020-06-04T16:52:52Z</dc:date>
    <item>
      <title>Performance-Opt: ApplyMap instead of long WHERE-statement</title>
      <link>https://community.qlik.com/t5/QlikView/Performance-Opt-ApplyMap-instead-of-long-WHERE-statement/m-p/1706602#M723978</link>
      <description>&lt;P&gt;Hey,&lt;/P&gt;&lt;P&gt;since I work now since 2 months with QlikView and since my company has way to many QlikView-Reports and facing a problem of overall-run time, I want to focus as much as possible on runtime optimization as possible.&lt;/P&gt;&lt;P&gt;But, since also different users are using the same code, I also want to make the code 'pretty'.&lt;/P&gt;&lt;P&gt;So, here my general question, what you guys think:&lt;/P&gt;&lt;P&gt;classic code:&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Where col &amp;lt;&amp;gt; 'test' or col &amp;lt;&amp;gt; 'dummy' or col &amp;lt;&amp;gt; 'try';&lt;/P&gt;&lt;P&gt;my idea:&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Where IsNull( ApplyMap(col)&amp;nbsp; )&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&lt;/P&gt;&lt;P&gt;[I would of course put a map beforehand, where I only map 'test', 'dummy' and 'try' with NULL()]&lt;/P&gt;&lt;P&gt;What do you guys think, would it greatly impact the run time? Would you think the code would be easier to read?&lt;/P&gt;</description>
      <pubDate>Wed, 25 Nov 2020 16:16:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Performance-Opt-ApplyMap-instead-of-long-WHERE-statement/m-p/1706602#M723978</guid>
      <dc:creator>Frank_Kipry</dc:creator>
      <dc:date>2020-11-25T16:16:04Z</dc:date>
    </item>
    <item>
      <title>Re: Performance-Opt: ApplyMap instead of long WHERE-statement</title>
      <link>https://community.qlik.com/t5/QlikView/Performance-Opt-ApplyMap-instead-of-long-WHERE-statement/m-p/1706658#M723979</link>
      <description>&lt;P&gt;I think the easiest to read and write may be:&lt;/P&gt;&lt;DIV&gt;&lt;FONT face="courier new,courier"&gt;&lt;SPAN&gt;Where Match(col, 'test', 'dummy', 'try')&lt;/SPAN&gt;&lt;/FONT&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;I don't guess using a map would be significantly faster or slower, but give it a test if you are curious.&amp;nbsp;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;-Rob&lt;BR /&gt;&lt;A href="http://masterssummit.com" target="_blank" rel="noopener"&gt;http://masterssummit.com&lt;/A&gt;&lt;BR /&gt;&lt;A href="http://qlikviewcookbook.com" target="_blank" rel="noopener"&gt;http://qlikviewcookbook.com&lt;/A&gt;&lt;BR /&gt;&lt;A href="http://www.easyqlik.com" target="_blank" rel="noopener"&gt;http://www.easyqlik.com&lt;/A&gt;&lt;/SPAN&gt;&lt;/DIV&gt;</description>
      <pubDate>Fri, 29 May 2020 18:19:09 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Performance-Opt-ApplyMap-instead-of-long-WHERE-statement/m-p/1706658#M723979</guid>
      <dc:creator>rwunderlich</dc:creator>
      <dc:date>2020-05-29T18:19:09Z</dc:date>
    </item>
    <item>
      <title>Re: Performance-Opt: ApplyMap instead of long WHERE-statement</title>
      <link>https://community.qlik.com/t5/QlikView/Performance-Opt-ApplyMap-instead-of-long-WHERE-statement/m-p/1707340#M723980</link>
      <description>&lt;P&gt;Sorry for the late answer, we had a holiday yesterday, so I didn't look up the post.&lt;/P&gt;&lt;P&gt;Yeah, I was also thinking about match, but I was thinking of storing all parameters central on a tab...&lt;/P&gt;&lt;P&gt;But I just try it out, I was just wondering if someone else already had experience with it.&lt;/P&gt;&lt;P&gt;And thank you!!&lt;/P&gt;</description>
      <pubDate>Tue, 02 Jun 2020 06:16:41 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Performance-Opt-ApplyMap-instead-of-long-WHERE-statement/m-p/1707340#M723980</guid>
      <dc:creator>Frank_Kipry</dc:creator>
      <dc:date>2020-06-02T06:16:41Z</dc:date>
    </item>
    <item>
      <title>Re: Performance-Opt: ApplyMap instead of long WHERE-statement</title>
      <link>https://community.qlik.com/t5/QlikView/Performance-Opt-ApplyMap-instead-of-long-WHERE-statement/m-p/1707379#M723981</link>
      <description>&lt;P&gt;Ok, I found a nice history-table with 32 mio entries, and set the filter for 3 criteria (result: 170.000 entries).&lt;/P&gt;&lt;P&gt;with match it took 41sec, with mapping 48sec.&lt;/P&gt;&lt;P&gt;So, definitely not worth it.&lt;/P&gt;</description>
      <pubDate>Tue, 02 Jun 2020 08:34:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Performance-Opt-ApplyMap-instead-of-long-WHERE-statement/m-p/1707379#M723981</guid>
      <dc:creator>Frank_Kipry</dc:creator>
      <dc:date>2020-06-02T08:34:04Z</dc:date>
    </item>
    <item>
      <title>Re: Performance-Opt: ApplyMap instead of long WHERE-statement</title>
      <link>https://community.qlik.com/t5/QlikView/Performance-Opt-ApplyMap-instead-of-long-WHERE-statement/m-p/1707986#M723982</link>
      <description>&lt;P&gt;If you are loading from QVD, an even better and faster approach is exists()&lt;/P&gt;&lt;P&gt;&lt;FONT face="courier new,courier"&gt;TempCol:&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;LOAD * INLINE [&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;col&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;test&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;dummy&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;try&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;];&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="courier new,courier"&gt;Mydata:&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;LOAD *&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;FROM myqvd.qvd (qvd)&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;Where Not Exists(col);&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="courier new,courier"&gt;DROP Table TempCol;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;-Rob&lt;BR /&gt;&lt;A href="http://masterssummit.com" target="_blank" rel="noopener"&gt;http://masterssummit.com&lt;/A&gt;&lt;BR /&gt;&lt;A href="http://qlikviewcookbook.com" target="_blank" rel="noopener"&gt;http://qlikviewcookbook.com&lt;/A&gt;&lt;BR /&gt;&lt;A href="http://www.easyqlik.com" target="_blank" rel="noopener"&gt;http://www.easyqlik.com&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 04 Jun 2020 16:52:52 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Performance-Opt-ApplyMap-instead-of-long-WHERE-statement/m-p/1707986#M723982</guid>
      <dc:creator>rwunderlich</dc:creator>
      <dc:date>2020-06-04T16:52:52Z</dc:date>
    </item>
    <item>
      <title>Re: Performance-Opt: ApplyMap instead of long WHERE-statement</title>
      <link>https://community.qlik.com/t5/QlikView/Performance-Opt-ApplyMap-instead-of-long-WHERE-statement/m-p/1708044#M723983</link>
      <description>&lt;P&gt;Cool, thank you, I will try it out!&lt;/P&gt;</description>
      <pubDate>Thu, 04 Jun 2020 05:39:48 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Performance-Opt-ApplyMap-instead-of-long-WHERE-statement/m-p/1708044#M723983</guid>
      <dc:creator>Frank_Kipry</dc:creator>
      <dc:date>2020-06-04T05:39:48Z</dc:date>
    </item>
    <item>
      <title>Re: Performance-Opt: ApplyMap instead of long WHERE-statement</title>
      <link>https://community.qlik.com/t5/QlikView/Performance-Opt-ApplyMap-instead-of-long-WHERE-statement/m-p/1708297#M723984</link>
      <description>&lt;P&gt;Wooops. I just noticed that you were testing for not equals.&amp;nbsp; The where in. my example should include Not&lt;/P&gt;&lt;P&gt;&lt;FONT face="courier new,courier"&gt;&lt;SPAN&gt;Where &lt;STRONG&gt;Not&lt;/STRONG&gt; Exists(col);&lt;/SPAN&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;-Rob&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 04 Jun 2020 16:52:31 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Performance-Opt-ApplyMap-instead-of-long-WHERE-statement/m-p/1708297#M723984</guid>
      <dc:creator>rwunderlich</dc:creator>
      <dc:date>2020-06-04T16:52:31Z</dc:date>
    </item>
  </channel>
</rss>

