<?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 Converting a number to Standard NUmber Format in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Converting-a-number-to-Standard-NUmber-Format/m-p/1702227#M725779</link>
    <description>&lt;P&gt;Dears,&lt;/P&gt;&lt;P&gt;My txt file contains the following number:&amp;nbsp;-2432445,184, which is equal to: -2.432.445.185,00.&lt;/P&gt;&lt;P&gt;How can I transform this number:&amp;nbsp;-2432445,184 to show R$ -2.432.445.185,00?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I'm trying to do it during the loading process, but It's not working.&lt;BR /&gt;I'm using the following formula:&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;Money(Money#(@25, '#,##0.00;-#,##0.00', '.', ','),  'R$ #.##0,00;-R$ #.##0,00', ',', '.')&lt;/LI-CODE&gt;&lt;P&gt;&lt;BR /&gt;&lt;BR /&gt;How can I do it?&lt;BR /&gt;Thanks&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Wed, 25 Nov 2020 16:16:04 GMT</pubDate>
    <dc:creator>brunolelli87</dc:creator>
    <dc:date>2020-11-25T16:16:04Z</dc:date>
    <item>
      <title>Converting a number to Standard NUmber Format</title>
      <link>https://community.qlik.com/t5/QlikView/Converting-a-number-to-Standard-NUmber-Format/m-p/1702227#M725779</link>
      <description>&lt;P&gt;Dears,&lt;/P&gt;&lt;P&gt;My txt file contains the following number:&amp;nbsp;-2432445,184, which is equal to: -2.432.445.185,00.&lt;/P&gt;&lt;P&gt;How can I transform this number:&amp;nbsp;-2432445,184 to show R$ -2.432.445.185,00?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I'm trying to do it during the loading process, but It's not working.&lt;BR /&gt;I'm using the following formula:&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;Money(Money#(@25, '#,##0.00;-#,##0.00', '.', ','),  'R$ #.##0,00;-R$ #.##0,00', ',', '.')&lt;/LI-CODE&gt;&lt;P&gt;&lt;BR /&gt;&lt;BR /&gt;How can I do it?&lt;BR /&gt;Thanks&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 25 Nov 2020 16:16:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Converting-a-number-to-Standard-NUmber-Format/m-p/1702227#M725779</guid>
      <dc:creator>brunolelli87</dc:creator>
      <dc:date>2020-11-25T16:16:04Z</dc:date>
    </item>
    <item>
      <title>Re: Converting a number to Standard NUmber Format</title>
      <link>https://community.qlik.com/t5/QlikView/Converting-a-number-to-Standard-NUmber-Format/m-p/1702295#M725780</link>
      <description>&lt;P&gt;Try this:&lt;/P&gt;&lt;P&gt;It's Working for me.&lt;/P&gt;&lt;P&gt;number:&lt;/P&gt;&lt;P&gt;load&lt;BR /&gt;Money(Money#(number, '#,##0.00;-#,##0.00', '.', ','), 'R$ #.##0,00;-R$ #.##0,00', ',', '.') as no;&lt;/P&gt;&lt;P&gt;LOAD&lt;BR /&gt;"number"&lt;BR /&gt;FROM [lib://DataFiles/number.txt]&lt;BR /&gt;(txt, codepage is 28591, embedded labels, delimiter is '\t', msq);&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 15 May 2020 08:02:09 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Converting-a-number-to-Standard-NUmber-Format/m-p/1702295#M725780</guid>
      <dc:creator>raji6763</dc:creator>
      <dc:date>2020-05-15T08:02:09Z</dc:date>
    </item>
    <item>
      <title>Re: Converting a number to Standard NUmber Format</title>
      <link>https://community.qlik.com/t5/QlikView/Converting-a-number-to-Standard-NUmber-Format/m-p/1702434#M725781</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Thanks for your help, but it's not working...&lt;/P&gt;&lt;P&gt;I'm from Brazil, so my standard decimal separator is "," and my standard thousand separator is ".".&lt;BR /&gt;At the very first tab on Script I have the following code:&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;SET ThousandSep='.';
