<?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 Qlik Sense set analysis for large data sets in App Development</title>
    <link>https://community.qlik.com/t5/App-Development/Qlik-Sense-set-analysis-for-large-data-sets/m-p/899153#M12486</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have the following formular:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;sum({&amp;lt;Person={"=sum(Amount)&amp;gt;=$(=max(aggr(sum(Amount),Person),3))"}&amp;gt;}Amount)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It gives the sum of the the amounts of the 3 people with biggest sum(amounts) and works fine for a small testdataset.&lt;BR /&gt;However, when I use it for a large dataset (which also contains larger values) it outputs 0.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Has anyone an idea why this is the case or how to fix this?&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333330154419px;"&gt;max(aggr(sum(Amount),Person),3) still works fine in the large dataset.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 24 Apr 2015 06:31:20 GMT</pubDate>
    <dc:creator />
    <dc:date>2015-04-24T06:31:20Z</dc:date>
    <item>
      <title>Qlik Sense set analysis for large data sets</title>
      <link>https://community.qlik.com/t5/App-Development/Qlik-Sense-set-analysis-for-large-data-sets/m-p/899153#M12486</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have the following formular:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;sum({&amp;lt;Person={"=sum(Amount)&amp;gt;=$(=max(aggr(sum(Amount),Person),3))"}&amp;gt;}Amount)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It gives the sum of the the amounts of the 3 people with biggest sum(amounts) and works fine for a small testdataset.&lt;BR /&gt;However, when I use it for a large dataset (which also contains larger values) it outputs 0.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Has anyone an idea why this is the case or how to fix this?&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333330154419px;"&gt;max(aggr(sum(Amount),Person),3) still works fine in the large dataset.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 24 Apr 2015 06:31:20 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Qlik-Sense-set-analysis-for-large-data-sets/m-p/899153#M12486</guid>
      <dc:creator />
      <dc:date>2015-04-24T06:31:20Z</dc:date>
    </item>
    <item>
      <title>Re: Qlik Sense set analysis for large data sets</title>
      <link>https://community.qlik.com/t5/App-Development/Qlik-Sense-set-analysis-for-large-data-sets/m-p/899154#M12487</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Or is is it possible that the format of the rawdata (which comes from an Excel-file) causes this?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 24 Apr 2015 15:52:03 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Qlik-Sense-set-analysis-for-large-data-sets/m-p/899154#M12487</guid>
      <dc:creator />
      <dc:date>2015-04-24T15:52:03Z</dc:date>
    </item>
    <item>
      <title>Re: Qlik Sense set analysis for large data sets</title>
      <link>https://community.qlik.com/t5/App-Development/Qlik-Sense-set-analysis-for-large-data-sets/m-p/899155#M12488</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Michael,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;First and foremost,&amp;nbsp; Qlik's engine uses the memory 4 times than the actual size of the data. hence calculation uses remaining.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In the formula you mentioned, here is my comments:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;sum({&amp;lt;Person={"=sum(Amount)&amp;gt;=$(=max(aggr(sum(Amount),Person),3))"}&amp;gt;}Amount)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;The sum of amount is being calculated a lot of times than it is required. You can assign a variable and have the value available for you to use in such complex set analysis statements.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;variable SumAmount=&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;sum(Amount);&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;The statement now becomes more easy as &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;sum({&amp;lt;Person={"=&lt;SPAN style="font-size: 13.3333px;"&gt;SumAmount&lt;/SPAN&gt;&amp;gt;=$(=max(aggr(&lt;SPAN style="font-size: 13.3333px;"&gt;SumAmount&lt;/SPAN&gt;,Person),3))"}&amp;gt;}Amount)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;Let me know if it works for you.&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 11 Jul 2017 14:37:28 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Qlik-Sense-set-analysis-for-large-data-sets/m-p/899155#M12488</guid>
      <dc:creator />
      <dc:date>2017-07-11T14:37:28Z</dc:date>
    </item>
  </channel>
</rss>

