<?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 buckets with aggr function - inefficient? in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/buckets-with-aggr-function-inefficient/m-p/1608616#M736563</link>
    <description>&lt;P&gt;I'm trying to build a table with multiple aggregation levels.&lt;/P&gt;&lt;P&gt;Frequency =&amp;nbsp;&amp;nbsp;count(if(aggr(count(if([Lost Data]&amp;gt;0,1)),Node,Date,[Time 5min])&amp;gt;0,1))&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&lt;BR /&gt;=aggr(if($(getDefinition(Frequency)) = 0, dual('No Loss',0),&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;if($(getDefinition(Frequency)) &amp;lt;= freq01, dual('inFrequent',1),&lt;BR /&gt;if($(getDefinition(Frequency)) &amp;lt;= Freq02, dual('Fairly Frequent',2),&lt;BR /&gt;if($(getDefinition(Frequency)) &amp;lt;= Freq03, dual('Very Frequent',3),&lt;BR /&gt;if($(getDefinition(Frequency)) &amp;gt; Freq03, dual('Watchout',4)))))), [Node])&lt;/P&gt;&lt;P&gt;I have 3 variables that the user defines (freq01, freq02, freq03).&lt;/P&gt;&lt;P&gt;I just seems like this is very inefficient.&amp;nbsp; Is there a better way to to do this?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Wed, 25 Nov 2020 16:16:04 GMT</pubDate>
    <dc:creator>exfosteve</dc:creator>
    <dc:date>2020-11-25T16:16:04Z</dc:date>
    <item>
      <title>buckets with aggr function - inefficient?</title>
      <link>https://community.qlik.com/t5/QlikView/buckets-with-aggr-function-inefficient/m-p/1608616#M736563</link>
      <description>&lt;P&gt;I'm trying to build a table with multiple aggregation levels.&lt;/P&gt;&lt;P&gt;Frequency =&amp;nbsp;&amp;nbsp;count(if(aggr(count(if([Lost Data]&amp;gt;0,1)),Node,Date,[Time 5min])&amp;gt;0,1))&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&lt;BR /&gt;=aggr(if($(getDefinition(Frequency)) = 0, dual('No Loss',0),&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;if($(getDefinition(Frequency)) &amp;lt;= freq01, dual('inFrequent',1),&lt;BR /&gt;if($(getDefinition(Frequency)) &amp;lt;= Freq02, dual('Fairly Frequent',2),&lt;BR /&gt;if($(getDefinition(Frequency)) &amp;lt;= Freq03, dual('Very Frequent',3),&lt;BR /&gt;if($(getDefinition(Frequency)) &amp;gt; Freq03, dual('Watchout',4)))))), [Node])&lt;/P&gt;&lt;P&gt;I have 3 variables that the user defines (freq01, freq02, freq03).&lt;/P&gt;&lt;P&gt;I just seems like this is very inefficient.&amp;nbsp; Is there a better way to to do this?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 25 Nov 2020 16:16:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/buckets-with-aggr-function-inefficient/m-p/1608616#M736563</guid>
      <dc:creator>exfosteve</dc:creator>
      <dc:date>2020-11-25T16:16:04Z</dc:date>
    </item>
    <item>
      <title>Re: buckets with aggr function - inefficient?</title>
      <link>https://community.qlik.com/t5/QlikView/buckets-with-aggr-function-inefficient/m-p/1615652#M736564</link>
      <description>&lt;P&gt;Steve, check the following site, use the search box to see if you can find any posts there that will give you further ideas.&amp;nbsp; I would recommend starting with a single word on the search, see what pops up and use the words there to refine further.&amp;nbsp; There are hundreds of posts in this area, so hopefully you can find one that will be of use to you.&amp;nbsp; I was not really sure, and rather than screw you up, figured it would be better to just let you have a look yourself in this case, good luck, hopefully something there will help.&lt;/P&gt;
&lt;P&gt;&lt;A href="https://community.qlik.com/t5/Qlik-Design-Blog/bg-p/qlik-design-blog" target="_blank"&gt;https://community.qlik.com/t5/Qlik-Design-Blog/bg-p/qlik-design-blog&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;Regards,&lt;BR /&gt;Brett&lt;/P&gt;</description>
      <pubDate>Thu, 22 Aug 2019 20:49:49 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/buckets-with-aggr-function-inefficient/m-p/1615652#M736564</guid>
      <dc:creator>Brett_Bleess</dc:creator>
      <dc:date>2019-08-22T20:49:49Z</dc:date>
    </item>
    <item>
      <title>Re: buckets with aggr function - inefficient?</title>
      <link>https://community.qlik.com/t5/QlikView/buckets-with-aggr-function-inefficient/m-p/1616694#M736565</link>
      <description>&lt;P&gt;I ended up doing the aggregation in the script, and that really improved the performance.&amp;nbsp; Thanks for the follow up.&lt;/P&gt;</description>
      <pubDate>Mon, 26 Aug 2019 15:35:39 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/buckets-with-aggr-function-inefficient/m-p/1616694#M736565</guid>
      <dc:creator>exfosteve</dc:creator>
      <dc:date>2019-08-26T15:35:39Z</dc:date>
    </item>
  </channel>
</rss>

