<?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: Aggregated functions sum another dimension only distinct in Visualization and Usability</title>
    <link>https://community.qlik.com/t5/Visualization-and-Usability/Aggregated-functions-sum-another-dimension-only-distinct/m-p/1720977#M166364</link>
    <description>&lt;P&gt;corrected.&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Mon, 22 Jun 2020 20:03:07 GMT</pubDate>
    <dc:creator>Sue_Macaluso</dc:creator>
    <dc:date>2020-06-22T20:03:07Z</dc:date>
    <item>
      <title>Aggregated functions sum another dimension only distinct</title>
      <link>https://community.qlik.com/t5/Visualization-and-Usability/Aggregated-functions-sum-another-dimension-only-distinct/m-p/1720873#M166345</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;I have a table like this :&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;TABLE width="507"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD width="83"&gt;Serialnumber&lt;/TD&gt;&lt;TD width="83"&gt;Timestamp&lt;/TD&gt;&lt;TD width="175"&gt;Position&lt;/TD&gt;&lt;TD width="166"&gt;Deliverynumber&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD width="83"&gt;BF33333&lt;/TD&gt;&lt;TD width="83"&gt;06.05.2020&lt;/TD&gt;&lt;TD&gt;10&lt;/TD&gt;&lt;TD&gt;11111111&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD width="83"&gt;BF33334&lt;/TD&gt;&lt;TD width="83"&gt;06.05.2020&lt;/TD&gt;&lt;TD&gt;10&lt;/TD&gt;&lt;TD&gt;11111111&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD width="83"&gt;BF33335&lt;/TD&gt;&lt;TD width="83"&gt;06.05.2020&lt;/TD&gt;&lt;TD&gt;10&lt;/TD&gt;&lt;TD&gt;11111111&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD width="83"&gt;BF33336&lt;/TD&gt;&lt;TD width="83"&gt;06.05.2020&lt;/TD&gt;&lt;TD&gt;20&lt;/TD&gt;&lt;TD&gt;11111111&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD width="83"&gt;BF33337&lt;/TD&gt;&lt;TD width="83"&gt;06.05.2020&lt;/TD&gt;&lt;TD&gt;20&lt;/TD&gt;&lt;TD&gt;22222222&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD width="83"&gt;BF33338&lt;/TD&gt;&lt;TD width="83"&gt;07.05.2020&lt;/TD&gt;&lt;TD&gt;30&lt;/TD&gt;&lt;TD&gt;33333333&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD width="83"&gt;BF33339&lt;/TD&gt;&lt;TD width="83"&gt;07.05.2020&lt;/TD&gt;&lt;TD&gt;30&lt;/TD&gt;&lt;TD&gt;33333333&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD width="83"&gt;BF33340&lt;/TD&gt;&lt;TD width="83"&gt;07.05.2020&lt;/TD&gt;&lt;TD&gt;30&lt;/TD&gt;&lt;TD&gt;33333333&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD width="83"&gt;BF33341&lt;/TD&gt;&lt;TD width="83"&gt;07.05.2020&lt;/TD&gt;&lt;TD&gt;30&lt;/TD&gt;&lt;TD&gt;33333333&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD width="83"&gt;BF33342&lt;/TD&gt;&lt;TD width="83"&gt;07.05.2020&lt;/TD&gt;&lt;TD&gt;30&lt;/TD&gt;&lt;TD&gt;33333333&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The Serialnumber is unique, a delivery can contain more than one serialnumber and a serialnumber can belongs always to a group of position. Also the date of the package can be on two different days.&lt;/P&gt;&lt;P&gt;I now just want to add a colllumn&amp;nbsp; with the&amp;nbsp; &amp;nbsp;measure where I can see in each line how many Serialnumbers a specific delivery contains.&amp;nbsp; The date can be disregarded.&lt;/P&gt;&lt;P&gt;I used something like this:&lt;/P&gt;&lt;P&gt;=sum(aggr(count([Serialnumber]), [Deliverynumber], Position))&lt;/P&gt;&lt;P&gt;But since there are many positions, i only want to count each of the position distinct.&amp;nbsp;&lt;/P&gt;&lt;P&gt;And something like this doesn't work out:&amp;nbsp;&lt;/P&gt;&lt;P&gt;=sum(aggr(count([Serialnumber]), [Deliverynumber], &lt;FONT color="#FF0000"&gt;distinct&lt;/FONT&gt; Position))&lt;/P&gt;&lt;P&gt;How can I only count this aggregation with the same Position distinct?&lt;/P&gt;&lt;P&gt;Thanks in advance.&lt;/P&gt;&lt;P&gt;Best.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 23 Jun 2020 13:13:00 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Visualization-and-Usability/Aggregated-functions-sum-another-dimension-only-distinct/m-p/1720873#M166345</guid>
      <dc:creator>Applicable88</dc:creator>
      <dc:date>2020-06-23T13:13:00Z</dc:date>
    </item>
    <item>
      <title>Re: Aggregated functions sum another dimension only distinct</title>
      <link>https://community.qlik.com/t5/Visualization-and-Usability/Aggregated-functions-sum-another-dimension-only-distinct/m-p/1720881#M166347</link>
      <description>&lt;P&gt;hi&amp;nbsp;&lt;/P&gt;&lt;P&gt;if you want to count it per Delivery and position , you can use :&amp;nbsp;count(total&amp;lt;Deliverynumber,Position&amp;gt;Serialnumber)&lt;/P&gt;&lt;P&gt;if you want per delivery :&amp;nbsp;count(total&amp;lt;Deliverynumber&amp;gt;Serialnumber)&lt;/P&gt;</description>
      <pubDate>Mon, 22 Jun 2020 13:23:30 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Visualization-and-Usability/Aggregated-functions-sum-another-dimension-only-distinct/m-p/1720881#M166347</guid>
      <dc:creator>lironbaram</dc:creator>
      <dc:date>2020-06-22T13:23:30Z</dc:date>
    </item>
    <item>
      <title>Re: Aggregated functions sum another dimension only distinct</title>
      <link>https://community.qlik.com/t5/Visualization-and-Usability/Aggregated-functions-sum-another-dimension-only-distinct/m-p/1720977#M166364</link>
      <description>&lt;P&gt;corrected.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 22 Jun 2020 20:03:07 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Visualization-and-Usability/Aggregated-functions-sum-another-dimension-only-distinct/m-p/1720977#M166364</guid>
      <dc:creator>Sue_Macaluso</dc:creator>
      <dc:date>2020-06-22T20:03:07Z</dc:date>
    </item>
  </channel>
</rss>

