<?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 up but only one time the dimension in App Development</title>
    <link>https://community.qlik.com/t5/App-Development/sum-up-but-only-one-time-the-dimension/m-p/2079480#M88554</link>
    <description>&lt;P&gt;How about&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Sum(Aggr(Max(MaxRound), Name))&lt;/P&gt;
&lt;P&gt;-Rob&lt;/P&gt;</description>
    <pubDate>Fri, 02 Jun 2023 14:41:28 GMT</pubDate>
    <dc:creator>rwunderlich</dc:creator>
    <dc:date>2023-06-02T14:41:28Z</dc:date>
    <item>
      <title>sum up but only one time the dimension</title>
      <link>https://community.qlik.com/t5/App-Development/sum-up-but-only-one-time-the-dimension/m-p/2079478#M88553</link>
      <description>&lt;P&gt;hello,&lt;/P&gt;
&lt;P&gt;I want to sum up all Values of the dimension MaxRound but the each Name should be only&amp;nbsp;&lt;/P&gt;
&lt;TABLE border="1" width="100%"&gt;
&lt;TBODY&gt;
&lt;TR&gt;
&lt;TD width="50%" height="25px"&gt;MaxRound&lt;/TD&gt;
&lt;TD width="50%" height="25px"&gt;Name&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TD width="50%" height="25px"&gt;4&lt;/TD&gt;
&lt;TD width="50%" height="25px"&gt;Detlef&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TD width="50%" height="25px"&gt;4&lt;/TD&gt;
&lt;TD width="50%" height="25px"&gt;Detlef&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TD width="50%" height="25px"&gt;3&lt;/TD&gt;
&lt;TD width="50%" height="25px"&gt;Pia&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TD width="50%" height="25px"&gt;3&lt;/TD&gt;
&lt;TD width="50%" height="25px"&gt;Mike&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TD height="25px"&gt;2&lt;/TD&gt;
&lt;TD height="25px"&gt;Petra&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TD&gt;2&lt;/TD&gt;
&lt;TD&gt;Petra&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TD&gt;&amp;nbsp;&lt;/TD&gt;
&lt;TD&gt;&amp;nbsp;&lt;/TD&gt;
&lt;/TR&gt;
&lt;/TBODY&gt;
&lt;/TABLE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;so my sum should be: (4+3+3+2) and not (4+4+3+3+2+2). how can I add in the formular "Distinct Name"&lt;/P&gt;
&lt;P&gt;Aggr(sum(MaxRound), distinct Name) is not working&lt;/P&gt;
&lt;P&gt;Thanks for help&lt;/P&gt;
&lt;P&gt;Pia&lt;/P&gt;</description>
      <pubDate>Fri, 02 Jun 2023 14:33:45 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/sum-up-but-only-one-time-the-dimension/m-p/2079478#M88553</guid>
      <dc:creator>peisenrot</dc:creator>
      <dc:date>2023-06-02T14:33:45Z</dc:date>
    </item>
    <item>
      <title>Re: sum up but only one time the dimension</title>
      <link>https://community.qlik.com/t5/App-Development/sum-up-but-only-one-time-the-dimension/m-p/2079480#M88554</link>
      <description>&lt;P&gt;How about&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Sum(Aggr(Max(MaxRound), Name))&lt;/P&gt;
&lt;P&gt;-Rob&lt;/P&gt;</description>
      <pubDate>Fri, 02 Jun 2023 14:41:28 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/sum-up-but-only-one-time-the-dimension/m-p/2079480#M88554</guid>
      <dc:creator>rwunderlich</dc:creator>
      <dc:date>2023-06-02T14:41:28Z</dc:date>
    </item>
    <item>
      <title>Re: sum up but only one time the dimension</title>
      <link>https://community.qlik.com/t5/App-Development/sum-up-but-only-one-time-the-dimension/m-p/2079481#M88555</link>
      <description>&lt;P&gt;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/110949"&gt;@peisenrot&lt;/a&gt;&amp;nbsp; try below&lt;/P&gt;
&lt;P&gt;=sum(aggr(sum(distinct MaxRound), Name))&lt;/P&gt;</description>
      <pubDate>Fri, 02 Jun 2023 14:43:33 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/sum-up-but-only-one-time-the-dimension/m-p/2079481#M88555</guid>
      <dc:creator>Kushal_Chawda</dc:creator>
      <dc:date>2023-06-02T14:43:33Z</dc:date>
    </item>
    <item>
      <title>Re: sum up but only one time the dimension</title>
      <link>https://community.qlik.com/t5/App-Development/sum-up-but-only-one-time-the-dimension/m-p/2079525#M88558</link>
      <description>&lt;P&gt;You can try this too.&lt;/P&gt;
&lt;P&gt;=Sum(Aggr(Only(MaxRound), Name))&lt;/P&gt;</description>
      <pubDate>Fri, 02 Jun 2023 16:19:26 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/sum-up-but-only-one-time-the-dimension/m-p/2079525#M88558</guid>
      <dc:creator>BrunPierre</dc:creator>
      <dc:date>2023-06-02T16:19:26Z</dc:date>
    </item>
    <item>
      <title>Re: sum up but only one time the dimension</title>
      <link>https://community.qlik.com/t5/App-Development/sum-up-but-only-one-time-the-dimension/m-p/2079546#M88561</link>
      <description>&lt;P&gt;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/110949"&gt;@peisenrot&lt;/a&gt;&amp;nbsp; I tried something at the script level first. Please see the script below:&lt;/P&gt;
&lt;P&gt;NoConcatenate&lt;BR /&gt;Table:&lt;BR /&gt;load * inline [&lt;BR /&gt;MaxRound, Name&lt;BR /&gt;4, Detlef&lt;BR /&gt;4, Detlef&lt;BR /&gt;3, Pia&lt;BR /&gt;3, Mike&lt;BR /&gt;2, Petra&lt;BR /&gt;2, Petra]&lt;BR /&gt;;&lt;/P&gt;
&lt;P&gt;NoConcatenate&lt;BR /&gt;Table1:&lt;BR /&gt;Load *,&lt;BR /&gt;if(Name=Previous(Name) and MaxRound=Previous(MaxRound),'Duplicate','Not Duplicate') as Check&lt;BR /&gt;Resident Table;&lt;/P&gt;
&lt;P&gt;Drop table Table;&lt;/P&gt;
&lt;P&gt;Exit script;&lt;/P&gt;
&lt;P&gt;In the front End:&amp;nbsp;Sum({&amp;lt;Check={'Not Duplicate'}&amp;gt;}MaxRound)&lt;/P&gt;
&lt;P&gt;Please like and accept it as a solution if this resolves your issue.&lt;/P&gt;</description>
      <pubDate>Fri, 02 Jun 2023 17:42:14 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/sum-up-but-only-one-time-the-dimension/m-p/2079546#M88561</guid>
      <dc:creator>sidhiq91</dc:creator>
      <dc:date>2023-06-02T17:42:14Z</dc:date>
    </item>
  </channel>
</rss>

