<?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: Simple count is not working properly in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Simple-count-is-not-working-properly/m-p/1218638#M623005</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;Hi,&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;Thaband rights, try&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;=count(DISTINCT{&amp;lt;EmailTypeSent={"Welcome*"}&amp;gt;} EmailAddress)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;Regards,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;Andrey&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 10 Jan 2017 08:23:40 GMT</pubDate>
    <dc:creator>ahaahaaha</dc:creator>
    <dc:date>2017-01-10T08:23:40Z</dc:date>
    <item>
      <title>Simple count is not working properly</title>
      <link>https://community.qlik.com/t5/QlikView/Simple-count-is-not-working-properly/m-p/1218635#M623002</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have a simple table with only 4 fields and I want to calculate the distinct consumers that have an 'EmailTypeSent' = Welcome*.&lt;/P&gt;&lt;P&gt;This is working fine untill i filter in the EmailTypeSent on another value than Welcome*.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;As is shown in the image, when i select 'Other' it still gives a 2 as count. However, it should give 0, because there are 0 email addresses in the filtered table with an &lt;SPAN style="font-size: 13.3333px;"&gt;'EmailTypeSent' = Welcome*.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What is wrong with the used formula? The table shows the right records. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=count(DISTINCT{&amp;lt;EmailTypeSent={'Welcome*'}&amp;gt;} EmailAddress)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 09 Jan 2017 17:05:25 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Simple-count-is-not-working-properly/m-p/1218635#M623002</guid>
      <dc:creator>twanqlik</dc:creator>
      <dc:date>2017-01-09T17:05:25Z</dc:date>
    </item>
    <item>
      <title>Re: Simple count is not working properly</title>
      <link>https://community.qlik.com/t5/QlikView/Simple-count-is-not-working-properly/m-p/1218636#M623003</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Try this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;&lt;STRONG&gt;=Count(DISTINCT{&amp;lt;EmailTypeSent &lt;SPAN style="color: #ff0000; font-size: 14pt;"&gt;*&lt;/SPAN&gt;= {'Welcome*'}&amp;gt;} EmailAddress)&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 09 Jan 2017 17:23:08 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Simple-count-is-not-working-properly/m-p/1218636#M623003</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2017-01-09T17:23:08Z</dc:date>
    </item>
    <item>
      <title>Re: Simple count is not working properly</title>
      <link>https://community.qlik.com/t5/QlikView/Simple-count-is-not-working-properly/m-p/1218637#M623004</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This is because the set analysis is specific to Welcome son no matter what ypu select, it will only show the count where EmailTypeSent is "Welcome*"&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 10 Jan 2017 07:42:31 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Simple-count-is-not-working-properly/m-p/1218637#M623004</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-01-10T07:42:31Z</dc:date>
    </item>
    <item>
      <title>Re: Simple count is not working properly</title>
      <link>https://community.qlik.com/t5/QlikView/Simple-count-is-not-working-properly/m-p/1218638#M623005</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;Hi,&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;Thaband rights, try&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;=count(DISTINCT{&amp;lt;EmailTypeSent={"Welcome*"}&amp;gt;} EmailAddress)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;Regards,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;Andrey&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 10 Jan 2017 08:23:40 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Simple-count-is-not-working-properly/m-p/1218638#M623005</guid>
      <dc:creator>ahaahaaha</dc:creator>
      <dc:date>2017-01-10T08:23:40Z</dc:date>
    </item>
    <item>
      <title>Re: Simple count is not working properly</title>
      <link>https://community.qlik.com/t5/QlikView/Simple-count-is-not-working-properly/m-p/1218639#M623006</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Wauw this works, thank you! Now i'm trying to understand why your formula works and mine not &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Not working:&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;=count(DISTINCT{&amp;lt;EmailTypeSent={'Welcome*'}&amp;gt;} EmailAddress)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Working:&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;=Count(DISTINCT{&amp;lt;EmailTypeSent &lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 14pt; font-family: inherit; color: #ff0000;"&gt;*&lt;/SPAN&gt;= {'Welcome*'}&amp;gt;} EmailAddress)&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;The only difference is the extra *.&lt;STRONG style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 10 Jan 2017 09:33:00 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Simple-count-is-not-working-properly/m-p/1218639#M623006</guid>
      <dc:creator>twanqlik</dc:creator>
      <dc:date>2017-01-10T09:33:00Z</dc:date>
    </item>
    <item>
      <title>Re: Simple count is not working properly</title>
      <link>https://community.qlik.com/t5/QlikView/Simple-count-is-not-working-properly/m-p/1218640#M623007</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Read here about &lt;A href="https://community.qlik.com/qlik-blogpost/4663"&gt;Implicit Set Operators&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 10 Jan 2017 10:07:03 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Simple-count-is-not-working-properly/m-p/1218640#M623007</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2017-01-10T10:07:03Z</dc:date>
    </item>
    <item>
      <title>Re: Simple count is not working properly</title>
      <link>https://community.qlik.com/t5/QlikView/Simple-count-is-not-working-properly/m-p/1218641#M623008</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you that helps!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have a similar question, maybe you can help me with that as well &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Simple table, 2 colums:&lt;/P&gt;&lt;P&gt;EmailAddress&lt;/P&gt;&lt;P&gt;URL_CTA_Code&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I want to calculate the number of distinct email addresses that have a 'bh' as URL_CTA_Code, however, the count is showing 9 and should be 0 in my example.&lt;/P&gt;&lt;P&gt;9 is the total count of unique email addresses. I noticed that this formula is only working when at least one consumer has a URL_CTA_Code, when they are all blank it doesn't work anymore. What i'm doing wrong? &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=count({&amp;lt;URL_CTA_Code*={'bh'}&amp;gt;}DISTINCT EmailAddress)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG __jive_id="148953" alt="test3.png" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/148953_test3.png" style="height: 171px; width: 620px;" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 10 Jan 2017 12:31:45 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Simple-count-is-not-working-properly/m-p/1218641#M623008</guid>
      <dc:creator>twanqlik</dc:creator>
      <dc:date>2017-01-10T12:31:45Z</dc:date>
    </item>
    <item>
      <title>Re: Simple count is not working properly</title>
      <link>https://community.qlik.com/t5/QlikView/Simple-count-is-not-working-properly/m-p/1218642#M623009</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Not sure how your data model looks like, but may be try this&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;&lt;STRONG&gt;=Count({&amp;lt;URL_CTA_Code*={'bh'}&amp;gt;}DISTINCT &lt;SPAN style="color: #ff0000; font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;URL_CTA_Code&lt;/SPAN&gt;)&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Assuming one - to - one relation between URL_CTA_CODE and EmailAddress fields.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 10 Jan 2017 12:35:02 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Simple-count-is-not-working-properly/m-p/1218642#M623009</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2017-01-10T12:35:02Z</dc:date>
    </item>
    <item>
      <title>Re: Simple count is not working properly</title>
      <link>https://community.qlik.com/t5/QlikView/Simple-count-is-not-working-properly/m-p/1218643#M623010</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;There is no data model, only one excel sheet with the 2 fields thats it.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Therefore there is no 1 - 1 relationship between the 2 fields. Your formula is showing the distinct count for the URL CTA Code without looking at the email addresses, that is missing &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Anymore ideas ? &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 10 Jan 2017 12:40:36 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Simple-count-is-not-working-properly/m-p/1218643#M623010</guid>
      <dc:creator>twanqlik</dc:creator>
      <dc:date>2017-01-10T12:40:36Z</dc:date>
    </item>
    <item>
      <title>Re: Simple count is not working properly</title>
      <link>https://community.qlik.com/t5/QlikView/Simple-count-is-not-working-properly/m-p/1218644#M623011</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Your expression seems to be working well for me&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="Capture.PNG" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/148959_Capture.PNG" style="height: 354px; width: 620px;" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 10 Jan 2017 12:46:37 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Simple-count-is-not-working-properly/m-p/1218644#M623011</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2017-01-10T12:46:37Z</dc:date>
    </item>
    <item>
      <title>Re: Simple count is not working properly</title>
      <link>https://community.qlik.com/t5/QlikView/Simple-count-is-not-working-properly/m-p/1218645#M623012</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I removed 2 'bh' values and now your expression it is not working anymore &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/wink.png" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 10 Jan 2017 12:54:05 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Simple-count-is-not-working-properly/m-p/1218645#M623012</guid>
      <dc:creator>twanqlik</dc:creator>
      <dc:date>2017-01-10T12:54:05Z</dc:date>
    </item>
    <item>
      <title>Re: Simple count is not working properly</title>
      <link>https://community.qlik.com/t5/QlikView/Simple-count-is-not-working-properly/m-p/1218646#M623014</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;So you are saying that Code field is coming in as completely empty?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 10 Jan 2017 13:03:27 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Simple-count-is-not-working-properly/m-p/1218646#M623014</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2017-01-10T13:03:27Z</dc:date>
    </item>
    <item>
      <title>Re: Simple count is not working properly</title>
      <link>https://community.qlik.com/t5/QlikView/Simple-count-is-not-working-properly/m-p/1218647#M623017</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Try this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;=Count({&amp;lt;Email={"=WildMatch(Concat(DISTINCT '|' &amp;amp; Code &amp;amp; '|'), '*|bh|*')"}&amp;gt;}DISTINCT Email)&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 10 Jan 2017 13:07:21 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Simple-count-is-not-working-properly/m-p/1218647#M623017</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2017-01-10T13:07:21Z</dc:date>
    </item>
    <item>
      <title>Re: Simple count is not working properly</title>
      <link>https://community.qlik.com/t5/QlikView/Simple-count-is-not-working-properly/m-p/1218648#M623019</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Maybe just a simple expression like&lt;/P&gt;&lt;P&gt;=Count(DISTINCT If( Code = 'bh',Email))&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If your data shows distinct Email per record, e.g. if Email is a primary key, it shouldn't perform worse.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;edit:&lt;/P&gt;&lt;P&gt;Or create a flag in the script:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Table:&lt;/P&gt;&lt;P&gt;LOAD Email,&lt;/P&gt;&lt;P&gt;&amp;nbsp; If(Len(Trim(Code)) &amp;gt; 0, Code) as Code,&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp; If(Code='bh',1,0) as CodeFlag;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;LOAD * Inline [&lt;/P&gt;&lt;P&gt;Email, Code&lt;/P&gt;&lt;P&gt;asa, &lt;/P&gt;&lt;P&gt;asdhsakm,&lt;/P&gt;&lt;P&gt;asdhsak,bh&lt;/P&gt;&lt;P&gt;sjdak, &lt;/P&gt;&lt;P&gt;];&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;then:&lt;/P&gt;&lt;P&gt;=Count({&amp;lt;CodeFlag = {1}&amp;gt;} DISTINCT Email)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 10 Jan 2017 13:20:17 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Simple-count-is-not-working-properly/m-p/1218648#M623019</guid>
      <dc:creator>swuehl</dc:creator>
      <dc:date>2017-01-10T13:20:17Z</dc:date>
    </item>
    <item>
      <title>Re: Simple count is not working properly</title>
      <link>https://community.qlik.com/t5/QlikView/Simple-count-is-not-working-properly/m-p/1218649#M623020</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;What a formula, but it works! Brilliant &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt; &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 10 Jan 2017 13:27:42 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Simple-count-is-not-working-properly/m-p/1218649#M623020</guid>
      <dc:creator>twanqlik</dc:creator>
      <dc:date>2017-01-10T13:27:42Z</dc:date>
    </item>
    <item>
      <title>Re: Simple count is not working properly</title>
      <link>https://community.qlik.com/t5/QlikView/Simple-count-is-not-working-properly/m-p/1218650#M623021</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you, this is also working.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Just wondering why my formula is not working? Why should it at least have an URL_CTHA_Code = bh value? &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;=count({&amp;lt;URL_CTA_Code*={'bh'}&amp;gt;}DISTINCT EmailAddress)&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 10 Jan 2017 13:34:00 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Simple-count-is-not-working-properly/m-p/1218650#M623021</guid>
      <dc:creator>twanqlik</dc:creator>
      <dc:date>2017-01-10T13:34:00Z</dc:date>
    </item>
    <item>
      <title>Re: Simple count is not working properly</title>
      <link>https://community.qlik.com/t5/QlikView/Simple-count-is-not-working-properly/m-p/1218651#M623022</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I think you don't need at least a code value of 'bh', but at least any value for that field (like my flag field does).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;QV creates a record set with &lt;EM&gt;all&lt;/EM&gt; records if the field you are trying to make a set expression selection in actually show NULL for all records.&lt;/P&gt;&lt;P&gt;Which is unexpected behaviour if your trying to filter on e.g. a certain value.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;As far as I remember, there is at least a thread here in the forum that discusses that, but couldn't find it right now.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 10 Jan 2017 14:34:17 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Simple-count-is-not-working-properly/m-p/1218651#M623022</guid>
      <dc:creator>swuehl</dc:creator>
      <dc:date>2017-01-10T14:34:17Z</dc:date>
    </item>
  </channel>
</rss>

