<?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: New Set Analysis behavior on numeric (money) field in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/New-Set-Analysis-behavior-on-numeric-money-field/m-p/1949646#M1219690</link>
    <description>&lt;P&gt;Was it previously also interpreted as money and is it really a dual-value?&lt;/P&gt;
&lt;P&gt;- Marcus&lt;/P&gt;</description>
    <pubDate>Wed, 29 Jun 2022 11:06:16 GMT</pubDate>
    <dc:creator>marcus_sommer</dc:creator>
    <dc:date>2022-06-29T11:06:16Z</dc:date>
    <item>
      <title>New Set Analysis behavior on numeric (money) field</title>
      <link>https://community.qlik.com/t5/QlikView/New-Set-Analysis-behavior-on-numeric-money-field/m-p/1949244#M1219674</link>
      <description>&lt;P&gt;After a recent upgrade to May 2021 SR2, one chart expression's set analysis modifier started failing.&amp;nbsp; It's an alert list of accounts that are either missing a&amp;nbsp;[Patient Responsibility] entry or it's set to zero.&amp;nbsp; &amp;nbsp;[Patient Responsibility] is a numeric field in the internal table and Qlik is automatically interpreting it as a Money field (default format in list object includes "$").&lt;/P&gt;
&lt;P&gt;Prior to the upgrade this worked:&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;Count({$-&amp;lt;[Patient Responsibility]={"&amp;gt;0"}&amp;gt;} [Account Number])&lt;/LI-CODE&gt;
&lt;P&gt;Afterwards, it only worked by adding the "$"&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;Count({$-&amp;lt;[Patient Responsibility]={"&amp;gt;$0"}&amp;gt;} [Account Number])&lt;/LI-CODE&gt;
&lt;P&gt;Qlik must be storing the data as a dual with the "$" included in the string component, right?&amp;nbsp; Aren't operations attempted on the numeric component first?&amp;nbsp; &amp;nbsp;And if the double-quoted modifier now causes priority to change to the string, how is it even working?&amp;nbsp; &amp;nbsp;A mathematical comparison (&amp;gt;) against a string?&amp;nbsp; &amp;nbsp;Is this known and expected?&lt;/P&gt;</description>
      <pubDate>Tue, 28 Jun 2022 16:18:54 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/New-Set-Analysis-behavior-on-numeric-money-field/m-p/1949244#M1219674</guid>
      <dc:creator>kswindlehurst</dc:creator>
      <dc:date>2022-06-28T16:18:54Z</dc:date>
    </item>
    <item>
      <title>Re: New Set Analysis behavior on numeric (money) field</title>
      <link>https://community.qlik.com/t5/QlikView/New-Set-Analysis-behavior-on-numeric-money-field/m-p/1949646#M1219690</link>
      <description>&lt;P&gt;Was it previously also interpreted as money and is it really a dual-value?&lt;/P&gt;
&lt;P&gt;- Marcus&lt;/P&gt;</description>
      <pubDate>Wed, 29 Jun 2022 11:06:16 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/New-Set-Analysis-behavior-on-numeric-money-field/m-p/1949646#M1219690</guid>
      <dc:creator>marcus_sommer</dc:creator>
      <dc:date>2022-06-29T11:06:16Z</dc:date>
    </item>
    <item>
      <title>Re: New Set Analysis behavior on numeric (money) field</title>
      <link>https://community.qlik.com/t5/QlikView/New-Set-Analysis-behavior-on-numeric-money-field/m-p/1950524#M1219710</link>
      <description>&lt;P&gt;Alas, I don't have an easy way to stand up the old version.&amp;nbsp; &amp;nbsp;The MSSQL datatype in the source is money - does Qlik get metadata over OLEDB?&amp;nbsp; But even if the interpretation changed, the new set analysis behavior still doesn't make sense to me, and that's the most concerning.&amp;nbsp; If it's not populating a string with a money format, why does it only work with a "$" in my comparison?&amp;nbsp; &amp;nbsp;That's what makes me think there has to be a string element populated.&amp;nbsp; &amp;nbsp;If it's just a display preference, shouldn't set analysis ignore that?&amp;nbsp; But there could be a totally illogical explanation that I can't predict.&amp;nbsp; &amp;nbsp;The field in a list object always follows the Number alignment setting, not the Text setting.&amp;nbsp; &amp;nbsp;There's no tag on the field other than $numeric.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 30 Jun 2022 22:11:00 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/New-Set-Analysis-behavior-on-numeric-money-field/m-p/1950524#M1219710</guid>
      <dc:creator>kswindlehurst</dc:creator>
      <dc:date>2022-06-30T22:11:00Z</dc:date>
    </item>
    <item>
      <title>Re: New Set Analysis behavior on numeric (money) field</title>
      <link>https://community.qlik.com/t5/QlikView/New-Set-Analysis-behavior-on-numeric-money-field/m-p/1950608#M1219715</link>
      <description>&lt;P&gt;Qlik hasn't a data-type concept else the loaded data were interpreted - as numeric, strings, mixed and if possible as dual-values - depending on the interpretation-variables, any direct converting/formatting and also the order in which the data were loaded.&lt;/P&gt;
&lt;P&gt;In general is your understanding of the set analysis interpretation right that a &amp;gt; or &amp;gt;= or &amp;lt; or &amp;lt;= forced a numeric comparison. But now it could become a bit tricky if the values are strings they will also be numeric evaluated. I could remember (rarely) postings in which it were discussed but unfortunately I forgot the details.&lt;/P&gt;
&lt;P&gt;Before calling your issue a (new) bug and/or investigating it in this way I would suggest to make sure that there is really everything right within the data. You mentioned that you couldn't compare it directly against the older release but you could add some information to be able to evaluate the data in multiple ways, like adding:&lt;/P&gt;
&lt;P&gt;Field,&lt;BR /&gt;num(Field),&lt;BR /&gt;money(Field),&lt;BR /&gt;floor(Field),&lt;BR /&gt;frac(Field),&lt;BR /&gt;text(Field),&lt;BR /&gt;isnum(Field),&lt;BR /&gt;istext(Field),&lt;BR /&gt;isnull(Field),&lt;BR /&gt;len(Field),&amp;nbsp;&lt;BR /&gt;recno(),&lt;BR /&gt;rowno(),&lt;BR /&gt;...&lt;/P&gt;
&lt;P&gt;Are really all data like expected?&lt;/P&gt;
&lt;P&gt;Beside this I noticed that you use $- as identifier for the set analysis - it might be helpful to remove it and/or to transfer the logic to the modifier to get further insights if what might happens.&lt;/P&gt;
&lt;P&gt;- Marcus&lt;/P&gt;</description>
      <pubDate>Fri, 01 Jul 2022 07:21:36 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/New-Set-Analysis-behavior-on-numeric-money-field/m-p/1950608#M1219715</guid>
      <dc:creator>marcus_sommer</dc:creator>
      <dc:date>2022-07-01T07:21:36Z</dc:date>
    </item>
  </channel>
</rss>

