<?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: Number formatting on edit script in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Number-formatting-on-edit-script/m-p/1146391#M375104</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;try something like:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=num(YourFiled,'####,##') as YourField&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 30 Jun 2016 08:34:09 GMT</pubDate>
    <dc:creator>Frank_Hartmann</dc:creator>
    <dc:date>2016-06-30T08:34:09Z</dc:date>
    <item>
      <title>Number formatting on edit script</title>
      <link>https://community.qlik.com/t5/QlikView/Number-formatting-on-edit-script/m-p/1146390#M375103</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am trying to load a .csv file to QliKView and I have managed to do that.&lt;/P&gt;&lt;P&gt;But I noticed that my numberformat was not right.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The output is at the moment : 1.000,00 etc&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It needs to be 1000,00&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;There will be other datasources too, so I have not changed the thousand separator SET on the beginning from space to dot.&lt;/P&gt;&lt;P&gt;Is there a way to put there multiple thousandSep options?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Or does someone have a proper solution for this with the num() function? I tried, and failed.. it just brings the numbers before the thousandspearator to the view..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Cheers,&lt;/P&gt;&lt;P&gt;Niko&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 30 Jun 2016 08:29:14 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Number-formatting-on-edit-script/m-p/1146390#M375103</guid>
      <dc:creator />
      <dc:date>2016-06-30T08:29:14Z</dc:date>
    </item>
    <item>
      <title>Re: Number formatting on edit script</title>
      <link>https://community.qlik.com/t5/QlikView/Number-formatting-on-edit-script/m-p/1146391#M375104</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;try something like:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=num(YourFiled,'####,##') as YourField&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 30 Jun 2016 08:34:09 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Number-formatting-on-edit-script/m-p/1146391#M375104</guid>
      <dc:creator>Frank_Hartmann</dc:creator>
      <dc:date>2016-06-30T08:34:09Z</dc:date>
    </item>
    <item>
      <title>Re: Number formatting on edit script</title>
      <link>https://community.qlik.com/t5/QlikView/Number-formatting-on-edit-script/m-p/1146392#M375105</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;If there is the need to change the decimal-delimiter and/or the thousand-separator you will need the specify both parameters - only one parameter will be simply ignored. By using you output-format the following would work:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;= num(num#('1.000,00', '#.###,##'), '####,##', ',', '')&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;- Marcus&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 30 Jun 2016 08:37:43 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Number-formatting-on-edit-script/m-p/1146392#M375105</guid>
      <dc:creator>marcus_sommer</dc:creator>
      <dc:date>2016-06-30T08:37:43Z</dc:date>
    </item>
    <item>
      <title>Re: Number formatting on edit script</title>
      <link>https://community.qlik.com/t5/QlikView/Number-formatting-on-edit-script/m-p/1146393#M375106</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;Thank you for your input. I tried your suggestion, but still it leaves the numbers over 1000 out from the field. So the numbers that have the format 1.000,00 or 1.000.000,000 .. These are on the left side if I take a look on the original field on the list box. So they are strings?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Cheers,&lt;/P&gt;&lt;P&gt;Niko&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 30 Jun 2016 09:19:17 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Number-formatting-on-edit-script/m-p/1146393#M375106</guid>
      <dc:creator />
      <dc:date>2016-06-30T09:19:17Z</dc:date>
    </item>
    <item>
      <title>Re: Number formatting on edit script</title>
      <link>https://community.qlik.com/t5/QlikView/Number-formatting-on-edit-script/m-p/1146394#M375107</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Actually, the example does not even work for me for some reason .. &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 30 Jun 2016 09:23:09 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Number-formatting-on-edit-script/m-p/1146394#M375107</guid>
      <dc:creator />
      <dc:date>2016-06-30T09:23:09Z</dc:date>
    </item>
    <item>
      <title>Re: Number formatting on edit script</title>
      <link>https://community.qlik.com/t5/QlikView/Number-formatting-on-edit-script/m-p/1146395#M375108</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Well, I simply replaced the . with empty space on the loadscript&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;replace(field, '.', ' ')&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 30 Jun 2016 09:27:47 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Number-formatting-on-edit-script/m-p/1146395#M375108</guid>
      <dc:creator />
      <dc:date>2016-06-30T09:27:47Z</dc:date>
    </item>
    <item>
      <title>Re: Number formatting on edit script</title>
      <link>https://community.qlik.com/t5/QlikView/Number-formatting-on-edit-script/m-p/1146396#M375109</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Are they displayed on the left side they will be interpreted as strings and you will need a solution like my example above with a num(num#()) expression to convert at first the value and then format it. For larger numbers you need to increase the number of # and/or you will need a switch within the num#() to detect the right conversion. I mean something like this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;= num(num#('1.000,00', '#.###.###,##'), '####,##', ',', '')&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;= num(alt(num#('1.000,00', '#.###.###,##'), num#('1.000,00', '#.###,##')), '####,##', ',', '')&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;- Marcus&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 30 Jun 2016 09:28:43 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Number-formatting-on-edit-script/m-p/1146396#M375109</guid>
      <dc:creator>marcus_sommer</dc:creator>
      <dc:date>2016-06-30T09:28:43Z</dc:date>
    </item>
  </channel>
</rss>

