<?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: Getting the Max of Aggr results in App Development</title>
    <link>https://community.qlik.com/t5/App-Development/Getting-the-Max-of-Aggr-results/m-p/1626349#M63364</link>
    <description>&lt;P&gt;Expression should have worked... what happens when you use the same expression in a KPI object? Do you see 172 then?&lt;/P&gt;</description>
    <pubDate>Fri, 20 Sep 2019 13:19:36 GMT</pubDate>
    <dc:creator>sunny_talwar</dc:creator>
    <dc:date>2019-09-20T13:19:36Z</dc:date>
    <item>
      <title>Getting the Max of Aggr results</title>
      <link>https://community.qlik.com/t5/App-Development/Getting-the-Max-of-Aggr-results/m-p/1625786#M63361</link>
      <description>&lt;P&gt;I'm using the following expression in an attempt to get the highest distinct count of a field by date.&amp;nbsp; I've attached a picture that shows this expression grouped by date.&amp;nbsp; I would expect that when I remove the date field I would see 172 as the value (the max of the AppAndEngineObjectId for all the days).&amp;nbsp; However, I see 12275 - the total distinct count for the whole dataset is 12639.&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;=max(aggr(Count(Distinct AppAndEngineObjectId),SheetAccessDate))&lt;/P&gt;</description>
      <pubDate>Sat, 16 Nov 2024 04:37:45 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Getting-the-Max-of-Aggr-results/m-p/1625786#M63361</guid>
      <dc:creator>andoryuu</dc:creator>
      <dc:date>2024-11-16T04:37:45Z</dc:date>
    </item>
    <item>
      <title>Re: Getting the Max of Aggr results</title>
      <link>https://community.qlik.com/t5/App-Development/Getting-the-Max-of-Aggr-results/m-p/1626039#M63362</link>
      <description>Hi Andoryuu,&lt;BR /&gt;I tried with the same expression is yours and it's working fine for me. So if u attach the qvf file then I can try.&lt;BR /&gt;Thanks</description>
      <pubDate>Fri, 20 Sep 2019 05:08:10 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Getting-the-Max-of-Aggr-results/m-p/1626039#M63362</guid>
      <dc:creator>Kashyap_R</dc:creator>
      <dc:date>2019-09-20T05:08:10Z</dc:date>
    </item>
    <item>
      <title>Re: Getting the Max of Aggr results</title>
      <link>https://community.qlik.com/t5/App-Development/Getting-the-Max-of-Aggr-results/m-p/1626340#M63363</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;try to use total&lt;/P&gt;&lt;P&gt;=max(&lt;STRONG&gt;total&lt;/STRONG&gt; aggr(Count(Distinct AppAndEngineObjectId),SheetAccessDate))&lt;/P&gt;</description>
      <pubDate>Fri, 20 Sep 2019 13:11:21 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Getting-the-Max-of-Aggr-results/m-p/1626340#M63363</guid>
      <dc:creator>StarinieriG</dc:creator>
      <dc:date>2019-09-20T13:11:21Z</dc:date>
    </item>
    <item>
      <title>Re: Getting the Max of Aggr results</title>
      <link>https://community.qlik.com/t5/App-Development/Getting-the-Max-of-Aggr-results/m-p/1626349#M63364</link>
      <description>&lt;P&gt;Expression should have worked... what happens when you use the same expression in a KPI object? Do you see 172 then?&lt;/P&gt;</description>
      <pubDate>Fri, 20 Sep 2019 13:19:36 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Getting-the-Max-of-Aggr-results/m-p/1626349#M63364</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2019-09-20T13:19:36Z</dc:date>
    </item>
    <item>
      <title>Re: Getting the Max of Aggr results</title>
      <link>https://community.qlik.com/t5/App-Development/Getting-the-Max-of-Aggr-results/m-p/1627871#M63366</link>
      <description>&lt;P&gt;The attached is my data model.&amp;nbsp; Relationship is SheetUsageList (1||M) - AppAndAppObjects (1).&amp;nbsp; &amp;nbsp;When I remove the AppAndAppObjects table the expression works.&amp;nbsp; If I add a field to my SheetUsageList table using RowNo() and use that as the field I get the following results which are pretty different all together.&amp;nbsp; The below at least does give me the max rows in a day, but that's not what I was looking (i was looking for distinct app/app object combos - by row level includes the datetime as well as you can see in the data model).&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I'm not really bothered by these results, I'm just misunderstanding something about how AGGR works when it's a part of multiple tables...&lt;/P&gt;&lt;P&gt;&lt;IMG src="https://community.qlik.com/t5/image/serverpage/image-id/20017iF44ABC0EB7AA367B/image-size/medium?v=1.0&amp;amp;px=-1" border="0" title="clipboard_image_1.png" alt="clipboard_image_1.png" /&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 24 Sep 2019 21:00:23 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Getting-the-Max-of-Aggr-results/m-p/1627871#M63366</guid>
      <dc:creator>andoryuu</dc:creator>
      <dc:date>2019-09-24T21:00:23Z</dc:date>
    </item>
    <item>
      <title>Re: Getting the Max of Aggr results</title>
      <link>https://community.qlik.com/t5/App-Development/Getting-the-Max-of-Aggr-results/m-p/1629556#M63367</link>
      <description>&lt;P&gt;I am not really sure I understand your concerns? What exactly do you not understand about Aggr()? What is wrong in the image you have shared below?&lt;/P&gt;</description>
      <pubDate>Mon, 30 Sep 2019 12:51:10 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Getting-the-Max-of-Aggr-results/m-p/1629556#M63367</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2019-09-30T12:51:10Z</dc:date>
    </item>
  </channel>
</rss>

