<?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 sum of a aggregated field based on 2 other fields. in App Development</title>
    <link>https://community.qlik.com/t5/App-Development/Getting-sum-of-a-aggregated-field-based-on-2-other-fields/m-p/2440086#M97219</link>
    <description>&lt;P&gt;Try&lt;/P&gt;
&lt;P&gt;Sum(&lt;BR /&gt;Aggr(&lt;BR /&gt;Count({&amp;lt;[Vehicles] = {1}&amp;gt;} distinct Unique_ID1 &amp;amp; Unique_ID2)&lt;BR /&gt;, Country, Unique_1D2)&lt;BR /&gt;)&lt;/P&gt;</description>
    <pubDate>Thu, 11 Apr 2024 09:04:21 GMT</pubDate>
    <dc:creator>BrunPierre</dc:creator>
    <dc:date>2024-04-11T09:04:21Z</dc:date>
    <item>
      <title>Getting sum of a aggregated field based on 2 other fields.</title>
      <link>https://community.qlik.com/t5/App-Development/Getting-sum-of-a-aggregated-field-based-on-2-other-fields/m-p/2440009#M97214</link>
      <description>&lt;P&gt;Hi all,&lt;BR /&gt;&lt;BR /&gt;I'm trying to obtain a sum of an aggregated field by 2 different fields (Country and Unique ID)&lt;BR /&gt;&lt;BR /&gt;The base field that I am trying to sum up is as follows:&lt;BR /&gt;&lt;BR /&gt;Count({&amp;lt;[Vehicles] = {1}&amp;gt;} distinct Unique_ID1 &amp;amp; Unique_ID2&lt;BR /&gt;&lt;BR /&gt;I have tried to use this formula&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Sum(Aggr(Sum( (Count({&amp;lt;[Vehicles] = {1}&amp;gt;} distinct Unique_ID1 &amp;amp; Unique_ID2))), Unique_ID2, Country))&lt;BR /&gt;&lt;BR /&gt;but it seems to return me only 0s for the whole column. Would appreciate if there are any solutions to this or if anyone needs clarifications on the question!&lt;/P&gt;</description>
      <pubDate>Thu, 11 Apr 2024 05:01:53 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Getting-sum-of-a-aggregated-field-based-on-2-other-fields/m-p/2440009#M97214</guid>
      <dc:creator>Dylangkx</dc:creator>
      <dc:date>2024-04-11T05:01:53Z</dc:date>
    </item>
    <item>
      <title>Re: Getting sum of a aggregated field based on 2 other fields.</title>
      <link>https://community.qlik.com/t5/App-Development/Getting-sum-of-a-aggregated-field-based-on-2-other-fields/m-p/2440086#M97219</link>
      <description>&lt;P&gt;Try&lt;/P&gt;
&lt;P&gt;Sum(&lt;BR /&gt;Aggr(&lt;BR /&gt;Count({&amp;lt;[Vehicles] = {1}&amp;gt;} distinct Unique_ID1 &amp;amp; Unique_ID2)&lt;BR /&gt;, Country, Unique_1D2)&lt;BR /&gt;)&lt;/P&gt;</description>
      <pubDate>Thu, 11 Apr 2024 09:04:21 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Getting-sum-of-a-aggregated-field-based-on-2-other-fields/m-p/2440086#M97219</guid>
      <dc:creator>BrunPierre</dc:creator>
      <dc:date>2024-04-11T09:04:21Z</dc:date>
    </item>
  </channel>
</rss>

