<?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 expression with if in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Count-expression-with-if/m-p/574993#M214097</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Maybe like&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=sum( aggr( if( sum(VAL_SKP) &amp;gt; 20, 1,0), COD_PDR))&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;but I am pretty unsure what you need here. Could you upload a small sample application?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 27 Jan 2014 21:17:36 GMT</pubDate>
    <dc:creator>swuehl</dc:creator>
    <dc:date>2014-01-27T21:17:36Z</dc:date>
    <item>
      <title>Count expression with if</title>
      <link>https://community.qlik.com/t5/QlikView/Count-expression-with-if/m-p/574992#M214096</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hy guys!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I need a help to resolve a little problem with my count expression...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i have a field (Numbers of interventions) and i need to count this field only if the sum of hours of interventions are &amp;gt; 20.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I try to do the expression...but it doesn't work...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;sum(if(sum(aggr(sum(VAL_SKP), COD_PDR))&amp;gt;20,1,0))&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you for help!!!!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 27 Jan 2014 21:09:11 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Count-expression-with-if/m-p/574992#M214096</guid>
      <dc:creator />
      <dc:date>2014-01-27T21:09:11Z</dc:date>
    </item>
    <item>
      <title>Re: Count expression with if</title>
      <link>https://community.qlik.com/t5/QlikView/Count-expression-with-if/m-p/574993#M214097</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Maybe like&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=sum( aggr( if( sum(VAL_SKP) &amp;gt; 20, 1,0), COD_PDR))&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;but I am pretty unsure what you need here. Could you upload a small sample application?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 27 Jan 2014 21:17:36 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Count-expression-with-if/m-p/574993#M214097</guid>
      <dc:creator>swuehl</dc:creator>
      <dc:date>2014-01-27T21:17:36Z</dc:date>
    </item>
    <item>
      <title>Re: Count expression with if</title>
      <link>https://community.qlik.com/t5/QlikView/Count-expression-with-if/m-p/574994#M214098</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You could try&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SUM({&amp;lt;VAL_SKP ={"&amp;gt;20"}&amp;gt;}COD_PDR)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 27 Jan 2014 21:21:07 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Count-expression-with-if/m-p/574994#M214098</guid>
      <dc:creator>rustyfishbones</dc:creator>
      <dc:date>2014-01-27T21:21:07Z</dc:date>
    </item>
    <item>
      <title>Re: Re: Count expression with if</title>
      <link>https://community.qlik.com/t5/QlikView/Count-expression-with-if/m-p/574995#M214099</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;i have a table like the first two column...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;the point is that i need to sum 1 only if is verified the condition sum(aggr(sum(val_skp),cod_pdr))&amp;gt;20...if this condition is ok then i sum 1, else 0. condition works well but the "then" instruction doesn't work. it is because there are sum operator outside and inside if instructions. Have u got some suggestions?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thx a lot&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;TABLE border="0" cellpadding="0" cellspacing="0" style="width: 294px;"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD class="xl63" height="17" width="98"&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;COD_PDR&lt;/P&gt;&lt;/TD&gt;&lt;TD class="xl63" style="border-left: none;" width="98"&gt;VAL_SKP&lt;/TD&gt;&lt;TD class="xl63" style="border-left: none;" width="98"&gt;SUM(ORE_PDR_INTER)&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl64" height="17" style="border-top: none;"&gt; &lt;/TD&gt;&lt;TD class="xl65" style="border-top: none;"&gt; &lt;/TD&gt;&lt;TD align="right" class="xl66" style="border-top: none;"&gt;60,54&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD align="right" class="xl67" height="17" style="border-top: none;"&gt;31761701&lt;/TD&gt;&lt;TD class="xl68" style="border-top: none; border-left: none;"&gt;0,38&lt;/TD&gt;&lt;TD align="right" class="xl67" style="border-top: none; border-left: none;"&gt;0,76&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD align="right" class="xl67" height="17" style="border-top: none;"&gt;34112001&lt;/TD&gt;&lt;TD class="xl68" style="border-top: none; border-left: none;"&gt;0,5&lt;/TD&gt;&lt;TD align="right" class="xl67" style="border-top: none; border-left: none;"&gt;2&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD align="right" class="xl67" height="17" style="border-top: none;"&gt;31952801&lt;/TD&gt;&lt;TD class="xl68" style="border-top: none; border-left: none;"&gt;0,54&lt;/TD&gt;&lt;TD align="right" class="xl67" style="border-top: none; border-left: none;"&gt;1,08&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD align="right" class="xl67" height="17" style="border-top: none;"&gt;31952802&lt;/TD&gt;&lt;TD class="xl68" style="border-top: none; border-left: none;"&gt;0,54&lt;/TD&gt;&lt;TD align="right" class="xl67" style="border-top: none; border-left: none;"&gt;1,08&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD align="right" class="xl67" height="17" style="border-top: none;"&gt;32317701&lt;/TD&gt;&lt;TD class="xl68" style="border-top: none; border-left: none;"&gt;1,54&lt;/TD&gt;&lt;TD align="right" class="xl67" style="border-top: none; border-left: none;"&gt;3,08&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD align="right" class="xl67" height="17" style="border-top: none;"&gt;34651403&lt;/TD&gt;&lt;TD class="xl68" style="border-top: none; border-left: none;"&gt;1,54&lt;/TD&gt;&lt;TD align="right" class="xl67" style="border-top: none; border-left: none;"&gt;3,08&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD align="right" class="xl67" height="17" style="border-top: none;"&gt;31716701&lt;/TD&gt;&lt;TD class="xl68" style="border-top: none; border-left: none;"&gt;0,42&lt;/TD&gt;&lt;TD align="right" class="xl67" style="border-top: none; border-left: none;"&gt;0,84&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD align="right" class="xl67" height="17" style="border-top: none;"&gt;34636601&lt;/TD&gt;&lt;TD class="xl68" style="border-top: none; border-left: none;"&gt;0,42&lt;/TD&gt;&lt;TD align="right" class="xl67" style="border-top: none; border-left: none;"&gt;0,84&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD align="right" class="xl67" height="17" style="border-top: none;"&gt;35720301&lt;/TD&gt;&lt;TD class="xl68" style="border-top: none; border-left: none;"&gt;1,67&lt;/TD&gt;&lt;TD align="right" class="xl67" style="border-top: none; border-left: none;"&gt;6,68&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD align="right" class="xl67" height="17" style="border-top: none;"&gt;34299101&lt;/TD&gt;&lt;TD class="xl68" style="border-top: none; border-left: none;"&gt;0,54&lt;/TD&gt;&lt;TD align="right" class="xl67" style="border-top: none; border-left: none;"&gt;1,08&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD align="right" class="xl67" height="17" style="border-top: none;"&gt;34335102&lt;/TD&gt;&lt;TD class="xl68" style="border-top: none; border-left: none;"&gt;0,54&lt;/TD&gt;&lt;TD align="right" class="xl67" style="border-top: none; border-left: none;"&gt;1,08&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD align="right" class="xl67" height="17" style="border-top: none;"&gt;33040301&lt;/TD&gt;&lt;TD class="xl68" style="border-top: none; border-left: none;"&gt;1,54&lt;/TD&gt;&lt;TD align="right" class="xl67" style="border-top: none; border-left: none;"&gt;3,08&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD align="right" class="xl67" height="17" style="border-top: none;"&gt;50034301&lt;/TD&gt;&lt;TD class="xl68" style="border-top: none; border-left: none;"&gt;1,54&lt;/TD&gt;&lt;TD align="right" class="xl67" style="border-top: none; border-left: none;"&gt;3,08&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD align="right" class="xl67" height="17" style="border-top: none;"&gt;50037201&lt;/TD&gt;&lt;TD class="xl68" style="border-top: none; border-left: none;"&gt;1,54&lt;/TD&gt;&lt;TD align="right" class="xl67" style="border-top: none; border-left: none;"&gt;3,08&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD align="right" class="xl67" height="17" style="border-top: none;"&gt;33022401&lt;/TD&gt;&lt;TD class="xl68" style="border-top: none; border-left: none;"&gt;0,54&lt;/TD&gt;&lt;TD align="right" class="xl67" style="border-top: none; border-left: none;"&gt;1,08&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD align="right" class="xl67" height="17" style="border-top: none;"&gt;31290401&lt;/TD&gt;&lt;TD class="xl68" style="border-top: none; border-left: none;"&gt;0,27&lt;/TD&gt;&lt;TD align="right" class="xl67" style="border-top: none; border-left: none;"&gt;0,54&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD align="right" class="xl67" height="17" style="border-top: none;"&gt;31290402&lt;/TD&gt;&lt;TD class="xl68" style="border-top: none; border-left: none;"&gt;0,27&lt;/TD&gt;&lt;TD align="right" class="xl67" style="border-top: none; border-left: none;"&gt;0,54&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD align="right" class="xl67" height="17" style="border-top: none;"&gt;34561402&lt;/TD&gt;&lt;TD class="xl68" style="border-top: none; border-left: none;"&gt;0,27&lt;/TD&gt;&lt;TD align="right" class="xl67" style="border-top: none; border-left: none;"&gt;0,54&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD align="right" class="xl67" height="17" style="border-top: none;"&gt;34572602&lt;/TD&gt;&lt;TD class="xl68" style="border-top: none; border-left: none;"&gt;0,27&lt;/TD&gt;&lt;TD align="right" class="xl67" style="border-top: none; border-left: none;"&gt;0,54&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD align="right" class="xl67" height="17" style="border-top: none;"&gt;34572902&lt;/TD&gt;&lt;TD class="xl68" style="border-top: none; border-left: none;"&gt;0,27&lt;/TD&gt;&lt;TD align="right" class="xl67" style="border-top: none; border-left: none;"&gt;0,54&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD align="right" class="xl67" height="17" style="border-top: none;"&gt;34573505&lt;/TD&gt;&lt;TD class="xl68" style="border-top: none; border-left: none;"&gt;0,27&lt;/TD&gt;&lt;TD align="right" class="xl67" style="border-top: none; border-left: none;"&gt;0,54&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD align="right" class="xl67" height="17" style="border-top: none;"&gt;32708501&lt;/TD&gt;&lt;TD class="xl68" style="border-top: none; border-left: none;"&gt;0,5&lt;/TD&gt;&lt;TD align="right" class="xl67" style="border-top: none; border-left: none;"&gt;1&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 27 Jan 2014 21:37:35 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Count-expression-with-if/m-p/574995#M214099</guid>
      <dc:creator />
      <dc:date>2014-01-27T21:37:35Z</dc:date>
    </item>
  </channel>
</rss>

