<?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: sum values group by ID in App Development</title>
    <link>https://community.qlik.com/t5/App-Development/sum-values-group-by-ID/m-p/2510060#M104809</link>
    <description>&lt;P&gt;Are you considering the very first recorded sales figure for each ID?&lt;/P&gt;&lt;P&gt;Then try;&lt;/P&gt;&lt;P&gt;=Sum(Aggr(FirstSortedValue(sales, Aggr(Sum(sales), ID)), ID))&lt;/P&gt;</description>
    <pubDate>Sat, 15 Mar 2025 18:08:35 GMT</pubDate>
    <dc:creator>BrunPierre</dc:creator>
    <dc:date>2025-03-15T18:08:35Z</dc:date>
    <item>
      <title>sum values group by ID</title>
      <link>https://community.qlik.com/t5/App-Development/sum-values-group-by-ID/m-p/2510056#M104805</link>
      <description>&lt;P&gt;Hi guys,&lt;/P&gt;&lt;P&gt;I have a table with ID, Suppliers, and Values. In the front end, I need to sum the Values by ID desconsidering suppliers. I tried to use sum(Aggr(sum(Values),ID)), but it is not correct. How can I do this? In this example, I need to show 100 because ID 1100 has a value of 100 and not 200.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="image (8).png" style="width: 421px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/178637i8D2A72B438986515/image-size/large?v=v2&amp;amp;px=999" role="button" title="image (8).png" alt="image (8).png" /&gt;&lt;/span&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="image (7).png" style="width: 309px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/178638iEE04852ED8E67ED5/image-size/large?v=v2&amp;amp;px=999" role="button" title="image (7).png" alt="image (7).png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;DIV class=""&gt;&amp;nbsp;&lt;/DIV&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;!--   notionvc: c69056fe-f94e-4152-b7ec-cc010450ac28   --&gt;&lt;/P&gt;</description>
      <pubDate>Sat, 15 Mar 2025 13:48:42 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/sum-values-group-by-ID/m-p/2510056#M104805</guid>
      <dc:creator>fsilva1</dc:creator>
      <dc:date>2025-03-15T13:48:42Z</dc:date>
    </item>
    <item>
      <title>Re: sum values group by ID</title>
      <link>https://community.qlik.com/t5/App-Development/sum-values-group-by-ID/m-p/2510057#M104806</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;Please let me know what should be the value displayed for the ID 1200. should it be 200 or 500?&amp;nbsp; I can try and let you know the fix for this.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sat, 15 Mar 2025 14:10:14 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/sum-values-group-by-ID/m-p/2510057#M104806</guid>
      <dc:creator>ramchalla</dc:creator>
      <dc:date>2025-03-15T14:10:14Z</dc:date>
    </item>
    <item>
      <title>Re: sum values group by ID</title>
      <link>https://community.qlik.com/t5/App-Development/sum-values-group-by-ID/m-p/2510058#M104807</link>
      <description>&lt;P&gt;First of all, thank you for your answer..&lt;/P&gt;&lt;P&gt;Sorry, that was my mistake. Sales are based on ID, so for each ID, we have the same sales figure. Therefore, the correct sales amount for ID 1200 is 200.&lt;/P&gt;</description>
      <pubDate>Sat, 15 Mar 2025 17:31:43 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/sum-values-group-by-ID/m-p/2510058#M104807</guid>
      <dc:creator>fsilva1</dc:creator>
      <dc:date>2025-03-15T17:31:43Z</dc:date>
    </item>
    <item>
      <title>Re: sum values group by ID</title>
      <link>https://community.qlik.com/t5/App-Development/sum-values-group-by-ID/m-p/2510059#M104808</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;in that case, you can use the below formula. Please find the attached qvw.&lt;/P&gt;&lt;P&gt;Sum(Aggr(Max(Sales), ID))&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sat, 15 Mar 2025 17:47:22 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/sum-values-group-by-ID/m-p/2510059#M104808</guid>
      <dc:creator>ramchalla</dc:creator>
      <dc:date>2025-03-15T17:47:22Z</dc:date>
    </item>
    <item>
      <title>Re: sum values group by ID</title>
      <link>https://community.qlik.com/t5/App-Development/sum-values-group-by-ID/m-p/2510060#M104809</link>
      <description>&lt;P&gt;Are you considering the very first recorded sales figure for each ID?&lt;/P&gt;&lt;P&gt;Then try;&lt;/P&gt;&lt;P&gt;=Sum(Aggr(FirstSortedValue(sales, Aggr(Sum(sales), ID)), ID))&lt;/P&gt;</description>
      <pubDate>Sat, 15 Mar 2025 18:08:35 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/sum-values-group-by-ID/m-p/2510060#M104809</guid>
      <dc:creator>BrunPierre</dc:creator>
      <dc:date>2025-03-15T18:08:35Z</dc:date>
    </item>
    <item>
      <title>Re: sum values group by ID</title>
      <link>https://community.qlik.com/t5/App-Development/sum-values-group-by-ID/m-p/2510085#M104821</link>
      <description>&lt;P&gt;Hi,&amp;nbsp;&lt;/P&gt;&lt;P&gt;If you just want to show values then dont use measure but use values as dimensions both for ID and for Value.&amp;nbsp;&lt;/P&gt;&lt;P&gt;cheers&lt;/P&gt;</description>
      <pubDate>Sat, 15 Mar 2025 22:41:36 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/sum-values-group-by-ID/m-p/2510085#M104821</guid>
      <dc:creator>Lech_Miszkiewicz</dc:creator>
      <dc:date>2025-03-15T22:41:36Z</dc:date>
    </item>
  </channel>
</rss>

