<?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: Where statement in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Where-statement/m-p/1371786#M616146</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;What you mentioned isn't working for you?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 28 Jun 2017 13:38:59 GMT</pubDate>
    <dc:creator>sunny_talwar</dc:creator>
    <dc:date>2017-06-28T13:38:59Z</dc:date>
    <item>
      <title>Where statement</title>
      <link>https://community.qlik.com/t5/QlikView/Where-statement/m-p/1371784#M616144</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Can anyone help.&amp;nbsp; I need a where statement in my script which only includes any rows with the following criteria :&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;All data for company 'ABCD' where the status is NOT in authorised status and the create date &amp;gt; 365 ago&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The script below does not work.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Where Company = 'ABCD' and&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;(Status&amp;lt;&amp;gt;'Authorised' and CreateDate&amp;gt;=(Today()-365))&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thoughts anyone?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please help&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Phil&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 28 Jun 2017 13:27:34 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Where-statement/m-p/1371784#M616144</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-06-28T13:27:34Z</dc:date>
    </item>
    <item>
      <title>Re: Where statement</title>
      <link>https://community.qlik.com/t5/QlikView/Where-statement/m-p/1371785#M616145</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;Phil&lt;/SPAN&gt; ,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Try&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;STRONG&gt;Where Company = 'ABCD' and Status&amp;lt;&amp;gt;'Authorised' and CreateDate&amp;gt;=Date((Today()-365))&amp;nbsp; &lt;/STRONG&gt;&amp;nbsp; Or&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;STRONG&gt;Where Company = 'ABCD' and Status&amp;lt;&amp;gt;'Authorised' and Num(CreateDate)&amp;gt;=(Today()-365)&lt;/STRONG&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;STRONG&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Andrey&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 28 Jun 2017 13:35:46 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Where-statement/m-p/1371785#M616145</guid>
      <dc:creator>ahaahaaha</dc:creator>
      <dc:date>2017-06-28T13:35:46Z</dc:date>
    </item>
    <item>
      <title>Re: Where statement</title>
      <link>https://community.qlik.com/t5/QlikView/Where-statement/m-p/1371786#M616146</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;What you mentioned isn't working for you?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 28 Jun 2017 13:38:59 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Where-statement/m-p/1371786#M616146</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2017-06-28T13:38:59Z</dc:date>
    </item>
    <item>
      <title>Re: Where statement</title>
      <link>https://community.qlik.com/t5/QlikView/Where-statement/m-p/1371787#M616147</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;Is case sensitive,check that or you can do this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;where upper(Status) &amp;lt;&amp;gt;'AUTHORISED'&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;BETTER:&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;WHERE&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;NOT MATCH(upper(Status), 'AUTHORISED')&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;the other thing is the format of the date field, but i think thats working.&lt;BR /&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 28 Jun 2017 13:53:34 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Where-statement/m-p/1371787#M616147</guid>
      <dc:creator>juan_patrick</dc:creator>
      <dc:date>2017-06-28T13:53:34Z</dc:date>
    </item>
    <item>
      <title>Re: Where statement</title>
      <link>https://community.qlik.com/t5/QlikView/Where-statement/m-p/1371788#M616148</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The above suggestions dont work.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My actual where statement works, but it excludes all authorised and shows all records which are less than 12 months old.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What I want is for it to show all records with an exception of the records less than 12 months old which still have a status 'authorisation'.&amp;nbsp; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i.e.&amp;nbsp; If the record is less than 12 months old then it still needs to show the authorised fields.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Does that make sense?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 28 Jun 2017 14:00:08 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Where-statement/m-p/1371788#M616148</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-06-28T14:00:08Z</dc:date>
    </item>
    <item>
      <title>Re: Where statement</title>
      <link>https://community.qlik.com/t5/QlikView/Where-statement/m-p/1371789#M616149</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;each statement works on it's own, so it can't be a syntax error&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 28 Jun 2017 14:00:51 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Where-statement/m-p/1371789#M616149</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-06-28T14:00:51Z</dc:date>
    </item>
    <item>
      <title>Re: Where statement</title>
      <link>https://community.qlik.com/t5/QlikView/Where-statement/m-p/1371790#M616150</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;May be this&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;STRONG&gt;Where (Company = 'ABCD' and Status&amp;lt;&amp;gt;'Authorised' and CreateDate &amp;gt;= Today()-365) or &lt;/STRONG&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;&lt;STRONG&gt;(Company = 'ABCD' and Status = 'Authorised' and CreateDate &amp;lt; Today()-365);&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 28 Jun 2017 14:05:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Where-statement/m-p/1371790#M616150</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2017-06-28T14:05:04Z</dc:date>
    </item>
    <item>
      <title>Re: Where statement</title>
      <link>https://community.qlik.com/t5/QlikView/Where-statement/m-p/1371791#M616151</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Load *&lt;/P&gt;&lt;P&gt;from table&lt;/P&gt;&lt;P&gt;where&lt;/P&gt;&lt;P&gt;company = 'ABCD' and&lt;/P&gt;&lt;P&gt;(&lt;/P&gt;&lt;P&gt;&amp;nbsp; (createdate &amp;lt;= 365 and status &amp;lt;&amp;gt; 'authorised') or &lt;/P&gt;&lt;P&gt;&amp;nbsp; (createdate &amp;gt; 365)&lt;/P&gt;&lt;P&gt;);&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 28 Jun 2017 14:09:01 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Where-statement/m-p/1371791#M616151</guid>
      <dc:creator>juan_patrick</dc:creator>
      <dc:date>2017-06-28T14:09:01Z</dc:date>
    </item>
  </channel>
</rss>

