<?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: How to use an OR clause in a CountIf statement? in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/How-to-use-an-OR-clause-in-a-CountIf-statement/m-p/1694028#M450821</link>
    <description>&lt;P&gt;Hi, the syntax can be:&amp;nbsp;=Count({&amp;lt;A={'Y'}&amp;gt;+&amp;lt;B={'Y'}&amp;gt;+&amp;lt;C={'Y'}&amp;gt;} System)&lt;/P&gt;&lt;P&gt;So, differnet sets identified between &amp;lt;&amp;gt;, with + to make an OR between this sets&lt;/P&gt;</description>
    <pubDate>Thu, 16 Apr 2020 11:23:16 GMT</pubDate>
    <dc:creator>rubenmarin</dc:creator>
    <dc:date>2020-04-16T11:23:16Z</dc:date>
    <item>
      <title>How to use an OR clause in a CountIf statement?</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-use-an-OR-clause-in-a-CountIf-statement/m-p/1693977#M450818</link>
      <description>&lt;P&gt;Hi, I have the following data table sample:&lt;/P&gt;&lt;TABLE border="1" width="100%"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD width="25%"&gt;System&lt;/TD&gt;&lt;TD width="25%"&gt;A&lt;/TD&gt;&lt;TD width="25%"&gt;B&lt;/TD&gt;&lt;TD width="25%"&gt;C&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD width="25%"&gt;1&lt;/TD&gt;&lt;TD width="25%"&gt;Y&lt;/TD&gt;&lt;TD width="25%"&gt;N&lt;/TD&gt;&lt;TD width="25%"&gt;N&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD width="25%"&gt;2&lt;/TD&gt;&lt;TD width="25%"&gt;N&lt;/TD&gt;&lt;TD width="25%"&gt;Y&lt;/TD&gt;&lt;TD width="25%"&gt;Y&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD width="25%"&gt;3&lt;/TD&gt;&lt;TD width="25%"&gt;N&lt;/TD&gt;&lt;TD width="25%"&gt;N&lt;/TD&gt;&lt;TD width="25%"&gt;Y&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD width="25%"&gt;4&lt;/TD&gt;&lt;TD width="25%"&gt;N&lt;/TD&gt;&lt;TD width="25%"&gt;N&lt;/TD&gt;&lt;TD width="25%"&gt;N&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;In one of my dashboards, I want a view to show Systems that are equal to &lt;EM&gt;A = Y&amp;nbsp;&lt;STRONG&gt;or&amp;nbsp;&lt;/STRONG&gt; B = Y&amp;nbsp;&lt;STRONG&gt;or&amp;nbsp;&lt;/STRONG&gt;C = Y&lt;/EM&gt;. So in this example only System 1, 2 and 3 are should show.&lt;/P&gt;&lt;P&gt;Currently I have tried&amp;nbsp;&lt;/P&gt;&lt;P&gt;=Count({&amp;lt; A = {'Y'} or B = {'Y'} or C&amp;nbsp;= {'Y'}&amp;gt;} System)&lt;/P&gt;&lt;P&gt;But i just get an error in expression.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;</description>
      <pubDate>Sat, 16 Nov 2024 00:50:02 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-use-an-OR-clause-in-a-CountIf-statement/m-p/1693977#M450818</guid>
      <dc:creator>kfahri342</dc:creator>
      <dc:date>2024-11-16T00:50:02Z</dc:date>
    </item>
    <item>
      <title>Re: How to use an OR clause in a CountIf statement?</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-use-an-OR-clause-in-a-CountIf-statement/m-p/1694028#M450821</link>
      <description>&lt;P&gt;Hi, the syntax can be:&amp;nbsp;=Count({&amp;lt;A={'Y'}&amp;gt;+&amp;lt;B={'Y'}&amp;gt;+&amp;lt;C={'Y'}&amp;gt;} System)&lt;/P&gt;&lt;P&gt;So, differnet sets identified between &amp;lt;&amp;gt;, with + to make an OR between this sets&lt;/P&gt;</description>
      <pubDate>Thu, 16 Apr 2020 11:23:16 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-use-an-OR-clause-in-a-CountIf-statement/m-p/1694028#M450821</guid>
      <dc:creator>rubenmarin</dc:creator>
      <dc:date>2020-04-16T11:23:16Z</dc:date>
    </item>
    <item>
      <title>Re: How to use an OR clause in a CountIf statement?</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-use-an-OR-clause-in-a-CountIf-statement/m-p/1702053#M451263</link>
      <description>&lt;P&gt;Just posting Help link on things as there is further documentation there on what Ruben mentioned:&lt;/P&gt;&lt;P&gt;&lt;A href="https://help.qlik.com/en-US/qlikview/April2020/Subsystems/Client/Content/QV_QlikView/ChartFunctions/SetAnalysis/set-analysis-expressions.htm" target="_blank"&gt;https://help.qlik.com/en-US/qlikview/April2020/Subsystems/Client/Content/QV_QlikView/ChartFunctions/SetAnalysis/set-analysis-expressions.htm&lt;/A&gt;&lt;/P&gt;&lt;P&gt;The following Design Blog may be helpful too:&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 am going to mark Ruben's post as the solution given you have not replied back, so I am assuming that worked.&lt;/P&gt;&lt;P&gt;Regards,&lt;BR /&gt;Brett&lt;/P&gt;</description>
      <pubDate>Thu, 14 May 2020 14:47:32 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-use-an-OR-clause-in-a-CountIf-statement/m-p/1702053#M451263</guid>
      <dc:creator>Brett_Bleess</dc:creator>
      <dc:date>2020-05-14T14:47:32Z</dc:date>
    </item>
  </channel>
</rss>

