<?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: Count in expression in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Count-in-expression/m-p/512356#M1122616</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;This expression gives me a weekly sales amount.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;(Sum( if(MonthlyTotal&amp;lt;=3,SalesAmount))/13)/count(DISTINCT ItemNumberCommon)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I want to count the when the above expression is above $500.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Lance H. James, CPA&lt;/P&gt;&lt;P&gt;Director of Finance&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The Aspen Brands Company&lt;/P&gt;&lt;P&gt;Kate Aspen • Baby Aspen&lt;/P&gt;&lt;P&gt;www.kateaspen.com&amp;lt;http://www.kateaspen.com&amp;gt; • www.babyaspen.com&amp;lt;http://www.babyaspen.com&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;T: 678.282.0053 ext. 777&lt;/P&gt;&lt;P&gt;2400 Chattahoochee Drive&lt;/P&gt;&lt;P&gt;Duluth, GA  30097&lt;/P&gt;&lt;P&gt;2013, 2012 &amp;amp; 2011 Top Places to Work - Atlanta Journal Constitution&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Follow us on Facebook and Twitter!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 14 Jan 2014 20:49:38 GMT</pubDate>
    <dc:creator />
    <dc:date>2014-01-14T20:49:38Z</dc:date>
    <item>
      <title>Count in expression</title>
      <link>https://community.qlik.com/t5/QlikView/Count-in-expression/m-p/512354#M1122614</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have an expression that works well at giving me the weekly average of a sku for the first 13 weeks.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;(Sum( if(MonthlyTotal&amp;lt;=3,SalesAmount))/13)/count(DISTINCT ItemNumberCommon)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I want to count how many skus that are above X dollar amount, so for example how many sku are above $250 per week.  How can I do this?asd&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Lance H. James, CPA&lt;/P&gt;&lt;P&gt;Director of Finance&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 14 Jan 2014 20:34:38 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Count-in-expression/m-p/512354#M1122614</guid>
      <dc:creator />
      <dc:date>2014-01-14T20:34:38Z</dc:date>
    </item>
    <item>
      <title>Re: Count in expression</title>
      <link>https://community.qlik.com/t5/QlikView/Count-in-expression/m-p/512355#M1122615</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;quick question: SKU is a dimension in your model ?&lt;/P&gt;&lt;P&gt;and you are looking for Count of SKU's where sum(SalesAmount) is &amp;gt; 250 right?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can you post a sample...?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 14 Jan 2014 20:45:35 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Count-in-expression/m-p/512355#M1122615</guid>
      <dc:creator>phaneendra_kunc</dc:creator>
      <dc:date>2014-01-14T20:45:35Z</dc:date>
    </item>
    <item>
      <title>Re: Count in expression</title>
      <link>https://community.qlik.com/t5/QlikView/Count-in-expression/m-p/512356#M1122616</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;This expression gives me a weekly sales amount.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;(Sum( if(MonthlyTotal&amp;lt;=3,SalesAmount))/13)/count(DISTINCT ItemNumberCommon)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I want to count the when the above expression is above $500.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Lance H. James, CPA&lt;/P&gt;&lt;P&gt;Director of Finance&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The Aspen Brands Company&lt;/P&gt;&lt;P&gt;Kate Aspen • Baby Aspen&lt;/P&gt;&lt;P&gt;www.kateaspen.com&amp;lt;http://www.kateaspen.com&amp;gt; • www.babyaspen.com&amp;lt;http://www.babyaspen.com&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;T: 678.282.0053 ext. 777&lt;/P&gt;&lt;P&gt;2400 Chattahoochee Drive&lt;/P&gt;&lt;P&gt;Duluth, GA  30097&lt;/P&gt;&lt;P&gt;2013, 2012 &amp;amp; 2011 Top Places to Work - Atlanta Journal Constitution&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Follow us on Facebook and Twitter!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 14 Jan 2014 20:49:38 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Count-in-expression/m-p/512356#M1122616</guid>
      <dc:creator />
      <dc:date>2014-01-14T20:49:38Z</dc:date>
    </item>
    <item>
      <title>Re: Re: Count in expression</title>
      <link>https://community.qlik.com/t5/QlikView/Count-in-expression/m-p/512357#M1122617</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hey Lance,&lt;/P&gt;&lt;P&gt;Ok so lets call this expression you are using as 'Exp'.&lt;/P&gt;&lt;P&gt;You would be using this expression in a table with some dimensions.&lt;/P&gt;&lt;P&gt;So if you want to count and put the result in a text box you could use something like&lt;/P&gt;&lt;P&gt;=count(if(aggr(Exp,Dim1,Dim2)&amp;gt;=30,Dim3))&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have attached a sample file which might help you. I used a simple sum but it should work for your case as well.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;AJ&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 14 Jan 2014 21:05:16 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Count-in-expression/m-p/512357#M1122617</guid>
      <dc:creator />
      <dc:date>2014-01-14T21:05:16Z</dc:date>
    </item>
  </channel>
</rss>

