<?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: Count and distinct with conditions in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Count-and-distinct-with-conditions/m-p/384034#M143381</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thnx this is what i mean!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 05 Sep 2012 04:52:56 GMT</pubDate>
    <dc:creator>francisvandergr</dc:creator>
    <dc:date>2012-09-05T04:52:56Z</dc:date>
    <item>
      <title>Count and distinct with conditions</title>
      <link>https://community.qlik.com/t5/QlikView/Count-and-distinct-with-conditions/m-p/384032#M143379</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have a question. I include an example of what i want. I try to explain it also here. I have a dimension group on my dashboard. In the expression i have a count of debno. But it may only count if the debno is not in another group. The debno's who are in more groups must be named in the group "Multiple".&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is this possible with qlikview ?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 04 Sep 2012 18:32:38 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Count-and-distinct-with-conditions/m-p/384032#M143379</guid>
      <dc:creator>francisvandergr</dc:creator>
      <dc:date>2012-09-04T18:32:38Z</dc:date>
    </item>
    <item>
      <title>Re: Count and distinct with conditions</title>
      <link>https://community.qlik.com/t5/QlikView/Count-and-distinct-with-conditions/m-p/384033#M143380</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I think yes.&lt;/P&gt;&lt;P&gt;See attached, or apply the following expression in your "table 2"&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE __default_attr="plain" __jive_macro_name="code" class="jive_text_macro jive_macro_code _jivemacro_uid_13467879298465909" jivemacro_uid="_13467879298465909"&gt;&lt;P&gt;sum(aggr(if(count(DISTINCT Group)=1,1,0),Debno))&lt;/P&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;That expression will per group, count only those DebNo's where they are only in 1 group.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I think, in the same chart you cannot add "multiple" as a line...&lt;/P&gt;&lt;P&gt;A solution can be to place a textbox somewhere, where the "multiple" value is calculated.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This is the expression for the textbox to calculate the "multiple group debo's"&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE __default_attr="plain" __jive_macro_name="code" class="jive_text_macro jive_macro_code _jivemacro_uid_13467880507364309" jivemacro_uid="_13467880507364309"&gt;&lt;P&gt;sum(aggr(if(count(DISTINCT Group)&amp;gt;1,1,0),Debno)) &lt;/P&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;See attached QVW where I applied those formula's. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope it helps.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 04 Sep 2012 19:49:15 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Count-and-distinct-with-conditions/m-p/384033#M143380</guid>
      <dc:creator />
      <dc:date>2012-09-04T19:49:15Z</dc:date>
    </item>
    <item>
      <title>Re: Count and distinct with conditions</title>
      <link>https://community.qlik.com/t5/QlikView/Count-and-distinct-with-conditions/m-p/384034#M143381</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thnx this is what i mean!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 05 Sep 2012 04:52:56 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Count-and-distinct-with-conditions/m-p/384034#M143381</guid>
      <dc:creator>francisvandergr</dc:creator>
      <dc:date>2012-09-05T04:52:56Z</dc:date>
    </item>
    <item>
      <title>Re: Count and distinct with conditions</title>
      <link>https://community.qlik.com/t5/QlikView/Count-and-distinct-with-conditions/m-p/384035#M143382</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You're welcome!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Happy Qlikviewing!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 05 Sep 2012 08:16:18 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Count-and-distinct-with-conditions/m-p/384035#M143382</guid>
      <dc:creator />
      <dc:date>2012-09-05T08:16:18Z</dc:date>
    </item>
  </channel>
</rss>

