<?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: Relational operators - Number vs String in App Development</title>
    <link>https://community.qlik.com/t5/App-Development/Relational-operators-Number-vs-String/m-p/1767685#M59381</link>
    <description>&lt;P&gt;Thank you Marcus for your time, but I will not Accept as Solution yet, as this is a workaround.&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have submitted a case with qlik support and I will get back if I get an answer.&lt;/P&gt;</description>
    <pubDate>Thu, 10 Dec 2020 16:23:10 GMT</pubDate>
    <dc:creator>cata_pli</dc:creator>
    <dc:date>2020-12-10T16:23:10Z</dc:date>
    <item>
      <title>Relational operators - Number vs String</title>
      <link>https://community.qlik.com/t5/App-Development/Relational-operators-Number-vs-String/m-p/1767606#M59375</link>
      <description>&lt;P&gt;Hello,&amp;nbsp;&lt;/P&gt;&lt;P&gt;I would like to understand why:&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;100&amp;gt; 'NA' is False (0)&amp;nbsp;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;and&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;100&amp;lt; 'NA' is True (-1)&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;It can be any number vs any string, instead of 100 and 'NA'.&lt;/P&gt;&lt;P&gt;From qlik help: '&lt;SPAN&gt;A numeric comparison is made if both operands can be interpreted numerically.&amp;nbsp;&lt;/SPAN&gt;'&lt;/P&gt;&lt;P&gt;How is a string interpreted numerically in this case?&lt;/P&gt;&lt;P&gt;The problem appears when I am getting a string where it should be a number, and if the comparison gives True or False it is not correct.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you.&lt;/P&gt;</description>
      <pubDate>Sat, 16 Nov 2024 17:43:18 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Relational-operators-Number-vs-String/m-p/1767606#M59375</guid>
      <dc:creator>cata_pli</dc:creator>
      <dc:date>2024-11-16T17:43:18Z</dc:date>
    </item>
    <item>
      <title>Re: Relational operators - Number vs String</title>
      <link>https://community.qlik.com/t5/App-Development/Relational-operators-Number-vs-String/m-p/1767630#M59377</link>
      <description>&lt;P&gt;I don't know why Qlik behaves in this way and if it should be regarded as a bug or not. Personally I would tend to address this topic at least one step before by checking the fieldvalues if they are numeric or not and cleaning/replacing the values. Nevertheless you could adjust your check with something like this:&lt;/P&gt;&lt;P&gt;('NA'&amp;lt;100)*isnum('NA')&lt;/P&gt;&lt;P&gt;- Marcus&lt;/P&gt;</description>
      <pubDate>Thu, 10 Dec 2020 12:56:12 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Relational-operators-Number-vs-String/m-p/1767630#M59377</guid>
      <dc:creator>marcus_sommer</dc:creator>
      <dc:date>2020-12-10T12:56:12Z</dc:date>
    </item>
    <item>
      <title>Re: Relational operators - Number vs String</title>
      <link>https://community.qlik.com/t5/App-Development/Relational-operators-Number-vs-String/m-p/1767685#M59381</link>
      <description>&lt;P&gt;Thank you Marcus for your time, but I will not Accept as Solution yet, as this is a workaround.&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have submitted a case with qlik support and I will get back if I get an answer.&lt;/P&gt;</description>
      <pubDate>Thu, 10 Dec 2020 16:23:10 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Relational-operators-Number-vs-String/m-p/1767685#M59381</guid>
      <dc:creator>cata_pli</dc:creator>
      <dc:date>2020-12-10T16:23:10Z</dc:date>
    </item>
    <item>
      <title>Re: Relational operators - Number vs String</title>
      <link>https://community.qlik.com/t5/App-Development/Relational-operators-Number-vs-String/m-p/1771582#M59719</link>
      <description>&lt;P&gt;I have received an answer from Qlik Support. It is this:&lt;/P&gt;&lt;P&gt;"&lt;SPAN&gt;When comparing a number with the string, the outcome would be similar to how the values would sort if you show them as descending or ascending order in the table object. The natural order is to sort numbers first, so a numeric string is smaller in that sense.&lt;/SPAN&gt;"&lt;/P&gt;</description>
      <pubDate>Mon, 04 Jan 2021 08:34:52 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Relational-operators-Number-vs-String/m-p/1771582#M59719</guid>
      <dc:creator>cata_pli</dc:creator>
      <dc:date>2021-01-04T08:34:52Z</dc:date>
    </item>
  </channel>
</rss>

