<?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: optimize the script in App Development</title>
    <link>https://community.qlik.com/t5/App-Development/optimize-the-script/m-p/1545493#M62807</link>
    <description>&lt;PRE&gt;VEH_STOCK:
load Clave_CompraDetalle_Kardex_Vehiculo,
Fecha_Kardex,
If(Sum(Cantidad_Saldo)=0,'Sin Saldo','Con Saldo') as Estado_Saldo,
Group By Clave_CompraDetalle_Kardex_Vehiculo,Fecha_Kardex;
Load Distinct
Clave_CompraDetalle_Kardex_Vehiculo,
Fecha_Kardex,
Cantidad_Saldo
Resident VEH_KARDEX
Order By Clave_CompraDetalle_Kardex_Vehiculo,Fecha_Kardex;&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Have a look at the document&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.qlik.com/t5/QlikView-Documents/Optimize-Group-By-Performance/ta-p/1481470/page/2/show-comments/true" target="_blank"&gt;https://community.qlik.com/t5/QlikView-Documents/Optimize-Group-By-Performance/ta-p/1481470/page/2/show-comments/true&lt;/A&gt;&lt;/P&gt;</description>
    <pubDate>Sun, 17 Feb 2019 06:23:14 GMT</pubDate>
    <dc:creator>pradosh_thakur</dc:creator>
    <dc:date>2019-02-17T06:23:14Z</dc:date>
    <item>
      <title>optimize the script</title>
      <link>https://community.qlik.com/t5/App-Development/optimize-the-script/m-p/1545477#M62806</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Please help me!!!!... I whan to optimize my sentences of my script:&lt;/P&gt;&lt;P&gt;VEH_STOCK:&lt;BR /&gt;Load Distinct&lt;BR /&gt;Clave_CompraDetalle_Kardex_Vehiculo,&lt;BR /&gt;If(Sum(Cantidad_Saldo)=0,'Sin Saldo','Con Saldo') as Estado_Saldo&lt;BR /&gt;Resident VEH_KARDEX&lt;BR /&gt;Group By Clave_CompraDetalle_Kardex_Vehiculo,Fecha_Kardex;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;This code has problems of optimization, What can I do to change the script?&lt;/P&gt;</description>
      <pubDate>Mon, 20 Dec 2021 21:38:40 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/optimize-the-script/m-p/1545477#M62806</guid>
      <dc:creator>olguita2014</dc:creator>
      <dc:date>2021-12-20T21:38:40Z</dc:date>
    </item>
    <item>
      <title>Re: optimize the script</title>
      <link>https://community.qlik.com/t5/App-Development/optimize-the-script/m-p/1545493#M62807</link>
      <description>&lt;PRE&gt;VEH_STOCK:
load Clave_CompraDetalle_Kardex_Vehiculo,
Fecha_Kardex,
If(Sum(Cantidad_Saldo)=0,'Sin Saldo','Con Saldo') as Estado_Saldo,
Group By Clave_CompraDetalle_Kardex_Vehiculo,Fecha_Kardex;
Load Distinct
Clave_CompraDetalle_Kardex_Vehiculo,
Fecha_Kardex,
Cantidad_Saldo
Resident VEH_KARDEX
Order By Clave_CompraDetalle_Kardex_Vehiculo,Fecha_Kardex;&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Have a look at the document&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.qlik.com/t5/QlikView-Documents/Optimize-Group-By-Performance/ta-p/1481470/page/2/show-comments/true" target="_blank"&gt;https://community.qlik.com/t5/QlikView-Documents/Optimize-Group-By-Performance/ta-p/1481470/page/2/show-comments/true&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Sun, 17 Feb 2019 06:23:14 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/optimize-the-script/m-p/1545493#M62807</guid>
      <dc:creator>pradosh_thakur</dc:creator>
      <dc:date>2019-02-17T06:23:14Z</dc:date>
    </item>
    <item>
      <title>Re: optimize the script</title>
      <link>https://community.qlik.com/t5/App-Development/optimize-the-script/m-p/1545577#M62808</link>
      <description>&lt;P&gt;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/16186"&gt;@pradosh_thakur&lt;/a&gt;&amp;nbsp; Qlik internally optimize as always using Order By clause. Preferably like&lt;/P&gt;&lt;PRE&gt;Temp: &lt;FONT color="#008000"&gt;// Temp table applied descending order with all rows from fields mentioned&lt;/FONT&gt;&lt;BR /&gt;Load Clave_CompraDetalle_Kardex_Vehiculo, Fecha_Kardex, Cantidad_Saldo &lt;BR /&gt;Resident VEH_KARDEX &lt;BR /&gt;Order By Clave_CompraDetalle_Kardex_Vehiculo,Fecha_Kardex;&lt;BR /&gt;VEH_STOCK: &lt;FONT color="#008000"&gt;// This is the final table, &lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#008000"&gt;Where It can optimize the way of concepts with aggregate functions&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#FF0000"&gt;&lt;STRONG&gt;NoConcatenate&lt;/STRONG&gt;&lt;/FONT&gt;
load Clave_CompraDetalle_Kardex_Vehiculo,
Fecha_Kardex,
If(Sum(Cantidad_Saldo)=0,'Sin Saldo','Con Saldo') as Estado_Saldo,
Group By Clave_CompraDetalle_Kardex_Vehiculo,Fecha_Kardex;&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 18 Feb 2019 04:02:10 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/optimize-the-script/m-p/1545577#M62808</guid>
      <dc:creator>Anil_Babu_Samineni</dc:creator>
      <dc:date>2019-02-18T04:02:10Z</dc:date>
    </item>
  </channel>
</rss>

