<?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: Separators . and , in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Separators-and/m-p/593173#M1122082</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;In the script and in expressions, decimal point should &lt;SPAN style="text-decoration: underline;"&gt;&lt;EM&gt;always&lt;/EM&gt;&lt;/SPAN&gt; be used. Anything else would make a document non-portable. Comma is used as list separator.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But to load and interpret fields correctly, you need to "tell" QlikView what format you are using. This is best done by using &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; SET ThousandSep='.';&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; SET DecimalSep=',';&lt;/P&gt;&lt;P&gt;in the beginning of the script. &lt;EM&gt;This should be enough&lt;/EM&gt; to get formatting right.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In addition, you can use interpretation and formatting functions:&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 12.727272033691406px;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Num#(Field, '#&lt;/SPAN&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 12.727272033691406px;"&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; font-size: 12.727272033691406px;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Num(Field, '#.##0&lt;/SPAN&gt;&lt;SPAN style="font-size: 12.727272033691406px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #ff0000;"&gt;&lt;STRONG style="font-style: inherit; font-family: inherit;"&gt;,&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 12.727272033691406px;"&gt;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; font-size: 12.727272033691406px;"&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; font-size: 12.727272033691406px;"&gt;HIC&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; font-size: 12.727272033691406px;"&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; font-size: 12.727272033691406px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 31 Jan 2014 10:41:59 GMT</pubDate>
    <dc:creator>hic</dc:creator>
    <dc:date>2014-01-31T10:41:59Z</dc:date>
    <item>
      <title>Separators . and ,</title>
      <link>https://community.qlik.com/t5/QlikView/Separators-and/m-p/593171#M1122080</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Good morning, &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have a question about formats:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My data are loaded with &lt;SPAN style="color: #ff0000;"&gt;&lt;STRONG&gt;.&lt;/STRONG&gt;&lt;/SPAN&gt; as thousand separator. My regional configuration is Spanish and I need to write the expression as&amp;nbsp; =Num($(eEnplanedPassengers), '#.##0&lt;SPAN style="color: #ff0000;"&gt;&lt;STRONG&gt;,&lt;/STRONG&gt;&lt;/SPAN&gt;00') to show my data 1&lt;SPAN style="color: #ff0000;"&gt;&lt;STRONG&gt;.&lt;/STRONG&gt;&lt;/SPAN&gt;526&lt;STRONG style="color: #ff0000;"&gt;.&lt;/STRONG&gt;458&lt;STRONG style="color: #ff0000;"&gt;,&lt;/STRONG&gt;98&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Even though, when I make comparations I have to write the conditional as:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if ([Load Factor %] &amp;gt;= 0&lt;SPAN style="color: #ff0000;"&gt;&lt;STRONG&gt;.&lt;/STRONG&gt;&lt;/SPAN&gt;85, Green(), &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; If ([Load Factor %] &amp;gt;= 0&lt;STRONG style=": ; color: #ff0000;"&gt;.&lt;/STRONG&gt;70, LightBlue(),&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; LightRed()))&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Could you explain me the difference please? &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you in advance&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 31 Jan 2014 09:55:03 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Separators-and/m-p/593171#M1122080</guid>
      <dc:creator />
      <dc:date>2014-01-31T09:55:03Z</dc:date>
    </item>
    <item>
      <title>Re: Separators . and ,</title>
      <link>https://community.qlik.com/t5/QlikView/Separators-and/m-p/593172#M1122081</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You could replace the '.' character by a ',' like this:&lt;/P&gt;&lt;P&gt;replace('&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;eEnplanedPassengers&lt;/SPAN&gt;', '.' , ',') as &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;eEnplanedPassengers. &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;And&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;replace('Load Factor %', '.' , '.') AS [Load Factor %&lt;/SPAN&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 10pt; line-height: 1.5em;"&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; font-size: 10pt; line-height: 1.5em;"&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; font-size: 10pt; line-height: 1.5em;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 31 Jan 2014 10:22:02 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Separators-and/m-p/593172#M1122081</guid>
      <dc:creator>Michiel_QV_Fan</dc:creator>
      <dc:date>2014-01-31T10:22:02Z</dc:date>
    </item>
    <item>
      <title>Re: Separators . and ,</title>
      <link>https://community.qlik.com/t5/QlikView/Separators-and/m-p/593173#M1122082</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;In the script and in expressions, decimal point should &lt;SPAN style="text-decoration: underline;"&gt;&lt;EM&gt;always&lt;/EM&gt;&lt;/SPAN&gt; be used. Anything else would make a document non-portable. Comma is used as list separator.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But to load and interpret fields correctly, you need to "tell" QlikView what format you are using. This is best done by using &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; SET ThousandSep='.';&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; SET DecimalSep=',';&lt;/P&gt;&lt;P&gt;in the beginning of the script. &lt;EM&gt;This should be enough&lt;/EM&gt; to get formatting right.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In addition, you can use interpretation and formatting functions:&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 12.727272033691406px;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Num#(Field, '#&lt;/SPAN&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 12.727272033691406px;"&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; font-size: 12.727272033691406px;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Num(Field, '#.##0&lt;/SPAN&gt;&lt;SPAN style="font-size: 12.727272033691406px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #ff0000;"&gt;&lt;STRONG style="font-style: inherit; font-family: inherit;"&gt;,&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 12.727272033691406px;"&gt;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; font-size: 12.727272033691406px;"&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; font-size: 12.727272033691406px;"&gt;HIC&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; font-size: 12.727272033691406px;"&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; font-size: 12.727272033691406px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 31 Jan 2014 10:41:59 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Separators-and/m-p/593173#M1122082</guid>
      <dc:creator>hic</dc:creator>
      <dc:date>2014-01-31T10:41:59Z</dc:date>
    </item>
  </channel>
</rss>

