<?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: Expression in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Expression/m-p/680962#M246889</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;What do you mean with 'not working'? What is the result you get and what do you expect?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;As mentioned several times before, it would really be helpful if you could post more details about your model and data and what you want to achieve. Best by posting a small sample app that demonstrates your issue.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sun, 15 Jun 2014 12:41:50 GMT</pubDate>
    <dc:creator>swuehl</dc:creator>
    <dc:date>2014-06-15T12:41:50Z</dc:date>
    <item>
      <title>Expression</title>
      <link>https://community.qlik.com/t5/QlikView/Expression/m-p/680947#M246874</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Friends&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;count(DISTINCT({&amp;lt;DAY = {"&amp;gt;20"}&amp;gt;}[POLICY_No]))&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can some help me to rewrite the above expression in the correct way&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 14 Jun 2014 17:04:57 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Expression/m-p/680947#M246874</guid>
      <dc:creator>upaliwije</dc:creator>
      <dc:date>2014-06-14T17:04:57Z</dc:date>
    </item>
    <item>
      <title>Re: Expression</title>
      <link>https://community.qlik.com/t5/QlikView/Expression/m-p/680948#M246875</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Doesn't look too bad, if DAY is a field with numbers.&lt;/P&gt;&lt;P&gt;Maybe check the brackets:&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;"&gt;=COUNT(&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;{&amp;lt;DAY = {"&amp;gt;20"}&amp;gt;}&lt;/SPAN&gt; DISTINCT [POLICY_No])&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 14 Jun 2014 17:25:35 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Expression/m-p/680948#M246875</guid>
      <dc:creator>swuehl</dc:creator>
      <dc:date>2014-06-14T17:25:35Z</dc:date>
    </item>
    <item>
      <title>Re: Expression</title>
      <link>https://community.qlik.com/t5/QlikView/Expression/m-p/680949#M246876</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The ( after DISTINCT does not exist&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Eduardo&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 14 Jun 2014 17:29:36 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Expression/m-p/680949#M246876</guid>
      <dc:creator>eduardo_sommer</dc:creator>
      <dc:date>2014-06-14T17:29:36Z</dc:date>
    </item>
    <item>
      <title>Re: Expression</title>
      <link>https://community.qlik.com/t5/QlikView/Expression/m-p/680950#M246877</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;maybe&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;count(DISTINCT &lt;STRONG style="font-size: 14pt;"&gt;(&lt;/STRONG&gt;{&amp;lt;DAY = {"&amp;gt;20"}&amp;gt;} [POLICY_No]&amp;nbsp; )&lt;SPAN style="font-size: 14pt;"&gt;)&lt;/SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; // original&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;count(DISTINCT&amp;nbsp; {&amp;lt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;DAY &lt;/SPAN&gt;= {"&amp;gt;20"}&amp;gt;} [&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;POLICY_No]&amp;nbsp; &lt;/SPAN&gt;)&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; // modified&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 14 Jun 2014 17:36:39 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Expression/m-p/680950#M246877</guid>
      <dc:creator>maxgro</dc:creator>
      <dc:date>2014-06-14T17:36:39Z</dc:date>
    </item>
    <item>
      <title>Re: Expression</title>
      <link>https://community.qlik.com/t5/QlikView/Expression/m-p/680951#M246878</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Try&lt;/P&gt;&lt;P&gt;Count({&amp;lt;DAY = {"&amp;gt;20"}&amp;gt;}Distinct &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;[POLICY_No]&lt;/SPAN&gt;)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 14 Jun 2014 19:11:35 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Expression/m-p/680951#M246878</guid>
      <dc:creator>MK_QSL</dc:creator>
      <dc:date>2014-06-14T19:11:35Z</dc:date>
    </item>
    <item>
      <title>Re: Expression</title>
      <link>https://community.qlik.com/t5/QlikView/Expression/m-p/680952#M246879</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks all&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But none of the expression is working&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 15 Jun 2014 06:06:33 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Expression/m-p/680952#M246879</guid>
      <dc:creator>upaliwije</dc:creator>
      <dc:date>2014-06-15T06:06:33Z</dc:date>
    </item>
    <item>
      <title>Re: Expression</title>
      <link>https://community.qlik.com/t5/QlikView/Expression/m-p/680953#M246880</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;Can you post your sample application?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;ASHFAQ&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 15 Jun 2014 06:19:55 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Expression/m-p/680953#M246880</guid>
      <dc:creator>ashfaq_haseeb</dc:creator>
      <dc:date>2014-06-15T06:19:55Z</dc:date>
    </item>
    <item>
      <title>Re: Expression</title>
      <link>https://community.qlik.com/t5/QlikView/Expression/m-p/680954#M246881</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;Let me explain this, but how this possible all the expression suggest are right please see the small example for understanding with small table and this data is dummy data.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Source:&lt;/P&gt;&lt;P&gt;LOAD * Inline&lt;/P&gt;&lt;P&gt;[&lt;/P&gt;&lt;P&gt;DAY, POLICY_No&lt;/P&gt;&lt;P&gt;20,15482&lt;/P&gt;&lt;P&gt;20,15863&lt;/P&gt;&lt;P&gt;10,145896&lt;/P&gt;&lt;P&gt;40,158456&lt;/P&gt;&lt;P&gt;30,125639&lt;/P&gt;&lt;P&gt;15,258741&lt;/P&gt;&lt;P&gt;12,256923&lt;/P&gt;&lt;P&gt;13,245855&lt;/P&gt;&lt;P&gt;];&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;And in the straight table take&lt;/P&gt;&lt;P&gt;Dimension:- DAY&lt;/P&gt;&lt;P&gt;Expression:- Count(DISTINCT&amp;nbsp; {&amp;lt;DAY = {"&amp;gt;20"}&amp;gt;} [POLICY_No]&amp;nbsp; ) // If DAY has numeric values&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 15 Jun 2014 06:26:40 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Expression/m-p/680954#M246881</guid>
      <dc:creator>its_anandrjs</dc:creator>
      <dc:date>2014-06-15T06:26:40Z</dc:date>
    </item>
    <item>
      <title>Re: Expression</title>
      <link>https://community.qlik.com/t5/QlikView/Expression/m-p/680955#M246882</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Anand&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks. What you say is correct and my below expression is working very well.&lt;/P&gt;&lt;P&gt;sum({&amp;lt;DAY = {"&amp;gt;20"}&amp;gt;}[AMOUNT])&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But this one is not working&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;Count(DISTINCT&amp;nbsp; {&amp;lt;DAY = {"&amp;gt;20"}&amp;gt;} [POLICY_No]&amp;nbsp; )&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;Pls help&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 15 Jun 2014 06:34:58 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Expression/m-p/680955#M246882</guid>
      <dc:creator>upaliwije</dc:creator>
      <dc:date>2014-06-15T06:34:58Z</dc:date>
    </item>
    <item>
      <title>Re: Expression</title>
      <link>https://community.qlik.com/t5/QlikView/Expression/m-p/680956#M246883</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi 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;"&gt;Count({&amp;lt;DAY = {"&amp;gt;20"}&amp;gt;} &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;DISTINCT&amp;nbsp; &lt;/SPAN&gt;[POLICY_No]&amp;nbsp; )&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&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;"&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;"&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;"&gt;ASHFAQ&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 15 Jun 2014 06:39:41 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Expression/m-p/680956#M246883</guid>
      <dc:creator>ashfaq_haseeb</dc:creator>
      <dc:date>2014-06-15T06:39:41Z</dc:date>
    </item>
    <item>
      <title>Re: Expression</title>
      <link>https://community.qlik.com/t5/QlikView/Expression/m-p/680957#M246884</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Ashfaq&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;"&gt;sum({&amp;lt;DAY = {"&amp;gt;20"}&amp;gt;} distinct [AMOUNT]) &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&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;"&gt;The above is working but What I want is count the policy No&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 15 Jun 2014 06:44:28 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Expression/m-p/680957#M246884</guid>
      <dc:creator>upaliwije</dc:creator>
      <dc:date>2014-06-15T06:44:28Z</dc:date>
    </item>
    <item>
      <title>Re: Expression</title>
      <link>https://community.qlik.com/t5/QlikView/Expression/m-p/680958#M246885</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;Can you please share your sample app.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;ASHFAQ&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 15 Jun 2014 06:49:27 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Expression/m-p/680958#M246885</guid>
      <dc:creator>ashfaq_haseeb</dc:creator>
      <dc:date>2014-06-15T06:49:27Z</dc:date>
    </item>
    <item>
      <title>Re: Expression</title>
      <link>https://community.qlik.com/t5/QlikView/Expression/m-p/680959#M246886</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks Ashfaq,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Sorry I am unable to do it&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;count({&amp;lt;DAY = {"&amp;gt;20"}&amp;gt;}[POLICY_NO]) &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This expression is also working . But the question is when DISTINCT is added to the Expression it is not working&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 15 Jun 2014 06:58:34 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Expression/m-p/680959#M246886</guid>
      <dc:creator>upaliwije</dc:creator>
      <dc:date>2014-06-15T06:58:34Z</dc:date>
    </item>
    <item>
      <title>Re: Expression</title>
      <link>https://community.qlik.com/t5/QlikView/Expression/m-p/680960#M246887</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Can you share some sample data.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 15 Jun 2014 07:09:23 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Expression/m-p/680960#M246887</guid>
      <dc:creator>its_anandrjs</dc:creator>
      <dc:date>2014-06-15T07:09:23Z</dc:date>
    </item>
    <item>
      <title>Re: Expression</title>
      <link>https://community.qlik.com/t5/QlikView/Expression/m-p/680961#M246888</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Upali&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Use single quotes instead of double&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;Count({&amp;lt;DAY = {'&amp;gt;20'}&amp;gt;} &lt;/SPAN&gt;&lt;SPAN style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;DISTINCT&amp;nbsp; &lt;/SPAN&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;[POLICY_No]&amp;nbsp; )&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&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;"&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;"&gt;Padma&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 15 Jun 2014 12:20:03 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Expression/m-p/680961#M246888</guid>
      <dc:creator />
      <dc:date>2014-06-15T12:20:03Z</dc:date>
    </item>
    <item>
      <title>Re: Expression</title>
      <link>https://community.qlik.com/t5/QlikView/Expression/m-p/680962#M246889</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;What do you mean with 'not working'? What is the result you get and what do you expect?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;As mentioned several times before, it would really be helpful if you could post more details about your model and data and what you want to achieve. Best by posting a small sample app that demonstrates your issue.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 15 Jun 2014 12:41:50 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Expression/m-p/680962#M246889</guid>
      <dc:creator>swuehl</dc:creator>
      <dc:date>2014-06-15T12:41:50Z</dc:date>
    </item>
  </channel>
</rss>

