<?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: Need help to create a query in expression level in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Need-help-to-create-a-query-in-expression-level/m-p/762420#M271084</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Generaly you could perform these calculations within a gui-expression. If there are enough selections or there aren't thousands of rows in table-charts the performance could be sufficient. You should simply try it.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Within the script you could use an incremental logic - &lt;A href="https://community.qlik.com/docs/DOC-4597"&gt;Incremental Load&lt;/A&gt; - or create extra tables with the count(month) and so on which are linked by a keyfield or used per mapping and applymap().&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But you should also have a look on your RAM (taskmanager) and your working sets properties then if qlik used the virtual RAM it would be very slow. Also to avoid a resident load and load from a qvd could improve the performance.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;- Marcus&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 04 Nov 2014 15:35:25 GMT</pubDate>
    <dc:creator>marcus_sommer</dc:creator>
    <dc:date>2014-11-04T15:35:25Z</dc:date>
    <item>
      <title>Need help to create a query in expression level</title>
      <link>https://community.qlik.com/t5/QlikView/Need-help-to-create-a-query-in-expression-level/m-p/762419#M271083</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi all,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have Six fields which are loaded by a resident table having where clause n group by.&lt;/P&gt;&lt;P&gt;below is my sample script for your reference.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;volume:&lt;BR /&gt;LOAD &lt;BR /&gt;BUSINESS,&lt;BR /&gt;ULTIMATE_NAME,&lt;BR /&gt;LEVEL1,&lt;BR /&gt;LEVEL2,&lt;BR /&gt;DIRECT,&lt;BR /&gt;sum(RECEIPT_AMOUNT)/Count(DISTINCT(MONTH)) as RECEIPT_AMOUNT&lt;/P&gt;&lt;P&gt;Resident sometablename&lt;/P&gt;&lt;P&gt;where DATE &amp;gt; num(DATE('09/01/2013', 'MM/DD/YYYY' ))and DATE &amp;lt;num(DATE('08/31/2014', 'MM/DD/YYYY' ))&lt;BR /&gt;and FLAG='CLOSED'&lt;BR /&gt;Group by BUSINESS,ULTIMATE_NAME,BUSINESS_LEVEL1,BUSINESS_LEVEL2,DIRECT;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;the above query&amp;nbsp; is talking one hour to complete the full reload because of the group by and where conditions&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Now My requirement is to decrease the reload time &lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;with creating same query in &lt;STRONG&gt;expression level&lt;/STRONG&gt; is it possible&lt;/P&gt;&lt;P&gt;could any one please help to get the same..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;venky.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 04 Nov 2014 14:15:59 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Need-help-to-create-a-query-in-expression-level/m-p/762419#M271083</guid>
      <dc:creator />
      <dc:date>2014-11-04T14:15:59Z</dc:date>
    </item>
    <item>
      <title>Re: Need help to create a query in expression level</title>
      <link>https://community.qlik.com/t5/QlikView/Need-help-to-create-a-query-in-expression-level/m-p/762420#M271084</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Generaly you could perform these calculations within a gui-expression. If there are enough selections or there aren't thousands of rows in table-charts the performance could be sufficient. You should simply try it.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Within the script you could use an incremental logic - &lt;A href="https://community.qlik.com/docs/DOC-4597"&gt;Incremental Load&lt;/A&gt; - or create extra tables with the count(month) and so on which are linked by a keyfield or used per mapping and applymap().&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But you should also have a look on your RAM (taskmanager) and your working sets properties then if qlik used the virtual RAM it would be very slow. Also to avoid a resident load and load from a qvd could improve the performance.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;- Marcus&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 04 Nov 2014 15:35:25 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Need-help-to-create-a-query-in-expression-level/m-p/762420#M271084</guid>
      <dc:creator>marcus_sommer</dc:creator>
      <dc:date>2014-11-04T15:35:25Z</dc:date>
    </item>
  </channel>
</rss>

