<?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 NODISTINCT in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/NODISTINCT/m-p/180115#M46660</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Mel,&lt;/P&gt;&lt;P&gt;As far as I know, NODISTINCT clause is only allowed in the aggr() function, as Count() without modifiers returns the number of records where the field specified is in.&lt;/P&gt;&lt;P&gt;You may try with a different field that [Date de début] just to check that your conditional is returning more than one possible values for each comparison.&lt;/P&gt;&lt;P&gt;Hope that helps&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 30 Aug 2010 11:49:25 GMT</pubDate>
    <dc:creator>Miguel_Angel_Baeyens</dc:creator>
    <dc:date>2010-08-30T11:49:25Z</dc:date>
    <item>
      <title>NODISTINCT</title>
      <link>https://community.qlik.com/t5/QlikView/NODISTINCT/m-p/180114#M46659</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;I'm trying to get a nodistinct results but I get the wrong results when I use the following formulas:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=Count(if([Date de début]&amp;lt;=Date_max and [Date de début]&amp;gt;=Date_min,[Date de début])) =&amp;gt; I get the distinct count&lt;/P&gt;&lt;BR /&gt;&lt;BR /&gt; &lt;P&gt;&lt;/P&gt;&lt;P&gt;=Count(nodistinct if([Date de début]&amp;lt;=Date_max and [Date de début]&amp;gt;=Date_min,[Date de début])) =&amp;gt; I get an empty column (no values)&lt;/P&gt;&lt;P&gt;Thanks for your help!&lt;/P&gt;&lt;P&gt;mel&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;BR /&gt;&lt;BR /&gt; &lt;BR /&gt;&lt;BR /&gt; &lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 30 Aug 2010 11:28:20 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/NODISTINCT/m-p/180114#M46659</guid>
      <dc:creator />
      <dc:date>2010-08-30T11:28:20Z</dc:date>
    </item>
    <item>
      <title>NODISTINCT</title>
      <link>https://community.qlik.com/t5/QlikView/NODISTINCT/m-p/180115#M46660</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Mel,&lt;/P&gt;&lt;P&gt;As far as I know, NODISTINCT clause is only allowed in the aggr() function, as Count() without modifiers returns the number of records where the field specified is in.&lt;/P&gt;&lt;P&gt;You may try with a different field that [Date de début] just to check that your conditional is returning more than one possible values for each comparison.&lt;/P&gt;&lt;P&gt;Hope that helps&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 30 Aug 2010 11:49:25 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/NODISTINCT/m-p/180115#M46660</guid>
      <dc:creator>Miguel_Angel_Baeyens</dc:creator>
      <dc:date>2010-08-30T11:49:25Z</dc:date>
    </item>
    <item>
      <title>NODISTINCT</title>
      <link>https://community.qlik.com/t5/QlikView/NODISTINCT/m-p/180116#M46661</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Try:&lt;/P&gt;&lt;P&gt;sum(if([Date de début]&amp;lt;=Date_max and [Date de début]&amp;gt;=Date_min,1))&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Summing 1 for each relevant value is the same as counting non-distinct values, though I'll admit it doesn't read as cleanly.&lt;BR /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 30 Aug 2010 12:39:19 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/NODISTINCT/m-p/180116#M46661</guid>
      <dc:creator>Or</dc:creator>
      <dc:date>2010-08-30T12:39:19Z</dc:date>
    </item>
    <item>
      <title>NODISTINCT</title>
      <link>https://community.qlik.com/t5/QlikView/NODISTINCT/m-p/180117#M46662</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello and thank you for your answers.&lt;/P&gt;&lt;P&gt;I tried doing the count by another field but without success. The results are always distinct. I'm fearing that it might have to do something related to my schema/modelisation...&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 31 Aug 2010 12:50:52 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/NODISTINCT/m-p/180117#M46662</guid>
      <dc:creator />
      <dc:date>2010-08-31T12:50:52Z</dc:date>
    </item>
    <item>
      <title>NODISTINCT</title>
      <link>https://community.qlik.com/t5/QlikView/NODISTINCT/m-p/180118#M46663</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks for your answer.&lt;/P&gt;&lt;P&gt;I tried your suggested formula but the results are the same ...&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 31 Aug 2010 12:54:17 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/NODISTINCT/m-p/180118#M46663</guid>
      <dc:creator />
      <dc:date>2010-08-31T12:54:17Z</dc:date>
    </item>
  </channel>
</rss>

