<?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 lines higher than other lines in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Count-lines-higher-than-other-lines/m-p/681646#M247146</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;try:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Count({&amp;lt;Lines = p({&amp;lt;Lines = {'&amp;gt;=$(=Invoice)'}&amp;gt;}Lines)*p({&amp;lt;Invoice = {'&amp;gt;=$(=0)'}&amp;gt;}Lines) &amp;gt;}Lines&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 16 Jun 2014 07:13:32 GMT</pubDate>
    <dc:creator />
    <dc:date>2014-06-16T07:13:32Z</dc:date>
    <item>
      <title>Count lines higher than other lines</title>
      <link>https://community.qlik.com/t5/QlikView/Count-lines-higher-than-other-lines/m-p/681643#M247143</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello everyone,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I need your help about a set analysis expression.&lt;/P&gt;&lt;P&gt;I have to count the number of Lines higher than Invoice AND whose Invoice is not equal to 0.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;To do that, I did this expression :&lt;/P&gt;&lt;P&gt;=Count({&amp;lt;&lt;STRONG&gt;Lines&lt;/STRONG&gt;={"=&lt;STRONG&gt;Lines&lt;/STRONG&gt;&amp;gt;&lt;STRONG&gt;Invoice&lt;/STRONG&gt;"}*{"=&lt;STRONG&gt;Invoice&lt;/STRONG&gt;&amp;lt;&amp;gt;0"}&amp;gt;}[&lt;STRONG&gt;Lines&lt;/STRONG&gt;])&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But the result does not seem very correct..&lt;/P&gt;&lt;P&gt;Do you have any idea to improve the expression ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 16 Jun 2014 07:07:12 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Count-lines-higher-than-other-lines/m-p/681643#M247143</guid>
      <dc:creator />
      <dc:date>2014-06-16T07:07:12Z</dc:date>
    </item>
    <item>
      <title>Re: Count lines higher than other lines</title>
      <link>https://community.qlik.com/t5/QlikView/Count-lines-higher-than-other-lines/m-p/681644#M247144</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;=Count({&amp;lt;Lines={"&amp;gt;=Invoice"}, Invoice={"&amp;gt;=0"}&amp;gt;} Lines)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 16 Jun 2014 07:10:02 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Count-lines-higher-than-other-lines/m-p/681644#M247144</guid>
      <dc:creator />
      <dc:date>2014-06-16T07:10:02Z</dc:date>
    </item>
    <item>
      <title>Re: Count lines higher than other lines</title>
      <link>https://community.qlik.com/t5/QlikView/Count-lines-higher-than-other-lines/m-p/681645#M247145</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(If((lines&amp;gt;invoice and invoice&amp;lt;&amp;gt;0),lines))&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 16 Jun 2014 07:11:34 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Count-lines-higher-than-other-lines/m-p/681645#M247145</guid>
      <dc:creator />
      <dc:date>2014-06-16T07:11:34Z</dc:date>
    </item>
    <item>
      <title>Re: Count lines higher than other lines</title>
      <link>https://community.qlik.com/t5/QlikView/Count-lines-higher-than-other-lines/m-p/681646#M247146</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;try:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Count({&amp;lt;Lines = p({&amp;lt;Lines = {'&amp;gt;=$(=Invoice)'}&amp;gt;}Lines)*p({&amp;lt;Invoice = {'&amp;gt;=$(=0)'}&amp;gt;}Lines) &amp;gt;}Lines&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 16 Jun 2014 07:13:32 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Count-lines-higher-than-other-lines/m-p/681646#M247146</guid>
      <dc:creator />
      <dc:date>2014-06-16T07:13:32Z</dc:date>
    </item>
    <item>
      <title>Re: Count lines higher than other lines</title>
      <link>https://community.qlik.com/t5/QlikView/Count-lines-higher-than-other-lines/m-p/681647#M247147</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;Some change&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;=Count({&amp;lt;Lines={ ' &amp;gt;Invoice ' }, Invoice = {"&amp;gt;0"}&amp;gt;} Lines)&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 16 Jun 2014 07:14:10 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Count-lines-higher-than-other-lines/m-p/681647#M247147</guid>
      <dc:creator>its_anandrjs</dc:creator>
      <dc:date>2014-06-16T07:14:10Z</dc:date>
    </item>
    <item>
      <title>Re: Count lines higher than other lines</title>
      <link>https://community.qlik.com/t5/QlikView/Count-lines-higher-than-other-lines/m-p/681648#M247148</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;This sort of set analysis gives right result only if the comparison field (here &lt;STRONG&gt;Lines&lt;/STRONG&gt;) has unique values (i.e - a key field). Otherwise, try using &lt;STRONG&gt;if &lt;/STRONG&gt;like: =Count( If(&lt;STRONG&gt;Lines&lt;/STRONG&gt;&amp;gt;&lt;STRONG&gt;Invoice &lt;/STRONG&gt;and &lt;STRONG&gt;Invoice&lt;/STRONG&gt;&amp;lt;&amp;gt;0 ,[&lt;STRONG&gt;Lines&lt;/STRONG&gt;]) )&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 16 Jun 2014 07:14:14 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Count-lines-higher-than-other-lines/m-p/681648#M247148</guid>
      <dc:creator>tresB</dc:creator>
      <dc:date>2014-06-16T07:14:14Z</dc:date>
    </item>
    <item>
      <title>Re: Count lines higher than other lines</title>
      <link>https://community.qlik.com/t5/QlikView/Count-lines-higher-than-other-lines/m-p/681649#M247149</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you everyone for your response ! &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 16 Jun 2014 07:30:29 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Count-lines-higher-than-other-lines/m-p/681649#M247149</guid>
      <dc:creator />
      <dc:date>2014-06-16T07:30:29Z</dc:date>
    </item>
  </channel>
</rss>

