<?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 If less than/equal to issue in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Count-If-less-than-equal-to-issue/m-p/1408951#M800522</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I'm not sure exactly how you did this, as I can't select the "frequency" if I'm using an expression variable (instead of a pre-defined variable name).&amp;nbsp; And it doesn't really answer my question, unfortunately.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 30 Nov 2017 23:43:13 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2017-11-30T23:43:13Z</dc:date>
    <item>
      <title>Count If less than/equal to issue</title>
      <link>https://community.qlik.com/t5/QlikView/Count-If-less-than-equal-to-issue/m-p/1408947#M800518</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I always struggle with a "countif" setup in Qlikview -- it's one of the few things that Excel or Numbers are far better at.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am trying to count cases if the calculated variance is &amp;lt;= 0.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I created a variable "StartVariance" (one date/time subtracted from another date/time) -- and on my straight table, it shows the expected results.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Ultimately, I need to calculate the percentage of cases that have a variance of 0 or less than 1 (meaning we started on time or early).&amp;nbsp; But I need the count of those cases first.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I searched and found this option:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; count({StartVariance=["&amp;lt;=0"]&amp;gt;} DISTINCT CASE_COUNT)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It gives me the result "1" -- it should tell me 46&lt;/P&gt;&lt;P&gt;If I take out the DISTINCT, it just gives me the total number of cases.&amp;nbsp; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I've attached a file with the data pertinent to this expression.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Ideas?&amp;nbsp; Solutions?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks!&amp;nbsp; Chris&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 25 Nov 2020 16:16:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Count-If-less-than-equal-to-issue/m-p/1408947#M800518</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2020-11-25T16:16:04Z</dc:date>
    </item>
    <item>
      <title>Re: Count If less than/equal to issue</title>
      <link>https://community.qlik.com/t5/QlikView/Count-If-less-than-equal-to-issue/m-p/1408948#M800519</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;May be 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; font-size: 13px;"&gt;&lt;STRONG&gt;Count({&amp;lt;StartVariance = {"&amp;lt;=0"}&amp;gt;} CASE_COUNT)&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 30 Nov 2017 21:10:21 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Count-If-less-than-equal-to-issue/m-p/1408948#M800519</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2017-11-30T21:10:21Z</dc:date>
    </item>
    <item>
      <title>Re: Count If less than/equal to issue</title>
      <link>https://community.qlik.com/t5/QlikView/Count-If-less-than-equal-to-issue/m-p/1408949#M800520</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;no, changing the type of brackets doesn't make a difference.&amp;nbsp; &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 30 Nov 2017 21:26:49 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Count-If-less-than-equal-to-issue/m-p/1408949#M800520</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-11-30T21:26:49Z</dc:date>
    </item>
    <item>
      <title>Re: Count If less than/equal to issue</title>
      <link>https://community.qlik.com/t5/QlikView/Count-If-less-than-equal-to-issue/m-p/1408950#M800521</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="color: #212121; font-family: arial, sans-serif; font-size: 16px;"&gt;I attached an example of how to perform the calculations&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 30 Nov 2017 21:33:24 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Count-If-less-than-equal-to-issue/m-p/1408950#M800521</guid>
      <dc:creator>gballester</dc:creator>
      <dc:date>2017-11-30T21:33:24Z</dc:date>
    </item>
    <item>
      <title>Re: Count If less than/equal to issue</title>
      <link>https://community.qlik.com/t5/QlikView/Count-If-less-than-equal-to-issue/m-p/1408951#M800522</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I'm not sure exactly how you did this, as I can't select the "frequency" if I'm using an expression variable (instead of a pre-defined variable name).&amp;nbsp; And it doesn't really answer my question, unfortunately.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 30 Nov 2017 23:43:13 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Count-If-less-than-equal-to-issue/m-p/1408951#M800522</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-11-30T23:43:13Z</dc:date>
    </item>
    <item>
      <title>Re: Count If less than/equal to issue</title>
      <link>https://community.qlik.com/t5/QlikView/Count-If-less-than-equal-to-issue/m-p/1408952#M800523</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;= count({&amp;lt;Variance={ "&amp;lt;=1"}&amp;gt;} Variance)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;= count({&amp;lt;Variance={ "&amp;lt;=1"}&amp;gt;} distinct Variance)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 01 Dec 2017 00:22:38 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Count-If-less-than-equal-to-issue/m-p/1408952#M800523</guid>
      <dc:creator>gballester</dc:creator>
      <dc:date>2017-12-01T00:22:38Z</dc:date>
    </item>
    <item>
      <title>Re: Count If less than/equal to issue</title>
      <link>https://community.qlik.com/t5/QlikView/Count-If-less-than-equal-to-issue/m-p/1408953#M800524</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;count&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;if&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;Variance&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;&amp;lt;=0,&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;Variance&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;))&amp;nbsp; or&amp;nbsp; &lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;count&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;({&amp;lt;&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;Variance&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;={&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;"&amp;lt;=0"&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;}&amp;gt;} &lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;Variance&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;) &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 01 Dec 2017 05:44:36 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Count-If-less-than-equal-to-issue/m-p/1408953#M800524</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-12-01T05:44:36Z</dc:date>
    </item>
  </channel>
</rss>

