<?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: Simple Column Count for &amp;gt; and = '0' in App Development</title>
    <link>https://community.qlik.com/t5/App-Development/Simple-Column-Count-for-gt-and-0/m-p/1968444#M79971</link>
    <description>&lt;P&gt;Then perhaps try the below or would you share the 'DEP_TIME' values&lt;/P&gt;
&lt;P&gt;COUNT({&amp;lt;DEP_TIME= {'0.00'}&amp;gt; } DEP_TIME)&lt;/P&gt;</description>
    <pubDate>Sat, 13 Aug 2022 10:38:29 GMT</pubDate>
    <dc:creator>BrunPierre</dc:creator>
    <dc:date>2022-08-13T10:38:29Z</dc:date>
    <item>
      <title>Simple Column Count for &gt; and = '0'</title>
      <link>https://community.qlik.com/t5/App-Development/Simple-Column-Count-for-gt-and-0/m-p/1968426#M79968</link>
      <description>&lt;P&gt;Hi, &lt;BR /&gt;&lt;BR /&gt;I have a column called 'DEP_TIME' in my data set. It is measured in minutes.&lt;/P&gt;
&lt;P&gt;If the DEP_TIME is on time, it is equal to 0.&lt;/P&gt;
&lt;P&gt;Else, the DEP_TIME is late and has a value greater than 0.&lt;/P&gt;
&lt;P&gt;I am looking to calculate the proportion of records on time (with '0') expressed as a percentage of all records.&lt;/P&gt;
&lt;P&gt;So, something like this:&lt;/P&gt;
&lt;P&gt;(Count of 'late' = '0') / ((Count of 'late' = '0') + (Count of 'late' &amp;gt; '0')) * 100&lt;/P&gt;
&lt;P&gt;I am not familiar with Qlik custom functions, so I could please use some help!&lt;/P&gt;</description>
      <pubDate>Fri, 15 Nov 2024 22:39:06 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Simple-Column-Count-for-gt-and-0/m-p/1968426#M79968</guid>
      <dc:creator>rossdickinson</dc:creator>
      <dc:date>2024-11-15T22:39:06Z</dc:date>
    </item>
    <item>
      <title>Re: Simple Column Count for &gt; and = '0'</title>
      <link>https://community.qlik.com/t5/App-Development/Simple-Column-Count-for-gt-and-0/m-p/1968438#M79969</link>
      <description>&lt;P&gt;Try this&lt;/P&gt;
&lt;P&gt;COUNT({&amp;lt;DEP_TIME= {'0'}&amp;gt; } DEP_TIME) /&lt;/P&gt;
&lt;P&gt;(COUNT({&amp;lt;DEP_TIME= {'0'}&amp;gt; } DEP_TIME) + COUNT({&amp;lt;DEP_TIME= {"&amp;gt;0"}&amp;gt; } DEP_TIME) )&amp;nbsp; *&amp;nbsp; 100&lt;/P&gt;</description>
      <pubDate>Sat, 13 Aug 2022 10:46:22 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Simple-Column-Count-for-gt-and-0/m-p/1968438#M79969</guid>
      <dc:creator>BrunPierre</dc:creator>
      <dc:date>2022-08-13T10:46:22Z</dc:date>
    </item>
    <item>
      <title>Re: Simple Column Count for &gt; and = '0'</title>
      <link>https://community.qlik.com/t5/App-Development/Simple-Column-Count-for-gt-and-0/m-p/1968443#M79970</link>
      <description>&lt;P&gt;Hey,&lt;BR /&gt;&lt;BR /&gt;I tried using a similar function and the results for&lt;/P&gt;
&lt;P&gt;COUNT({&amp;lt;DEP_TIME= {'0'}&amp;gt; } DEP_TIME) alsways returns as '0'. Which is not the case, most of the values in the column are actually '0'.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;The format of '0' in the column is '0.00', not sure if that needs to changed?&lt;/P&gt;</description>
      <pubDate>Sat, 13 Aug 2022 09:30:35 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Simple-Column-Count-for-gt-and-0/m-p/1968443#M79970</guid>
      <dc:creator>rossdickinson</dc:creator>
      <dc:date>2022-08-13T09:30:35Z</dc:date>
    </item>
    <item>
      <title>Re: Simple Column Count for &gt; and = '0'</title>
      <link>https://community.qlik.com/t5/App-Development/Simple-Column-Count-for-gt-and-0/m-p/1968444#M79971</link>
      <description>&lt;P&gt;Then perhaps try the below or would you share the 'DEP_TIME' values&lt;/P&gt;
&lt;P&gt;COUNT({&amp;lt;DEP_TIME= {'0.00'}&amp;gt; } DEP_TIME)&lt;/P&gt;</description>
      <pubDate>Sat, 13 Aug 2022 10:38:29 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Simple-Column-Count-for-gt-and-0/m-p/1968444#M79971</guid>
      <dc:creator>BrunPierre</dc:creator>
      <dc:date>2022-08-13T10:38:29Z</dc:date>
    </item>
    <item>
      <title>Re: Simple Column Count for &gt; and = '0'</title>
      <link>https://community.qlik.com/t5/App-Development/Simple-Column-Count-for-gt-and-0/m-p/1973088#M80285</link>
      <description>&lt;P&gt;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/193705"&gt;@rossdickinson&lt;/a&gt;&amp;nbsp;Is your question answered?&lt;/P&gt;</description>
      <pubDate>Thu, 25 Aug 2022 14:06:17 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Simple-Column-Count-for-gt-and-0/m-p/1973088#M80285</guid>
      <dc:creator>BrunPierre</dc:creator>
      <dc:date>2022-08-25T14:06:17Z</dc:date>
    </item>
    <item>
      <title>Re: Simple Column Count for &gt; and = '0'</title>
      <link>https://community.qlik.com/t5/App-Development/Simple-Column-Count-for-gt-and-0/m-p/1973986#M80336</link>
      <description>&lt;P&gt;You need to count on a field that identifies each row uniquely&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;example&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;=count( {&amp;lt;DEP_TIME={"0"}&amp;gt;}rowid) /&amp;nbsp;&lt;SPAN&gt;count( {&amp;lt;DEP_TIME={"&amp;gt;=0"}&amp;gt;}rowid)&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;or just&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;=count( {&amp;lt;DEP_TIME={"0"}&amp;gt;}rowid) /&amp;nbsp;count(rowid)&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 29 Aug 2022 01:07:46 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Simple-Column-Count-for-gt-and-0/m-p/1973986#M80336</guid>
      <dc:creator>vinieme12</dc:creator>
      <dc:date>2022-08-29T01:07:46Z</dc:date>
    </item>
  </channel>
</rss>

