<?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: Aggr count distinct in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Aggr-count-distinct/m-p/1798960#M1211501</link>
    <description>&lt;P&gt;I tried that one before. When dept is collapsed the result are correct, but when I expand dept A (employee gets visible) than B shows 4 months as a result.&amp;nbsp; When both dept's are epandend the result is ok.&lt;/P&gt;&lt;P&gt;When I expand dept B and A = collapsed B shows 4 as a result.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Tue, 13 Apr 2021 06:03:15 GMT</pubDate>
    <dc:creator>curiousfellow</dc:creator>
    <dc:date>2021-04-13T06:03:15Z</dc:date>
    <item>
      <title>Aggr count distinct</title>
      <link>https://community.qlik.com/t5/QlikView/Aggr-count-distinct/m-p/1797996#M1211427</link>
      <description>&lt;P&gt;Please have a look at the simplified example of my qvw.&lt;/P&gt;&lt;P&gt;An employee works for two departments. I have to count the distinct months this employee works.&lt;/P&gt;&lt;P&gt;I wonder why the result is presented at just one department. I need the result for both of the departments&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;We are using version&amp;nbsp; april 2019&lt;/P&gt;</description>
      <pubDate>Thu, 08 Apr 2021 13:16:03 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Aggr-count-distinct/m-p/1797996#M1211427</guid>
      <dc:creator>curiousfellow</dc:creator>
      <dc:date>2021-04-08T13:16:03Z</dc:date>
    </item>
    <item>
      <title>Re: Aggr count distinct</title>
      <link>https://community.qlik.com/t5/QlikView/Aggr-count-distinct/m-p/1798568#M1211473</link>
      <description>&lt;P&gt;Hi, to count each dept you need to add dept as another dimension for the aggr:&lt;/P&gt;&lt;P&gt;=aggr(count (distinct month),employee,dept)&lt;/P&gt;&lt;P&gt;Which at the end is the same than just:&amp;nbsp;count(DISTINCT month) // But maybe in the not-simplified version of the qvw makes sense to use the aggr&lt;/P&gt;</description>
      <pubDate>Sun, 11 Apr 2021 10:21:36 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Aggr-count-distinct/m-p/1798568#M1211473</guid>
      <dc:creator>rubenmarin</dc:creator>
      <dc:date>2021-04-11T10:21:36Z</dc:date>
    </item>
    <item>
      <title>Re: Aggr count distinct</title>
      <link>https://community.qlik.com/t5/QlikView/Aggr-count-distinct/m-p/1798771#M1211490</link>
      <description>&lt;P&gt;When I use :&amp;nbsp;&lt;SPAN&gt;=aggr(count (distinct month),employee,dept) the result for dept A = 6 and for dept B = 4&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;For both dept's the result should be 6 this employee works in 6 several months&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 12 Apr 2021 13:14:50 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Aggr-count-distinct/m-p/1798771#M1211490</guid>
      <dc:creator>curiousfellow</dc:creator>
      <dc:date>2021-04-12T13:14:50Z</dc:date>
    </item>
    <item>
      <title>Re: Aggr count distinct</title>
      <link>https://community.qlik.com/t5/QlikView/Aggr-count-distinct/m-p/1798780#M1211491</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/48508"&gt;@curiousfellow&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;May be, try like below&lt;/P&gt;&lt;P&gt;=Count(TOTAL&amp;lt;employee&amp;gt; DISTINCT month)&lt;/P&gt;</description>
      <pubDate>Mon, 12 Apr 2021 13:32:02 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Aggr-count-distinct/m-p/1798780#M1211491</guid>
      <dc:creator>MayilVahanan</dc:creator>
      <dc:date>2021-04-12T13:32:02Z</dc:date>
    </item>
    <item>
      <title>Re: Aggr count distinct</title>
      <link>https://community.qlik.com/t5/QlikView/Aggr-count-distinct/m-p/1798960#M1211501</link>
      <description>&lt;P&gt;I tried that one before. When dept is collapsed the result are correct, but when I expand dept A (employee gets visible) than B shows 4 months as a result.&amp;nbsp; When both dept's are epandend the result is ok.&lt;/P&gt;&lt;P&gt;When I expand dept B and A = collapsed B shows 4 as a result.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 13 Apr 2021 06:03:15 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Aggr-count-distinct/m-p/1798960#M1211501</guid>
      <dc:creator>curiousfellow</dc:creator>
      <dc:date>2021-04-13T06:03:15Z</dc:date>
    </item>
    <item>
      <title>Re: Aggr count distinct</title>
      <link>https://community.qlik.com/t5/QlikView/Aggr-count-distinct/m-p/1798978#M1211502</link>
      <description>&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;Might be, try like below&lt;/P&gt;&lt;P&gt;=Sum(Total Aggr(Count( DISTINCT month), employee))&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="MayilVahanan_0-1618297592218.png" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/52871i969C7B14677E37AB/image-size/medium?v=v2&amp;amp;px=400" role="button" title="MayilVahanan_0-1618297592218.png" alt="MayilVahanan_0-1618297592218.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 13 Apr 2021 07:06:40 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Aggr-count-distinct/m-p/1798978#M1211502</guid>
      <dc:creator>MayilVahanan</dc:creator>
      <dc:date>2021-04-13T07:06:40Z</dc:date>
    </item>
    <item>
      <title>Re: Aggr count distinct</title>
      <link>https://community.qlik.com/t5/QlikView/Aggr-count-distinct/m-p/1799117#M1211515</link>
      <description>&lt;P&gt;Seems to work, thank you very much.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 13 Apr 2021 13:58:42 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Aggr-count-distinct/m-p/1799117#M1211515</guid>
      <dc:creator>curiousfellow</dc:creator>
      <dc:date>2021-04-13T13:58:42Z</dc:date>
    </item>
  </channel>
</rss>

