<?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 Is there a known bug with using both text AND numbers in an OR statement? in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Is-there-a-known-bug-with-using-both-text-AND-numbers-in-an-OR/m-p/215655#M69068</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Unfortunately this did not perform any differently. I still only show the numbered sales offices in the result.&lt;/P&gt;&lt;P&gt;Any other ideas?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 14 Feb 2011 21:03:23 GMT</pubDate>
    <dc:creator />
    <dc:date>2011-02-14T21:03:23Z</dc:date>
    <item>
      <title>Is there a known bug with using both text AND numbers in an OR statement?</title>
      <link>https://community.qlik.com/t5/QlikView/Is-there-a-known-bug-with-using-both-text-AND-numbers-in-an-OR/m-p/215653#M69066</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I've come across a weird scenario and I'm wondering if anyone else has seen this or has worked around it.&lt;/P&gt;&lt;P&gt;In a WHERE clause I can successfully select a Sales Office that is all text with:&lt;/P&gt;&lt;P&gt;AND [Sales Office]='CAN'&lt;/P&gt;&lt;P&gt;I can also successfully select multiple Sales Offices with an OR statement:&lt;/P&gt;&lt;P&gt;AND ( [Sales Office] = '010' OR [Sales Office] = '021' OR [Sales Office] = '041')&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When I add the textual Sales Office to the numerical ones as part of my OR statement, &lt;B&gt;I only get numerical results coming through, thus&lt;/B&gt;:&lt;/P&gt;&lt;P&gt;AND ( [Sales Office] = '010' OR [Sales Office] = '021' OR [Sales Office] = '041' &lt;B&gt;OR [Sales Office]='CAN'&lt;/B&gt;)&lt;/P&gt;&lt;P&gt;Only gives me results back that are for '010' '021' or '041' - I do not get any data out of the QVD that I'm reading that pertains to Sales Office 'CAN'&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Does anyone know if this is a bug or see any glaring mistakes in my clause?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 14 Feb 2011 17:43:40 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Is-there-a-known-bug-with-using-both-text-AND-numbers-in-an-OR/m-p/215653#M69066</guid>
      <dc:creator />
      <dc:date>2011-02-14T17:43:40Z</dc:date>
    </item>
    <item>
      <title>Is there a known bug with using both text AND numbers in an OR statement?</title>
      <link>https://community.qlik.com/t5/QlikView/Is-there-a-known-bug-with-using-both-text-AND-numbers-in-an-OR/m-p/215654#M69067</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;I'd use the Match() function instead, that will take the value in the field and return greter than zero if any of the followgin values match exactly (case sensitive)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;BLOCKQUOTE style="overflow-x: scroll;"&gt;&lt;PRE style="margin: 0px;"&gt;WHERE MATCH([Sales Office], '010', '021', '041', 'CAN') &amp;gt; 0;&lt;/PRE&gt;&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;BR /&gt; &lt;P&gt;Hope that helps.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 14 Feb 2011 17:55:36 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Is-there-a-known-bug-with-using-both-text-AND-numbers-in-an-OR/m-p/215654#M69067</guid>
      <dc:creator>Miguel_Angel_Baeyens</dc:creator>
      <dc:date>2011-02-14T17:55:36Z</dc:date>
    </item>
    <item>
      <title>Is there a known bug with using both text AND numbers in an OR statement?</title>
      <link>https://community.qlik.com/t5/QlikView/Is-there-a-known-bug-with-using-both-text-AND-numbers-in-an-OR/m-p/215655#M69068</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Unfortunately this did not perform any differently. I still only show the numbered sales offices in the result.&lt;/P&gt;&lt;P&gt;Any other ideas?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 14 Feb 2011 21:03:23 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Is-there-a-known-bug-with-using-both-text-AND-numbers-in-an-OR/m-p/215655#M69068</guid>
      <dc:creator />
      <dc:date>2011-02-14T21:03:23Z</dc:date>
    </item>
    <item>
      <title>Is there a known bug with using both text AND numbers in an OR statement?</title>
      <link>https://community.qlik.com/t5/QlikView/Is-there-a-known-bug-with-using-both-text-AND-numbers-in-an-OR/m-p/215656#M69069</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Your numbers ARE TEXT because they are quoted. I think you have another issue.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 14 Feb 2011 21:29:22 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Is-there-a-known-bug-with-using-both-text-AND-numbers-in-an-OR/m-p/215656#M69069</guid>
      <dc:creator />
      <dc:date>2011-02-14T21:29:22Z</dc:date>
    </item>
    <item>
      <title>Is there a known bug with using both text AND numbers in an OR statement?</title>
      <link>https://community.qlik.com/t5/QlikView/Is-there-a-known-bug-with-using-both-text-AND-numbers-in-an-OR/m-p/215657#M69070</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I don't see any mistakes, and expect this to work.&lt;BR /&gt;One note though - it is case-sensitive, so the 'CAN' text must be exactly all cap in oyur source data. Or, you can try&lt;BR /&gt;... OR upper([Sales Office])='CAN'&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 14 Feb 2011 21:33:56 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Is-there-a-known-bug-with-using-both-text-AND-numbers-in-an-OR/m-p/215657#M69070</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2011-02-14T21:33:56Z</dc:date>
    </item>
  </channel>
</rss>

