<?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: Is there a way to use the OR function in script in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Is-there-a-way-to-use-the-OR-function-in-script/m-p/703419#M1070319</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Of course you can use OR and AND both&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 19 Aug 2014 09:59:37 GMT</pubDate>
    <dc:creator>sujeetsingh</dc:creator>
    <dc:date>2014-08-19T09:59:37Z</dc:date>
    <item>
      <title>Is there a way to use the OR function in script</title>
      <link>https://community.qlik.com/t5/QlikView/Is-there-a-way-to-use-the-OR-function-in-script/m-p/703416#M1070316</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am trying to use an OR function in Qlkiview while loading the script&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; IF(OR(Accept_compliance = 'No',&lt;/P&gt;&lt;P&gt;&amp;nbsp; Accept_compliance ='Expired',&lt;/P&gt;&lt;P&gt;&amp;nbsp; Convert_compliance ='Expired',&lt;/P&gt;&lt;P&gt;&amp;nbsp; Convert_compliance ='No',&lt;/P&gt;&lt;P&gt;&amp;nbsp; Closed_compliance ='No',&lt;/P&gt;&lt;P&gt;&amp;nbsp; Closed_compliance ='Expired'),'No','Yes')&lt;/P&gt;&lt;P&gt;&amp;nbsp; as Total_Compliance&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is there a way I can achieve the same or can anyone help me with a possible workaround in the script to load the data.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Note: All the compliance are created as dimensions using the If condition in the script.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any help on the issue will really be helpful as I am really stuck.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Prathamesh Sable&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 19 Aug 2014 09:48:13 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Is-there-a-way-to-use-the-OR-function-in-script/m-p/703416#M1070316</guid>
      <dc:creator />
      <dc:date>2014-08-19T09:48:13Z</dc:date>
    </item>
    <item>
      <title>Re: Is there a way to use the OR function in script</title>
      <link>https://community.qlik.com/t5/QlikView/Is-there-a-way-to-use-the-OR-function-in-script/m-p/703417#M1070317</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Try like:&lt;/P&gt;&lt;P&gt;If( &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;Accept_compliance = 'No' &lt;STRONG&gt;Or &lt;/STRONG&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt; Accept_compliance ='Expired' &lt;STRONG&gt;Or&lt;/STRONG&gt; ........&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 19 Aug 2014 09:51:24 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Is-there-a-way-to-use-the-OR-function-in-script/m-p/703417#M1070317</guid>
      <dc:creator>tresB</dc:creator>
      <dc:date>2014-08-19T09:51:24Z</dc:date>
    </item>
    <item>
      <title>Re: Is there a way to use the OR function in script</title>
      <link>https://community.qlik.com/t5/QlikView/Is-there-a-way-to-use-the-OR-function-in-script/m-p/703418#M1070318</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;This should work:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;if&lt;SPAN style="font-size: 8pt;"&gt;&lt;BR /&gt;(&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Accept_compliance&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; = 'No'&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; or&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;Accept_compliance&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; ='Expired'&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; or&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;Convert_compliance&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; ='Expired'&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; or&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;Convert_compliance&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; ='No'&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; or&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;Closed_compliance&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; ='No'&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; or&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;Closed_compliance&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; ='Expired',&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 'No',&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 'Yes'&lt;BR /&gt;)&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;as&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;Total_Compliance &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;In Qlikview OR is an operator, not a function&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 19 Aug 2014 09:56:48 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Is-there-a-way-to-use-the-OR-function-in-script/m-p/703418#M1070318</guid>
      <dc:creator>northerner</dc:creator>
      <dc:date>2014-08-19T09:56:48Z</dc:date>
    </item>
    <item>
      <title>Re: Is there a way to use the OR function in script</title>
      <link>https://community.qlik.com/t5/QlikView/Is-there-a-way-to-use-the-OR-function-in-script/m-p/703419#M1070319</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Of course you can use OR and AND both&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 19 Aug 2014 09:59:37 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Is-there-a-way-to-use-the-OR-function-in-script/m-p/703419#M1070319</guid>
      <dc:creator>sujeetsingh</dc:creator>
      <dc:date>2014-08-19T09:59:37Z</dc:date>
    </item>
    <item>
      <title>Re: Is there a way to use the OR function in script</title>
      <link>https://community.qlik.com/t5/QlikView/Is-there-a-way-to-use-the-OR-function-in-script/m-p/703420#M1070320</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Use OR like below in Qlikview&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;LOAD&lt;/P&gt;&lt;P&gt;*,&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;IF(Accept_compliance = 'No' OR&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&amp;nbsp; Accept_compliance ='Expired' &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;OR&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&amp;nbsp; Convert_compliance ='Expired' &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;OR&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&amp;nbsp; Convert_compliance ='No' &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;OR&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&amp;nbsp; Closed_compliance ='No' &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;OR&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&amp;nbsp; Closed_compliance ='Expired','No','Yes')&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&amp;nbsp; as Total_Compliance&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;FROM DataSource;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Hope this helps you.&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Regards,&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;jagan.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 19 Aug 2014 10:23:53 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Is-there-a-way-to-use-the-OR-function-in-script/m-p/703420#M1070320</guid>
      <dc:creator>jagan</dc:creator>
      <dc:date>2014-08-19T10:23:53Z</dc:date>
    </item>
    <item>
      <title>Re: Is there a way to use the OR function in script</title>
      <link>https://community.qlik.com/t5/QlikView/Is-there-a-way-to-use-the-OR-function-in-script/m-p/703421#M1070321</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Try this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if(match(Accept_compliance, 'No', 'Expired') or match(Convert_compliance, 'No', 'Expired') or match(Closed_compliance, 'No', 'Expired'),'No','Yes')&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;- Marcus&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 19 Aug 2014 10:30:10 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Is-there-a-way-to-use-the-OR-function-in-script/m-p/703421#M1070321</guid>
      <dc:creator>marcus_sommer</dc:creator>
      <dc:date>2014-08-19T10:30:10Z</dc:date>
    </item>
  </channel>
</rss>

