<?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 Comparing text with the operator &amp;quot;like&amp;quot; in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Comparing-text-with-the-operator-quot-like-quot/m-p/148508#M26790</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;Problem (QV8.5) chart context:&lt;BR /&gt;Comparing 2 string fields (sometimes text &amp;gt; 256 char) as an expression in a chart (=table) with the&lt;BR /&gt;string operator "like" (TEXT08 like TEXT09) and the result is -1/0 (and 0 and -):&lt;/P&gt;&lt;P&gt;Example:&lt;BR /&gt;| | TEXT08 | TEXT09 | result (TEXT08 like TEXT09)&lt;BR /&gt;|1| ABCDEF | ABCDEF | -1 | (true, means "identical text", OK)&lt;BR /&gt;|2| ABKJMN | ABDJMN | 0 | (false, means "not identical text", OK)&lt;BR /&gt;|3| - | XYZABC | 0 | (false, means "not identical text", OK)&lt;BR /&gt;|4| OPQRST| - | - | (expecting 0 which should mean false as in case #3)&lt;/P&gt;&lt;P&gt;My problem is offering the user identical signs in the result field and not 0 or "-" when one of the text field is blank which means "not existing that year".&lt;BR /&gt;Any idea how to solve?&lt;/P&gt;&lt;P&gt;Problem (QV8.5) script context:&lt;BR /&gt;When I use the same (TEXT08 like TEXT09) in the skript I got only 0 or "-" (no "-1") in result field. Why?&lt;/P&gt;&lt;P&gt;Thank You in advance. dj&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 06 Jul 2009 15:24:45 GMT</pubDate>
    <dc:creator />
    <dc:date>2009-07-06T15:24:45Z</dc:date>
    <item>
      <title>Comparing text with the operator "like"</title>
      <link>https://community.qlik.com/t5/QlikView/Comparing-text-with-the-operator-quot-like-quot/m-p/148508#M26790</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;Problem (QV8.5) chart context:&lt;BR /&gt;Comparing 2 string fields (sometimes text &amp;gt; 256 char) as an expression in a chart (=table) with the&lt;BR /&gt;string operator "like" (TEXT08 like TEXT09) and the result is -1/0 (and 0 and -):&lt;/P&gt;&lt;P&gt;Example:&lt;BR /&gt;| | TEXT08 | TEXT09 | result (TEXT08 like TEXT09)&lt;BR /&gt;|1| ABCDEF | ABCDEF | -1 | (true, means "identical text", OK)&lt;BR /&gt;|2| ABKJMN | ABDJMN | 0 | (false, means "not identical text", OK)&lt;BR /&gt;|3| - | XYZABC | 0 | (false, means "not identical text", OK)&lt;BR /&gt;|4| OPQRST| - | - | (expecting 0 which should mean false as in case #3)&lt;/P&gt;&lt;P&gt;My problem is offering the user identical signs in the result field and not 0 or "-" when one of the text field is blank which means "not existing that year".&lt;BR /&gt;Any idea how to solve?&lt;/P&gt;&lt;P&gt;Problem (QV8.5) script context:&lt;BR /&gt;When I use the same (TEXT08 like TEXT09) in the skript I got only 0 or "-" (no "-1") in result field. Why?&lt;/P&gt;&lt;P&gt;Thank You in advance. dj&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 06 Jul 2009 15:24:45 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Comparing-text-with-the-operator-quot-like-quot/m-p/148508#M26790</guid>
      <dc:creator />
      <dc:date>2009-07-06T15:24:45Z</dc:date>
    </item>
    <item>
      <title>Comparing text with the operator "like"</title>
      <link>https://community.qlik.com/t5/QlikView/Comparing-text-with-the-operator-quot-like-quot/m-p/148509#M26791</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Can you just test for null:&lt;/P&gt;&lt;P&gt;If (isnull(TEXT09), 0, ..............&lt;/P&gt;&lt;P&gt;Gordon&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 06 Jul 2009 15:39:01 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Comparing-text-with-the-operator-quot-like-quot/m-p/148509#M26791</guid>
      <dc:creator />
      <dc:date>2009-07-06T15:39:01Z</dc:date>
    </item>
  </channel>
</rss>

