<?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 Count if / only qlik sense in App Development</title>
    <link>https://community.qlik.com/t5/App-Development/Count-if-only-qlik-sense/m-p/1441885#M34898</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;trying both ways , but wrong ..can I have some help please&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I want to only ever count customers that only order on a specific month, and not on any other month of the year&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; e.g August&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have tried this way but don't work&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Count(DISTINCT if([Month]='Aug', CustomerID))&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have heard you can do this with an only command&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;only({&amp;lt;[Month]={'Aug'}&amp;gt;} CustomerID)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;but how do you count using an only?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;please help&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 29 Sep 2017 11:49:25 GMT</pubDate>
    <dc:creator>joeybird</dc:creator>
    <dc:date>2017-09-29T11:49:25Z</dc:date>
    <item>
      <title>Count if / only qlik sense</title>
      <link>https://community.qlik.com/t5/App-Development/Count-if-only-qlik-sense/m-p/1441885#M34898</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;trying both ways , but wrong ..can I have some help please&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I want to only ever count customers that only order on a specific month, and not on any other month of the year&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; e.g August&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have tried this way but don't work&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Count(DISTINCT if([Month]='Aug', CustomerID))&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have heard you can do this with an only command&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;only({&amp;lt;[Month]={'Aug'}&amp;gt;} CustomerID)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;but how do you count using an only?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;please help&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 29 Sep 2017 11:49:25 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Count-if-only-qlik-sense/m-p/1441885#M34898</guid>
      <dc:creator>joeybird</dc:creator>
      <dc:date>2017-09-29T11:49:25Z</dc:date>
    </item>
    <item>
      <title>Re: Count if / only qlik sense</title>
      <link>https://community.qlik.com/t5/App-Development/Count-if-only-qlik-sense/m-p/1441886#M34899</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Maybe use&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Count({&amp;lt;CustomerID = e({&amp;lt;Month = e({&amp;lt;Month = {'Aug'}&amp;gt;}) &amp;gt;})&amp;gt;} DISTINCT CustomerID)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 29 Sep 2017 12:52:44 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Count-if-only-qlik-sense/m-p/1441886#M34899</guid>
      <dc:creator>swuehl</dc:creator>
      <dc:date>2017-09-29T12:52:44Z</dc:date>
    </item>
    <item>
      <title>Re: Count if / only qlik sense</title>
      <link>https://community.qlik.com/t5/App-Development/Count-if-only-qlik-sense/m-p/1441887#M34900</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;or&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-weight: inherit; font-style: inherit; font-family: inherit;"&gt;Count({&amp;lt;CustomerID = e({1&amp;lt;Month -= {'Aug'}&amp;gt;}) &amp;gt;} DISTINCT CustomerID)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 29 Sep 2017 12:54:35 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Count-if-only-qlik-sense/m-p/1441887#M34900</guid>
      <dc:creator>swuehl</dc:creator>
      <dc:date>2017-09-29T12:54:35Z</dc:date>
    </item>
    <item>
      <title>Re: Count if / only qlik sense</title>
      <link>https://community.qlik.com/t5/App-Development/Count-if-only-qlik-sense/m-p/1441888#M34901</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;And if you like the Only() idea maybe&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;CustomerID = {"=Only(Month)= 'Aug' "} &amp;gt;} DISTINCT CustomerID)&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 29 Sep 2017 12:56:41 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Count-if-only-qlik-sense/m-p/1441888#M34901</guid>
      <dc:creator>swuehl</dc:creator>
      <dc:date>2017-09-29T12:56:41Z</dc:date>
    </item>
    <item>
      <title>Re: Count if / only qlik sense</title>
      <link>https://community.qlik.com/t5/App-Development/Count-if-only-qlik-sense/m-p/1441889#M34902</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 method worked the best&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanks again team !&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 29 Sep 2017 13:00:12 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Count-if-only-qlik-sense/m-p/1441889#M34902</guid>
      <dc:creator>joeybird</dc:creator>
      <dc:date>2017-09-29T13:00:12Z</dc:date>
    </item>
    <item>
      <title>Re: Count if / only qlik sense</title>
      <link>https://community.qlik.com/t5/App-Development/Count-if-only-qlik-sense/m-p/1441890#M34903</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Stefan,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This is interesting - I'm trying to learn more about the E() and P() functions. Can you explain what you are trying to do here? My novice take on it is - moving from the innermost E outwards - that you are excluding all sales from the set that occurred in august, and then you are excluding all the remaining months. Seems like this would leave you with an empty set. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What am I missing?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 29 Sep 2017 13:02:39 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Count-if-only-qlik-sense/m-p/1441890#M34903</guid>
      <dc:creator>jonvitale</dc:creator>
      <dc:date>2017-09-29T13:02:39Z</dc:date>
    </item>
    <item>
      <title>Re: Count if / only qlik sense</title>
      <link>https://community.qlik.com/t5/App-Development/Count-if-only-qlik-sense/m-p/1441891#M34904</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt; stefan&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;CustomerID = {"=Only(Month)= 'Aug' "} &amp;gt;} DISTINCT CustomerID)&lt;/SPAN&gt;&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;I am trying to add stop a user selecting the dimension Department &lt;/SPAN&gt;&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;i have tried adding the following &lt;/SPAN&gt;&lt;/P&gt;&lt;P&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({&amp;lt; Department =,&amp;nbsp; CustomerID = {"=Only(Month)= 'Aug' "} &amp;gt;} DISTINCT CustomerID)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&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;but the measure is still being affected &lt;/SPAN&gt;&lt;/P&gt;&lt;P&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;any ideas please&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 29 Sep 2017 13:42:18 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Count-if-only-qlik-sense/m-p/1441891#M34904</guid>
      <dc:creator>joeybird</dc:creator>
      <dc:date>2017-09-29T13:42:18Z</dc:date>
    </item>
    <item>
      <title>Re: Count if / only qlik sense</title>
      <link>https://community.qlik.com/t5/App-Development/Count-if-only-qlik-sense/m-p/1441892#M34905</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Looking at the first expression:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1) Make a virtual selection of 'Aug' in Month field&lt;/P&gt;&lt;P&gt;2) Select excluded on virtual list box Month&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now this should result in all possible Month values except Aug being selected&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;3) Select excluded on virtual CustomerID list box&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This should result on selection of CustomerID that don't have a relation to the Month selected (all Month except Aug).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hm, maybe this selects also the Customer ID that don't have a relation to any Month (including Aug).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;And using especially e() could get troublesome if other selections needs to be taken into account.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So Joanna is probably right that the third expression is the easiest expression to understand and maintain.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 29 Sep 2017 13:54:08 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Count-if-only-qlik-sense/m-p/1441892#M34905</guid>
      <dc:creator>swuehl</dc:creator>
      <dc:date>2017-09-29T13:54:08Z</dc:date>
    </item>
    <item>
      <title>Re: Count if / only qlik sense</title>
      <link>https://community.qlik.com/t5/App-Development/Count-if-only-qlik-sense/m-p/1441893#M34906</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you Stefan.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 29 Sep 2017 14:04:18 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Count-if-only-qlik-sense/m-p/1441893#M34906</guid>
      <dc:creator>jonvitale</dc:creator>
      <dc:date>2017-09-29T14:04:18Z</dc:date>
    </item>
    <item>
      <title>Re: Count if / only qlik sense</title>
      <link>https://community.qlik.com/t5/App-Development/Count-if-only-qlik-sense/m-p/1441894#M34907</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;This seems unexpected.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can you describe what happens when you select a specific department?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 29 Sep 2017 15:46:03 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Count-if-only-qlik-sense/m-p/1441894#M34907</guid>
      <dc:creator>jonvitale</dc:creator>
      <dc:date>2017-09-29T15:46:03Z</dc:date>
    </item>
    <item>
      <title>Re: Count if / only qlik sense</title>
      <link>https://community.qlik.com/t5/App-Development/Count-if-only-qlik-sense/m-p/1441895#M34908</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The expression search will be affected by the selection state, so maybe&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;Department=, CustomerID = {"=Only({&amp;lt;Department=&amp;gt;} Month)= 'Aug' "} &amp;gt;} DISTINCT CustomerID)&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 29 Sep 2017 15:49:46 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Count-if-only-qlik-sense/m-p/1441895#M34908</guid>
      <dc:creator>swuehl</dc:creator>
      <dc:date>2017-09-29T15:49:46Z</dc:date>
    </item>
    <item>
      <title>Re: Count if / only qlik sense</title>
      <link>https://community.qlik.com/t5/App-Development/Count-if-only-qlik-sense/m-p/1441896#M34909</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;you cracked it&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thank you Stefan / Team&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Kind Regards&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 02 Oct 2017 09:33:01 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Count-if-only-qlik-sense/m-p/1441896#M34909</guid>
      <dc:creator>joeybird</dc:creator>
      <dc:date>2017-10-02T09:33:01Z</dc:date>
    </item>
  </channel>
</rss>

