<?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 Count IF in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Count-IF/m-p/1631515#M446494</link>
    <description>&lt;P&gt;Hi - I have the following set analysis which works really well, in counting all event keys greater than or equal to 14:&lt;/P&gt;&lt;P&gt;=Count({&amp;lt;WBR_Stat_Date = {"$(=Date(Today()))"}, Elapsed = {"&amp;gt;14"}&amp;gt;} [WBR_Event_Key])&lt;/P&gt;&lt;P&gt;Can you tell me how to modify this so I can say (in a table) if an entry is greater to or equal to 14 than 'Yes' otherwise 'No'.&amp;nbsp; I need some way for the users to be able to click on either a Yes or a No within the table and view the results.&amp;nbsp; It's more meaningful for them than just a count.&amp;nbsp; Many thanks.&lt;/P&gt;&lt;P&gt;Rgds&lt;/P&gt;</description>
    <pubDate>Sat, 16 Nov 2024 02:18:09 GMT</pubDate>
    <dc:creator>jlampard40</dc:creator>
    <dc:date>2024-11-16T02:18:09Z</dc:date>
    <item>
      <title>Count IF</title>
      <link>https://community.qlik.com/t5/QlikView/Count-IF/m-p/1631515#M446494</link>
      <description>&lt;P&gt;Hi - I have the following set analysis which works really well, in counting all event keys greater than or equal to 14:&lt;/P&gt;&lt;P&gt;=Count({&amp;lt;WBR_Stat_Date = {"$(=Date(Today()))"}, Elapsed = {"&amp;gt;14"}&amp;gt;} [WBR_Event_Key])&lt;/P&gt;&lt;P&gt;Can you tell me how to modify this so I can say (in a table) if an entry is greater to or equal to 14 than 'Yes' otherwise 'No'.&amp;nbsp; I need some way for the users to be able to click on either a Yes or a No within the table and view the results.&amp;nbsp; It's more meaningful for them than just a count.&amp;nbsp; Many thanks.&lt;/P&gt;&lt;P&gt;Rgds&lt;/P&gt;</description>
      <pubDate>Sat, 16 Nov 2024 02:18:09 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Count-IF/m-p/1631515#M446494</guid>
      <dc:creator>jlampard40</dc:creator>
      <dc:date>2024-11-16T02:18:09Z</dc:date>
    </item>
    <item>
      <title>Re: Count IF</title>
      <link>https://community.qlik.com/t5/QlikView/Count-IF/m-p/1631623#M446498</link>
      <description>&lt;P&gt;While loading your data create a new column something like below&lt;/P&gt;&lt;P&gt;if(&lt;SPAN&gt;Elapsed&amp;nbsp;&amp;lt;=14,'No','Yes') as [Elapsed Time Filter]&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 04 Oct 2019 19:45:48 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Count-IF/m-p/1631623#M446498</guid>
      <dc:creator>dplr-rn</dc:creator>
      <dc:date>2019-10-04T19:45:48Z</dc:date>
    </item>
    <item>
      <title>Re: Count IF</title>
      <link>https://community.qlik.com/t5/QlikView/Count-IF/m-p/1634845#M446713</link>
      <description>&lt;P&gt;James, below is a Design Blog post with info on Set Analysis and some other links to other posts as well, which may be helpful.&lt;/P&gt;
&lt;P&gt;&lt;A href="https://community.qlik.com/t5/Qlik-Design-Blog/A-Primer-on-Set-Analysis/ba-p/1468344" target="_blank"&gt;https://community.qlik.com/t5/Qlik-Design-Blog/A-Primer-on-Set-Analysis/ba-p/1468344&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;I would think this should be as easy as switching your =Count to =If statement and set the Yes, No in the If...&amp;nbsp; I am not a Set Analysis guru, so I am hesitant to take a shot at the syntax, but I cannot see that wrapping your statement inside the If statement should not do the trick.&amp;nbsp; This will kick things back up, so one of the other development gurus may see things and confirm or deny my theory here...&amp;nbsp; If you want both the count and the Yes/No, that may be a bit more tricky, and I believe if you want the users to be able to make&amp;nbsp; a selection in a list box, you will need to use Dilip's post in that case, as you will need the Field in order to allow the users to select things I believe.&amp;nbsp;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Regards,&lt;BR /&gt;Brett&lt;/P&gt;</description>
      <pubDate>Mon, 14 Oct 2019 12:31:42 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Count-IF/m-p/1634845#M446713</guid>
      <dc:creator>Brett_Bleess</dc:creator>
      <dc:date>2019-10-14T12:31:42Z</dc:date>
    </item>
  </channel>
</rss>

