<?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: Having clause in an expression in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Having-clause-in-an-expression/m-p/674356#M1052149</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Sorry, i probably didn't explain what i am trying to do very well.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Basically the expression =Count(DISTINCT CustNo) works perfect.&amp;nbsp; But i now want to do a count on distinct CustNo where the value spent is more than zero.&amp;nbsp; The value field is just called val..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Help! &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 22 Oct 2014 10:35:37 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2014-10-22T10:35:37Z</dc:date>
    <item>
      <title>Having clause in an expression</title>
      <link>https://community.qlik.com/t5/QlikView/Having-clause-in-an-expression/m-p/674353#M1052146</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi guys,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am trying to find distinct customers who have a value of spend more than zero within a range.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My fields are called CustNo and val and the state is called Range 1 (or Range 2).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is this possible in an expression?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for your help as always&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 21 Oct 2014 17:12:25 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Having-clause-in-an-expression/m-p/674353#M1052146</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2014-10-21T17:12:25Z</dc:date>
    </item>
    <item>
      <title>Re: Having clause in an expression</title>
      <link>https://community.qlik.com/t5/QlikView/Having-clause-in-an-expression/m-p/674354#M1052147</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Having in SQL is like filtering after aggregation&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;An example will help.&amp;nbsp; Depending on the context you can do subtotals with&amp;nbsp; sum ( TOTAL&amp;nbsp; &amp;lt;expression&amp;gt; )&amp;nbsp; or using aggr(&amp;nbsp; sum( &amp;lt;expression&amp;gt; )&amp;nbsp; , &amp;lt;Dimension&amp;gt;)&amp;nbsp; .&amp;nbsp; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can use an IF() statement with the above to filter for a range. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For an example , attach a QVW sample to your post using the 'advanced editor' in your reply.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 21 Oct 2014 17:18:24 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Having-clause-in-an-expression/m-p/674354#M1052147</guid>
      <dc:creator>JonnyPoole</dc:creator>
      <dc:date>2014-10-21T17:18:24Z</dc:date>
    </item>
    <item>
      <title>Re: Having clause in an expression</title>
      <link>https://community.qlik.com/t5/QlikView/Having-clause-in-an-expression/m-p/674355#M1052148</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;try using set analysis like this one&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;sum({$&amp;lt; &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;CustNo ={&amp;gt;'Range 1'&amp;lt;'Range 2'}&lt;/SPAN&gt;&amp;gt;} &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;CustNo&lt;/SPAN&gt;)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 21 Oct 2014 17:22:54 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Having-clause-in-an-expression/m-p/674355#M1052148</guid>
      <dc:creator />
      <dc:date>2014-10-21T17:22:54Z</dc:date>
    </item>
    <item>
      <title>Re: Having clause in an expression</title>
      <link>https://community.qlik.com/t5/QlikView/Having-clause-in-an-expression/m-p/674356#M1052149</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Sorry, i probably didn't explain what i am trying to do very well.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Basically the expression =Count(DISTINCT CustNo) works perfect.&amp;nbsp; But i now want to do a count on distinct CustNo where the value spent is more than zero.&amp;nbsp; The value field is just called val..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Help! &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 22 Oct 2014 10:35:37 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Having-clause-in-an-expression/m-p/674356#M1052149</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2014-10-22T10:35:37Z</dc:date>
    </item>
    <item>
      <title>Re: Having clause in an expression</title>
      <link>https://community.qlik.com/t5/QlikView/Having-clause-in-an-expression/m-p/674357#M1052150</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;Try this&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;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;val&lt;/SPAN&gt;={'&amp;gt;0'}&amp;gt;}DISTINCT CustNo)&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;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 22 Oct 2014 10:40:38 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Having-clause-in-an-expression/m-p/674357#M1052150</guid>
      <dc:creator>ashfaq_haseeb</dc:creator>
      <dc:date>2014-10-22T10:40:38Z</dc:date>
    </item>
    <item>
      <title>Re: Having clause in an expression</title>
      <link>https://community.qlik.com/t5/QlikView/Having-clause-in-an-expression/m-p/674358#M1052151</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Jamel,&lt;/P&gt;&lt;P&gt;&lt;/P&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;"&gt;Count({&amp;lt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;val&lt;/SPAN&gt;={"&amp;gt;0"}&amp;gt;}DISTINCT CustNo)&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;"&gt;What is state in your case (Range1). Is it connected to your requirement? &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;"&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;KC&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 22 Oct 2014 10:45:40 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Having-clause-in-an-expression/m-p/674358#M1052151</guid>
      <dc:creator>jyothish8807</dc:creator>
      <dc:date>2014-10-22T10:45:40Z</dc:date>
    </item>
    <item>
      <title>Re: Having clause in an expression</title>
      <link>https://community.qlik.com/t5/QlikView/Having-clause-in-an-expression/m-p/674359#M1052152</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Try some thing like&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;Count({&amp;lt;&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;val&lt;/SPAN&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;={"&amp;gt;0"}, state ={ &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;'Range 1' , 'Range 2' } &lt;/SPAN&gt;&amp;gt;}DISTINCT CustNo)&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Regards,&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Anand&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 22 Oct 2014 10:59:52 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Having-clause-in-an-expression/m-p/674359#M1052152</guid>
      <dc:creator>its_anandrjs</dc:creator>
      <dc:date>2014-10-22T10:59:52Z</dc:date>
    </item>
    <item>
      <title>Re: Having clause in an expression</title>
      <link>https://community.qlik.com/t5/QlikView/Having-clause-in-an-expression/m-p/674360#M1052153</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi guys,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanks for your help.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It is still counting a customer when their spend is less than zero though.. Arggghh&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="Capture.JPG.jpg" class="jive-image" src="https://community.qlik.com/legacyfs/online/69458_Capture.JPG.jpg" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 22 Oct 2014 11:04:20 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Having-clause-in-an-expression/m-p/674360#M1052153</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2014-10-22T11:04:20Z</dc:date>
    </item>
    <item>
      <title>Re: Having clause in an expression</title>
      <link>https://community.qlik.com/t5/QlikView/Having-clause-in-an-expression/m-p/674361#M1052154</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Can you post sample qvw&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 22 Oct 2014 11:06:40 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Having-clause-in-an-expression/m-p/674361#M1052154</guid>
      <dc:creator>anbu1984</dc:creator>
      <dc:date>2014-10-22T11:06:40Z</dc:date>
    </item>
    <item>
      <title>Re: Having clause in an expression</title>
      <link>https://community.qlik.com/t5/QlikView/Having-clause-in-an-expression/m-p/674362#M1052155</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;Try this&lt;/P&gt;&lt;P&gt;=Count({&amp;lt;CustNo={"=sum(val)&amp;gt;0"}&amp;gt;} distinct CustNo)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Let me know if that worked.&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>Wed, 22 Oct 2014 11:09:22 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Having-clause-in-an-expression/m-p/674362#M1052155</guid>
      <dc:creator>ashfaq_haseeb</dc:creator>
      <dc:date>2014-10-22T11:09:22Z</dc:date>
    </item>
    <item>
      <title>Re: Having clause in an expression</title>
      <link>https://community.qlik.com/t5/QlikView/Having-clause-in-an-expression/m-p/674363#M1052156</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Is it because I need to use the "sum" of the value?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 22 Oct 2014 11:10:10 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Having-clause-in-an-expression/m-p/674363#M1052156</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2014-10-22T11:10:10Z</dc:date>
    </item>
    <item>
      <title>Re: Having clause in an expression</title>
      <link>https://community.qlik.com/t5/QlikView/Having-clause-in-an-expression/m-p/674364#M1052157</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;did you try this?&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;CustNo={"=sum(val)&amp;gt;0"}&amp;gt;} distinct CustNo)&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;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 22 Oct 2014 11:11:40 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Having-clause-in-an-expression/m-p/674364#M1052157</guid>
      <dc:creator>ashfaq_haseeb</dc:creator>
      <dc:date>2014-10-22T11:11:40Z</dc:date>
    </item>
    <item>
      <title>Re: Having clause in an expression</title>
      <link>https://community.qlik.com/t5/QlikView/Having-clause-in-an-expression/m-p/674365#M1052158</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yeeeeeees!! ! That worked.&amp;nbsp; Thanks very much Ashfaq I knew i was going wrong somewhere... &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 22 Oct 2014 11:13:16 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Having-clause-in-an-expression/m-p/674365#M1052158</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2014-10-22T11:13:16Z</dc:date>
    </item>
    <item>
      <title>Re: Having clause in an expression</title>
      <link>https://community.qlik.com/t5/QlikView/Having-clause-in-an-expression/m-p/674366#M1052161</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Welcome &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;Regards&lt;/P&gt;&lt;P&gt;ASHFAQ&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 22 Oct 2014 11:13:58 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Having-clause-in-an-expression/m-p/674366#M1052161</guid>
      <dc:creator>ashfaq_haseeb</dc:creator>
      <dc:date>2014-10-22T11:13:58Z</dc:date>
    </item>
    <item>
      <title>Re: Having clause in an expression</title>
      <link>https://community.qlik.com/t5/QlikView/Having-clause-in-an-expression/m-p/674367#M1052164</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Just want to go one further.. Haha.&amp;nbsp; Is it possible to group by these customers as i am still seeing the customers within the last but they are not being counted (which is good!) but i would like to not see them in the table..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I know i am a perfectionist! &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="Capture.JPG.jpg" class="jive-image" src="https://community.qlik.com/legacyfs/online/69459_Capture.JPG.jpg" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 22 Oct 2014 11:18:26 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Having-clause-in-an-expression/m-p/674367#M1052164</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2014-10-22T11:18:26Z</dc:date>
    </item>
    <item>
      <title>Re: Having clause in an expression</title>
      <link>https://community.qlik.com/t5/QlikView/Having-clause-in-an-expression/m-p/674368#M1052167</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Change your value expression to &lt;/P&gt;&lt;P&gt;If(Column(1)&amp;lt;&amp;gt;0,Value_expression)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Column(1) returns value of first expression&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 22 Oct 2014 11:25:54 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Having-clause-in-an-expression/m-p/674368#M1052167</guid>
      <dc:creator>anbu1984</dc:creator>
      <dc:date>2014-10-22T11:25:54Z</dc:date>
    </item>
    <item>
      <title>Re: Having clause in an expression</title>
      <link>https://community.qlik.com/t5/QlikView/Having-clause-in-an-expression/m-p/674369#M1052171</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;Add calculated dimension if (sum(Val)&amp;gt;0,&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;CustNo&lt;/SPAN&gt;)&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>Wed, 22 Oct 2014 11:26:19 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Having-clause-in-an-expression/m-p/674369#M1052171</guid>
      <dc:creator>ashfaq_haseeb</dc:creator>
      <dc:date>2014-10-22T11:26:19Z</dc:date>
    </item>
    <item>
      <title>Re: Having clause in an expression</title>
      <link>https://community.qlik.com/t5/QlikView/Having-clause-in-an-expression/m-p/674370#M1052175</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Brilliant !! Thanks Anbu that's worked a treat.. &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 22 Oct 2014 11:28:21 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Having-clause-in-an-expression/m-p/674370#M1052175</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2014-10-22T11:28:21Z</dc:date>
    </item>
    <item>
      <title>Re: Having clause in an expression</title>
      <link>https://community.qlik.com/t5/QlikView/Having-clause-in-an-expression/m-p/674371#M1052179</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi guys,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i am trying to take this a step even further and compare years which i have created variables for.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This expression doesn't work though&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=COUNT({&amp;lt;CalendarYear ={$(vyear1)}&amp;gt;}{&amp;lt;CustNo={"=sum(val)&amp;gt;0"}&amp;gt;} Distinct left(Customer,5))&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If i change the year within the variable box the data stays the same! &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/sad.png" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 22 Oct 2014 14:54:53 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Having-clause-in-an-expression/m-p/674371#M1052179</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2014-10-22T14:54:53Z</dc:date>
    </item>
    <item>
      <title>Re: Having clause in an expression</title>
      <link>https://community.qlik.com/t5/QlikView/Having-clause-in-an-expression/m-p/674372#M1052183</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;"&gt;=COUNT({&amp;lt;CalendarYear ={$(vyear1)},CustNo={"=sum(val)&amp;gt;0"}&amp;gt;} Distinct left(Customer,5))&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 23 Oct 2014 05:14:51 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Having-clause-in-an-expression/m-p/674372#M1052183</guid>
      <dc:creator>anbu1984</dc:creator>
      <dc:date>2014-10-23T05:14:51Z</dc:date>
    </item>
  </channel>
</rss>