SET DecimalSep=',';
SET MoneyThousandSep='.';
SET MoneyDecimalSep=',';
SET MoneyFormat='R$#.##0,00;-R$#.##0,00';
SET TimeFormat='hh:mm:ss';
SET DateFormat='DD/MM/YYYY';
SET TimestampFormat='DD/MM/YYYY hh:mm:ss[.fff]';
SET FirstWeekDay=6;
SET BrokenWeeks=1;
SET ReferenceDay=0;
SET FirstMonthOfYear=1;
SET CollationLocale='pt-BR';
SET MonthNames='jan;fev;mar;abr;mai;jun;jul;ago;set;out;nov;dez';
SET LongMonthNames='janeiro;fevereiro;março;abril;maio;junho;julho;agosto;setembro;outubro;novembro;dezembro';
SET DayNames='seg;ter;qua;qui;sex;sáb;dom';
SET LongDayNames='segunda-feira;terça-feira;quarta-feira;quinta-feira;sexta-feira;sábado;domingo';&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;But, enabling or not this tab, does not change the final result.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Any other suggestions?&lt;/P&gt;</description>
      <pubDate>Fri, 15 May 2020 13:37:57 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Converting-a-number-to-Standard-NUmber-Format/m-p/1702434#M725781</guid>
      <dc:creator>brunolelli87</dc:creator>
      <dc:date>2020-05-15T13:37:57Z</dc:date>
    </item>
    <item>
      <title>Re: Converting a number to Standard NUmber Format</title>
      <link>https://community.qlik.com/t5/QlikView/Converting-a-number-to-Standard-NUmber-Format/m-p/1702505#M725782</link>
      <description>&lt;P&gt;Hello guys,&lt;/P&gt;&lt;P&gt;Please, take a look at my analysis...&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;I'm from Brazil, so my Decimal separator is "," and my thousand separator is ".".&lt;BR /&gt;My Excel spreadsheet contains some values expressed as: "-2432445,184", meaning "-2.432.445.184,00".&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Please, check the solutions that I had tried and the results I got:&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;First attempt: Money(Money#...&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;Money(Money#(@25, '#,##0.00;-#,##0.00', '.', ','),  'R$ #.##0,00;-R$ #.##0,00', ',', '.')	as 	LOPP&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P class="lia-indent-padding-left-30px"&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Money(Money#(@25, '#,##0.00;-#,##0.00', '.', ','),  'R$ #.##0,00;-R$ #.##0,00', ',', '.')	as 	LOPP" style="width: 365px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/33708i6C7B50903C6D748E/image-size/large?v=v2&amp;amp;px=999" role="button" title="1.png" alt="Money(Money#(@25, '#,##0.00;-#,##0.00', '.', ','),  'R$ #.##0,00;-R$ #.##0,00', ',', '.')	as 	LOPP" /&gt;&lt;span class="lia-inline-image-caption" onclick="event.preventDefault();"&gt;Money(Money#(@25, '#,##0.00;-#,##0.00', '.', ','),  'R$ #.##0,00;-R$ #.##0,00', ',', '.')	as 	LOPP&lt;/span&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Second attempt: Money(Num#...&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;Money(Num#(@25, '#,##0.00;-#,##0.00', '.', ','),  'R$ #.##0,00;-R$ #.##0,00', ',', '.')&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="2.png" style="width: 369px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/33709i2410D49735BF2065/image-size/large?v=v2&amp;amp;px=999" role="button" title="2.png" alt="2.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Third Attempt: Just Num()&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;Num(@25)	as 	LOPP 	// Lucro/Prejuízo do Período.&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="4.png" style="width: 364px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/33710iCB6CA6221874337E/image-size/large?v=v2&amp;amp;px=999" role="button" title="4.png" alt="4.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Fourth attempt: Changing the ',' and '.' places&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;Money(Money#(@25, '#.##0,00;-#.##0,00', ',', '.'),  'R$ #.##0,00;-R$ #.##0,00', ',', '.')	as 	LOPP&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="5.png" style="width: 368px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/33711i67E300BB0639DAF3/image-size/large?v=v2&amp;amp;px=999" role="button" title="5.png" alt="5.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;So, what else can I do?&lt;/P&gt;&lt;P&gt;I have no ideas!!!&lt;/P&gt;</description>
      <pubDate>Fri, 15 May 2020 16:07:01 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Converting-a-number-to-Standard-NUmber-Format/m-p/1702505#M725782</guid>
      <dc:creator>brunolelli87</dc:creator>
      <dc:date>2020-05-15T16:07:01Z</dc:date>
    </item>
    <item>
      <title>Re: Converting a number to Standard NUmber Format</title>
      <link>https://community.qlik.com/t5/QlikView/Converting-a-number-to-Standard-NUmber-Format/m-p/1702594#M725783</link>
      <description>&lt;P&gt;the solutions you tried, work at my test environment.&lt;/P&gt;&lt;P&gt;Could you share (a sample of) the source file?&lt;/P&gt;</description>
      <pubDate>Fri, 15 May 2020 21:41:52 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Converting-a-number-to-Standard-NUmber-Format/m-p/1702594#M725783</guid>
      <dc:creator>tabletuner</dc:creator>
      <dc:date>2020-05-15T21:41:52Z</dc:date>
    </item>
  </channel>
</rss>

