<?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: Decimals are treated as Money in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Decimals-are-treated-as-Money/m-p/728007#M1061883</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Load in the script as below&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Num(Field,'#,##0.00') as Field&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 18 Sep 2014 08:21:27 GMT</pubDate>
    <dc:creator>MK_QSL</dc:creator>
    <dc:date>2014-09-18T08:21:27Z</dc:date>
    <item>
      <title>Decimals are treated as Money</title>
      <link>https://community.qlik.com/t5/QlikView/Decimals-are-treated-as-Money/m-p/728005#M1061880</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In my fact table I have several number fields that in my database are encoded as decimal(23,2). When I load them into my model, they are all interpreted and read as Money and formatted thereafter. I want them to be treated as the regular decimal numbers they are and be presented as such. I.e.: "95,85" not "kr 95,85".&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Both my database and my Qlik-document have comma as decimal separator. My suspicion is that Qlik expects my fields are to be formatted as Money due to the two decimals. I do want to keep both decimals as a regular number, fixed to to 2 decimals.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Did anyone encounter this or have a suggestion to a better fix than manually setting the format of the fields either in script or document settings?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Some examples of numbers:&lt;/P&gt;&lt;P&gt;-281&lt;/P&gt;&lt;P&gt;-42,37&lt;/P&gt;&lt;P&gt;-38,7&lt;/P&gt;&lt;P&gt;0,24&lt;/P&gt;&lt;P&gt;0&lt;/P&gt;&lt;P&gt;1,17&lt;/P&gt;&lt;P&gt;13&lt;/P&gt;&lt;P&gt;95,85&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 18 Sep 2014 08:10:33 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Decimals-are-treated-as-Money/m-p/728005#M1061880</guid>
      <dc:creator>erikkorme</dc:creator>
      <dc:date>2014-09-18T08:10:33Z</dc:date>
    </item>
    <item>
      <title>Re: Decimals are treated as Money</title>
      <link>https://community.qlik.com/t5/QlikView/Decimals-are-treated-as-Money/m-p/728006#M1061882</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Use num()&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;or in UI&lt;/P&gt;&lt;P&gt;If you are taking it in List box then go to&lt;/P&gt;&lt;P&gt;List Box property-&amp;gt;Number tab-&amp;gt;override it to expected format.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 18 Sep 2014 08:16:01 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Decimals-are-treated-as-Money/m-p/728006#M1061882</guid>
      <dc:creator>PrashantSangle</dc:creator>
      <dc:date>2014-09-18T08:16:01Z</dc:date>
    </item>
    <item>
      <title>Re: Decimals are treated as Money</title>
      <link>https://community.qlik.com/t5/QlikView/Decimals-are-treated-as-Money/m-p/728007#M1061883</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Load in the script as below&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Num(Field,'#,##0.00') as Field&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 18 Sep 2014 08:21:27 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Decimals-are-treated-as-Money/m-p/728007#M1061883</guid>
      <dc:creator>MK_QSL</dc:creator>
      <dc:date>2014-09-18T08:21:27Z</dc:date>
    </item>
    <item>
      <title>Re: Decimals are treated as Money</title>
      <link>https://community.qlik.com/t5/QlikView/Decimals-are-treated-as-Money/m-p/728008#M1061884</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for your replies. But I was asking if anyone has any ideas &lt;EM&gt;other&lt;/EM&gt; than changing all problematic fields in the script, with the num() function, or changing them through document settings or item properties. I want Qlikview to somehow understand that these fields are not money, but regular numbers, without doing so explicitly. It is doable, but the script will be a lot less clean that way.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks! &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 18 Sep 2014 08:28:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Decimals-are-treated-as-Money/m-p/728008#M1061884</guid>
      <dc:creator>erikkorme</dc:creator>
      <dc:date>2014-09-18T08:28:04Z</dc:date>
    </item>
    <item>
      <title>Re: Decimals are treated as Money</title>
      <link>https://community.qlik.com/t5/QlikView/Decimals-are-treated-as-Money/m-p/728009#M1061885</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;Hi,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;Try like this&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;=Num(Num#(FieldName,'#,##0,00', ',') , '#,##0,00')&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;Ex:&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;=Num(Num#('95,85','#,##0,00', ',') , '#,##0,00')&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Jagan.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 18 Sep 2014 08:28:40 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Decimals-are-treated-as-Money/m-p/728009#M1061885</guid>
      <dc:creator>jagan</dc:creator>
      <dc:date>2014-09-18T08:28:40Z</dc:date>
    </item>
  </channel>
</rss>

