<?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: slow performance on aggr and if stmt in App Development</title>
    <link>https://community.qlik.com/t5/App-Development/slow-performance-on-aggr-and-if-stmt/m-p/2158037#M93818</link>
    <description>&lt;P&gt;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/209953"&gt;@SK111&lt;/a&gt;&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;
&lt;P&gt;Try putting your expression in the script, something like:&lt;/P&gt;
&lt;PRE id="tw-target-text" class="tw-data-text tw-text-large tw-ta" dir="ltr" data-placeholder="Tradução" data-ved="2ahUKEwihxIurh8KDAxVZD7kGHTkiDP4Q3ewLegQIBRAQ"&gt;&lt;SPAN class="Y2IQFc"&gt;table:
LOAD
*,
identifier
IN [...]
(qvd);

left join (table)
load
identifier,
if(Min(cal_date) &amp;lt;= end_date and Max(cal_date) &amp;gt;= start_date, start_date) as start_date
resident test Group By identifier;&lt;/SPAN&gt;&lt;/PRE&gt;
&lt;P&gt;You can also see if the new window function is available in your version and work with it.&lt;BR /&gt;&lt;A href="https://help.qlik.com/pt-BR/sense/November2023/Subsystems/Hub/Content/Sense_Hub/Scripting/WindowFunctions/Window.htm" target="_blank" rel="noopener"&gt;https://help.qlik.com/pt-BR/sense/November2023/Subsystems/Hub/Content/Sense_Hub/Scripting/WindowFunctions/Window.htm&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;Att, Matheus&lt;/P&gt;</description>
    <pubDate>Wed, 03 Jan 2024 20:39:44 GMT</pubDate>
    <dc:creator>MatheusC</dc:creator>
    <dc:date>2024-01-03T20:39:44Z</dc:date>
    <item>
      <title>slow performance on aggr and if stmt</title>
      <link>https://community.qlik.com/t5/App-Development/slow-performance-on-aggr-and-if-stmt/m-p/2158006#M93816</link>
      <description>&lt;P&gt;Hello Folks,&lt;/P&gt;
&lt;P&gt;Appreciate your time. my expression below is very slow in Qlik table, do you suggest any alternatives&lt;/P&gt;
&lt;P&gt;=Aggr(if((Min(cal_date) &amp;lt;= end_date) and (Max(cal_date) &amp;gt;= start_date), start_date), identifier)&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;thank you!&lt;/P&gt;</description>
      <pubDate>Wed, 03 Jan 2024 19:09:21 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/slow-performance-on-aggr-and-if-stmt/m-p/2158006#M93816</guid>
      <dc:creator>SK111</dc:creator>
      <dc:date>2024-01-03T19:09:21Z</dc:date>
    </item>
    <item>
      <title>Re: slow performance on aggr and if stmt</title>
      <link>https://community.qlik.com/t5/App-Development/slow-performance-on-aggr-and-if-stmt/m-p/2158037#M93818</link>
      <description>&lt;P&gt;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/209953"&gt;@SK111&lt;/a&gt;&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;
&lt;P&gt;Try putting your expression in the script, something like:&lt;/P&gt;
&lt;PRE id="tw-target-text" class="tw-data-text tw-text-large tw-ta" dir="ltr" data-placeholder="Tradução" data-ved="2ahUKEwihxIurh8KDAxVZD7kGHTkiDP4Q3ewLegQIBRAQ"&gt;&lt;SPAN class="Y2IQFc"&gt;table:
LOAD
*,
identifier
IN [...]
(qvd);

left join (table)
load
identifier,
if(Min(cal_date) &amp;lt;= end_date and Max(cal_date) &amp;gt;= start_date, start_date) as start_date
resident test Group By identifier;&lt;/SPAN&gt;&lt;/PRE&gt;
&lt;P&gt;You can also see if the new window function is available in your version and work with it.&lt;BR /&gt;&lt;A href="https://help.qlik.com/pt-BR/sense/November2023/Subsystems/Hub/Content/Sense_Hub/Scripting/WindowFunctions/Window.htm" target="_blank" rel="noopener"&gt;https://help.qlik.com/pt-BR/sense/November2023/Subsystems/Hub/Content/Sense_Hub/Scripting/WindowFunctions/Window.htm&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;Att, Matheus&lt;/P&gt;</description>
      <pubDate>Wed, 03 Jan 2024 20:39:44 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/slow-performance-on-aggr-and-if-stmt/m-p/2158037#M93818</guid>
      <dc:creator>MatheusC</dc:creator>
      <dc:date>2024-01-03T20:39:44Z</dc:date>
    </item>
    <item>
      <title>Re: slow performance on aggr and if stmt</title>
      <link>https://community.qlik.com/t5/App-Development/slow-performance-on-aggr-and-if-stmt/m-p/2158040#M93819</link>
      <description>&lt;P&gt;Appreciate your reply. let me give a try. Thank you!&lt;/P&gt;</description>
      <pubDate>Wed, 03 Jan 2024 20:56:48 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/slow-performance-on-aggr-and-if-stmt/m-p/2158040#M93819</guid>
      <dc:creator>SK111</dc:creator>
      <dc:date>2024-01-03T20:56:48Z</dc:date>
    </item>
  </channel>
</rss>

