<?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: load where value begins with in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/load-where-value-begins-with/m-p/408236#M1157779</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Rosey,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Are you running this in SELECT or in LOAD?&amp;nbsp; My understanding untill now was that it was select from a database.&amp;nbsp; If it is in load, the syntax is different.&amp;nbsp; Instead&lt;/P&gt;&lt;P&gt;("field name" like 'B%' &lt;/P&gt;&lt;P&gt;&amp;nbsp; OR "field name" like 'P%' &lt;/P&gt;&lt;P&gt;&amp;nbsp; OR "field name" like 'R%')&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;you can use:&lt;/P&gt;&lt;P&gt;wildmatch("field name", 'B*','P*','R*')&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Michael&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 09 Jan 2013 13:44:45 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2013-01-09T13:44:45Z</dc:date>
    <item>
      <title>load where value begins with</title>
      <link>https://community.qlik.com/t5/QlikView/load-where-value-begins-with/m-p/408230#M1157773</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi there,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm brand new to Qlikview so please be gentle!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm loading data from an OLE DB connection and only want to load certain values. I've managed to use:&lt;/P&gt;&lt;P&gt;where "scj_ayrc" &amp;gt;= '2008/9' which works fine, but I now want to add in where a different field has values that begin with a range of letters. I was expecting to be able to use where "field name" like 'B%' as a basic start but had a garbage error message. I want both the year statement and where another field starts with B, P or R.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can anyone point out where I'm going wrong?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanks very much&lt;/P&gt;&lt;P&gt;Rosey&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 09 Jan 2013 13:10:20 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/load-where-value-begins-with/m-p/408230#M1157773</guid>
      <dc:creator />
      <dc:date>2013-01-09T13:10:20Z</dc:date>
    </item>
    <item>
      <title>Re: load where value begins with</title>
      <link>https://community.qlik.com/t5/QlikView/load-where-value-begins-with/m-p/408231#M1157774</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Rosey,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It will be something liike this:&lt;/P&gt;&lt;P&gt;...&lt;BR /&gt;WHERE "scj_ayrc" &amp;gt;= '2008/9' &lt;BR /&gt; AND ("field name" like 'B%' &lt;BR /&gt;&amp;nbsp; OR "field name" like 'P%' &lt;BR /&gt;&amp;nbsp; OR "field name" like 'R%')&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;BR /&gt;Michael&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 09 Jan 2013 13:14:54 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/load-where-value-begins-with/m-p/408231#M1157774</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2013-01-09T13:14:54Z</dc:date>
    </item>
    <item>
      <title>Re: load where value begins with</title>
      <link>https://community.qlik.com/t5/QlikView/load-where-value-begins-with/m-p/408232#M1157775</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks Michael,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I've tried that but I'm just geting zero lines fetched even thought there are definitely matching values...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Rosey&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 09 Jan 2013 13:22:03 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/load-where-value-begins-with/m-p/408232#M1157775</guid>
      <dc:creator />
      <dc:date>2013-01-09T13:22:03Z</dc:date>
    </item>
    <item>
      <title>Re: load where value begins with</title>
      <link>https://community.qlik.com/t5/QlikView/load-where-value-begins-with/m-p/408233#M1157776</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Rosey,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm more suspicious about the 1st part.&amp;nbsp; Try&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1&lt;/P&gt;&lt;P&gt;WHERE 1=1&lt;/P&gt;&lt;P&gt; AND ("field name" like 'B%' &lt;/P&gt;&lt;P&gt;&amp;nbsp; OR "field name" like 'P%' &lt;/P&gt;&lt;P&gt;&amp;nbsp; OR "field name" like 'R%')&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2&lt;/P&gt;&lt;P&gt;WHERE "scj_ayrc" &amp;gt;= '2008/9' &lt;/P&gt;&lt;P&gt; AND 1=1&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;See whcih one returns values.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Michael&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 09 Jan 2013 13:26:00 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/load-where-value-begins-with/m-p/408233#M1157776</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2013-01-09T13:26:00Z</dc:date>
    </item>
    <item>
      <title>Re: load where value begins with</title>
      <link>https://community.qlik.com/t5/QlikView/load-where-value-begins-with/m-p/408234#M1157777</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Michael,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It's the second I'm afraid! Even if I take out the year based statement, even where "scj_crsc" like 'B%' doesn't return any values, although where "scj_crsc" = 'BLAWPRM' does...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Rosey&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 09 Jan 2013 13:38:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/load-where-value-begins-with/m-p/408234#M1157777</guid>
      <dc:creator />
      <dc:date>2013-01-09T13:38:04Z</dc:date>
    </item>
    <item>
      <title>Re: load where value begins with</title>
      <link>https://community.qlik.com/t5/QlikView/load-where-value-begins-with/m-p/408235#M1157778</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;What are you loading data from - SQL Server? MS Access?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In any case, try this option ...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;... &lt;/STRONG&gt;&lt;STRONG&gt;WHERE LEFT([field name],1) IN ('B','P','R');&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;flipside&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 09 Jan 2013 13:44:45 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/load-where-value-begins-with/m-p/408235#M1157778</guid>
      <dc:creator>flipside</dc:creator>
      <dc:date>2013-01-09T13:44:45Z</dc:date>
    </item>
    <item>
      <title>Re: load where value begins with</title>
      <link>https://community.qlik.com/t5/QlikView/load-where-value-begins-with/m-p/408236#M1157779</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Rosey,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Are you running this in SELECT or in LOAD?&amp;nbsp; My understanding untill now was that it was select from a database.&amp;nbsp; If it is in load, the syntax is different.&amp;nbsp; Instead&lt;/P&gt;&lt;P&gt;("field name" like 'B%' &lt;/P&gt;&lt;P&gt;&amp;nbsp; OR "field name" like 'P%' &lt;/P&gt;&lt;P&gt;&amp;nbsp; OR "field name" like 'R%')&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;you can use:&lt;/P&gt;&lt;P&gt;wildmatch("field name", 'B*','P*','R*')&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Michael&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 09 Jan 2013 13:44:45 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/load-where-value-begins-with/m-p/408236#M1157779</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2013-01-09T13:44:45Z</dc:date>
    </item>
    <item>
      <title>Re: load where value begins with</title>
      <link>https://community.qlik.com/t5/QlikView/load-where-value-begins-with/m-p/408237#M1157780</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks Michael - sorry should have been clearer.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;That's worked perfectly now!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Rosey&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 09 Jan 2013 13:51:23 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/load-where-value-begins-with/m-p/408237#M1157780</guid>
      <dc:creator />
      <dc:date>2013-01-09T13:51:23Z</dc:date>
    </item>
  </channel>
</rss>

