<?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 function in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/count-function/m-p/911336#M985409</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Try this may be:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;=Count({&amp;lt;InvoiceNo = {"=Sum(SalesAmt) &amp;gt; 40"}&amp;gt;}DISTINCT InvoiceNo)&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 05 Aug 2015 09:07:44 GMT</pubDate>
    <dc:creator>sunny_talwar</dc:creator>
    <dc:date>2015-08-05T09:07:44Z</dc:date>
    <item>
      <title>count function</title>
      <link>https://community.qlik.com/t5/QlikView/count-function/m-p/911334#M985407</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Experts,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i have the following table.&lt;/P&gt;&lt;P&gt;SALES:&lt;/P&gt;&lt;P&gt;LOAD Branch,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Date,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; InvoiceNo,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; SalesAmt&lt;/P&gt;&lt;P&gt;FROM&lt;/P&gt;&lt;P&gt;QVD\SALES.qvd&lt;/P&gt;&lt;P&gt;(qvd);&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i need to count the invoices whose sales value is above 40.00&lt;/P&gt;&lt;P&gt;there may be a scenario like&lt;/P&gt;&lt;P&gt;Invoice No&amp;nbsp;&amp;nbsp;&amp;nbsp; SalesAmt&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #1f497d;"&gt;01076249&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 17.95&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #1f497d;"&gt;01076249&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 17.95&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #1f497d;"&gt;01076249&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 10.00&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #1f497d;"&gt;i.e., all the above transactions is on one invoice, so the count should be 1.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #1f497d;"&gt;i tried using the expresson &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #1f497d;"&gt;&lt;STRONG&gt;Count(DISTINCT if(sum(&lt;SPAN style="font-size: 13.3333330154419px;"&gt;SalesAmt&lt;/SPAN&gt;) &amp;gt; '40.00', &lt;SPAN style="font-size: 13.3333330154419px;"&gt;InvoiceNo&lt;/SPAN&gt;))&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #1f497d;"&gt;but its showing null values.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #1f497d;"&gt;i dont know where the above expression is wrong.&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #1f497d;"&gt;Please help me on this&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 05 Aug 2015 09:02:20 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/count-function/m-p/911334#M985407</guid>
      <dc:creator />
      <dc:date>2015-08-05T09:02:20Z</dc:date>
    </item>
    <item>
      <title>Re: count function</title>
      <link>https://community.qlik.com/t5/QlikView/count-function/m-p/911335#M985408</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;=Count(distinct{&amp;lt;&lt;STRONG style="color: #1f497d; font-size: 13.3333330154419px; font-style: inherit; font-family: inherit; font-weight: inherit;"&gt;InvoiceNo={"=sum(&lt;STRONG style="color: #1f497d; font-size: 13.3333330154419px; font-style: inherit; font-family: inherit; font-weight: inherit;"&gt;SalesAmt)&amp;gt;40&lt;/STRONG&gt;"}&amp;gt;}&lt;STRONG style="color: #1f497d; font-size: 13.3333330154419px; font-style: inherit; font-family: inherit; font-weight: inherit;"&gt;InvoiceNo&lt;/STRONG&gt;&lt;/STRONG&gt;)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 05 Aug 2015 09:06:35 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/count-function/m-p/911335#M985408</guid>
      <dc:creator>Kushal_Chawda</dc:creator>
      <dc:date>2015-08-05T09:06:35Z</dc:date>
    </item>
    <item>
      <title>Re: count function</title>
      <link>https://community.qlik.com/t5/QlikView/count-function/m-p/911336#M985409</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Try this may be:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;=Count({&amp;lt;InvoiceNo = {"=Sum(SalesAmt) &amp;gt; 40"}&amp;gt;}DISTINCT InvoiceNo)&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 05 Aug 2015 09:07:44 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/count-function/m-p/911336#M985409</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2015-08-05T09:07:44Z</dc:date>
    </item>
    <item>
      <title>Re: count function</title>
      <link>https://community.qlik.com/t5/QlikView/count-function/m-p/911337#M985410</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;try to cget Count of all InvoiceNo instead of each single transaction&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #1f497d;"&gt;&lt;STRONG&gt;Count(DISTINCT if(aggr(sum(&lt;SPAN style="font-size: 13.33px;"&gt;SalesAmt&lt;/SPAN&gt;),InvoiceNo) &amp;gt; '40.00', &lt;SPAN style="font-size: 13.33px;"&gt;InvoiceNo&lt;/SPAN&gt;))&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 05 Aug 2015 09:07:48 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/count-function/m-p/911337#M985410</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-08-05T09:07:48Z</dc:date>
    </item>
    <item>
      <title>Re: count function</title>
      <link>https://community.qlik.com/t5/QlikView/count-function/m-p/911338#M985411</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;STRONG&gt;=Count({&amp;lt;InvoiceNo = {"=Sum(SalesAmt) &amp;gt; 40"}&amp;gt;}DISTINCT InvoiceNo)&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 05 Aug 2015 19:32:14 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/count-function/m-p/911338#M985411</guid>
      <dc:creator>sasiparupudi1</dc:creator>
      <dc:date>2015-08-05T19:32:14Z</dc:date>
    </item>
  </channel>
</rss>

