<?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: Script where clause multiple values in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Script-where-clause-multiple-values/m-p/1225953#M391305</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Your Code is looking fine. May be try the alternate way&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;where [Employees] = 'UK' And ([Join Date] &amp;gt;= '01/01/2017' Or Len(Trim([Join Date]))=0);&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 20 Feb 2017 13:19:15 GMT</pubDate>
    <dc:creator>settu_periasamy</dc:creator>
    <dc:date>2017-02-20T13:19:15Z</dc:date>
    <item>
      <title>Script where clause multiple values</title>
      <link>https://community.qlik.com/t5/QlikView/Script-where-clause-multiple-values/m-p/1225952#M391304</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi everyone,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am trying to execute a where command in the Qlikview script to restrict the data which is loaded in from an Excel spreadsheet. It works fine when I put in the first greater than date, but fails when I need to put in the greater than OR blank value for the date field.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i.e.. I am looking to get the data set to be the workers which joined in the UK; from these workers their join date of first of Jan 2017 or their join date is blank.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;my code which works fine is:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Load ....&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;[Employees]&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;[Join Date]&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;from....&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;where ([Employees] = 'UK' And [Join Date] &amp;gt;= '01/01/2017');&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #ff0000;"&gt;my code which fails when I also need the blank values&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Load ....&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;[Employees]&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;[Join Date]&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt; &lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;from....&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;where ([Employees] = 'UK' And ([Join Date] &amp;gt;= '01/01/2017' Or [Join Date] = ' '));&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am not sure if this is a syntax issue or the blanks are not being recognised as the total value does not increase, even though I know there is a large quantity of blanks to be counted.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any help appreciated&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 20 Feb 2017 10:58:49 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Script-where-clause-multiple-values/m-p/1225952#M391304</guid>
      <dc:creator />
      <dc:date>2017-02-20T10:58:49Z</dc:date>
    </item>
    <item>
      <title>Re: Script where clause multiple values</title>
      <link>https://community.qlik.com/t5/QlikView/Script-where-clause-multiple-values/m-p/1225953#M391305</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Your Code is looking fine. May be try the alternate way&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;where [Employees] = 'UK' And ([Join Date] &amp;gt;= '01/01/2017' Or Len(Trim([Join Date]))=0);&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 20 Feb 2017 13:19:15 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Script-where-clause-multiple-values/m-p/1225953#M391305</guid>
      <dc:creator>settu_periasamy</dc:creator>
      <dc:date>2017-02-20T13:19:15Z</dc:date>
    </item>
    <item>
      <title>Re: Script where clause multiple values</title>
      <link>https://community.qlik.com/t5/QlikView/Script-where-clause-multiple-values/m-p/1225954#M391306</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;That's sorted it, many thanks for your quick response.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 20 Feb 2017 13:58:28 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Script-where-clause-multiple-values/m-p/1225954#M391306</guid>
      <dc:creator />
      <dc:date>2017-02-20T13:58:28Z</dc:date>
    </item>
  </channel>
</rss>

