<?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 Number too large to parse as number? in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Number-too-large-to-parse-as-number/m-p/281531#M708868</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;All of the above is correct. The simplest solution to the problem is to use Evaluate( F ) which will force an evaluation of a long string (or an expression).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;HIC &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 19 Mar 2012 16:04:07 GMT</pubDate>
    <dc:creator>hic</dc:creator>
    <dc:date>2012-03-19T16:04:07Z</dc:date>
    <item>
      <title>Number too large to parse as number?</title>
      <link>https://community.qlik.com/t5/QlikView/Number-too-large-to-parse-as-number/m-p/281527#M708864</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;One of my csv source files contains the large number ﻿﻿﻿125195971554244 in one of the columns. QlikView Desktop (v10 SR1) refuses to interpret this as a number and will only load it as a string (with no numeric value) which obviously throws our calculations out. I suspect this is because it can't represent the number precisely in whatever internal type it is using (double precision floats?).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It is impractical to pre-/re-format the source files due to size and number. Can anyone think of a way to force QlikView to interpret this string of digits as a number? It needs to be practical and reliable so string manipulation techniques to split the value into parts and reassemble it will have to cope with decimal points and negative numbers.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The problem can be seen clearly if you try to load just that number using an inline table:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;LOAD * INLINE [&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; F&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ﻿125195971554244&lt;/P&gt;&lt;P&gt;];&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The resulting single value in the F field is left-aligned by default indicating that it is just text and not being interpreted as a number.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any advice would be greatly appreciated.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Simon&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 28 Oct 2011 09:20:37 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Number-too-large-to-parse-as-number/m-p/281527#M708864</guid>
      <dc:creator />
      <dc:date>2011-10-28T09:20:37Z</dc:date>
    </item>
    <item>
      <title>Number too large to parse as number?</title>
      <link>https://community.qlik.com/t5/QlikView/Number-too-large-to-parse-as-number/m-p/281528#M708865</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi, &lt;/P&gt;&lt;P&gt;I tried and it does not read as a floating point directly. &lt;/P&gt;&lt;P&gt;I segmented the string in two parts to force the interpretation as a number than I multiplied the part on the left to reconstruct the number. Then, it becomes a floating point.&lt;/P&gt;&lt;P&gt;I don't know why but with the load inline it only works if there is no tab or spaces on the left side of the line.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this helps, &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Erich&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;#####################################3&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;t:&lt;/P&gt;&lt;P&gt;LOAD * INLINE [&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;F&lt;/P&gt;&lt;P&gt;125195971554244&lt;/P&gt;&lt;P&gt;12345&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;];&lt;/P&gt;&lt;P&gt;load F, right (F,10) AS NUMBER1,&lt;/P&gt;&lt;P&gt;ALT( NUM#(left(TRIM(F),LEN(TRIM(F))-10)),0) AS NUMBER2,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;num#(right (F,10)) + ALT( NUM#(left(TRIM(F),LEN(TRIM(F))-10)),0)*pow(10,10) as NUMBER3&lt;/P&gt;&lt;P&gt; Resident t;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DROP TABLE t;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 28 Oct 2011 10:11:17 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Number-too-large-to-parse-as-number/m-p/281528#M708865</guid>
      <dc:creator>erichshiino</dc:creator>
      <dc:date>2011-10-28T10:11:17Z</dc:date>
    </item>
    <item>
      <title>Number too large to parse as number?</title>
      <link>https://community.qlik.com/t5/QlikView/Number-too-large-to-parse-as-number/m-p/281529#M708866</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks Erich. &lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Simon&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 17 Nov 2011 14:40:55 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Number-too-large-to-parse-as-number/m-p/281529#M708866</guid>
      <dc:creator />
      <dc:date>2011-11-17T14:40:55Z</dc:date>
    </item>
    <item>
      <title>Number too large to parse as number?</title>
      <link>https://community.qlik.com/t5/QlikView/Number-too-large-to-parse-as-number/m-p/281530#M708867</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;And just to confirm, yes, unless something has changed in more recent versions or I'm remembering incorrectly, QlikView is using IEEE 754 double-precision binary floating point as its internal numeric format.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 17 Nov 2011 22:36:17 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Number-too-large-to-parse-as-number/m-p/281530#M708867</guid>
      <dc:creator>johnw</dc:creator>
      <dc:date>2011-11-17T22:36:17Z</dc:date>
    </item>
    <item>
      <title>Number too large to parse as number?</title>
      <link>https://community.qlik.com/t5/QlikView/Number-too-large-to-parse-as-number/m-p/281531#M708868</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;All of the above is correct. The simplest solution to the problem is to use Evaluate( F ) which will force an evaluation of a long string (or an expression).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;HIC &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 19 Mar 2012 16:04:07 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Number-too-large-to-parse-as-number/m-p/281531#M708868</guid>
      <dc:creator>hic</dc:creator>
      <dc:date>2012-03-19T16:04:07Z</dc:date>
    </item>
    <item>
      <title>Number too large to parse as number?</title>
      <link>https://community.qlik.com/t5/QlikView/Number-too-large-to-parse-as-number/m-p/281532#M708869</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks Henric,&lt;/P&gt;&lt;P&gt;That's a great idea - works perfectly!&lt;/P&gt;&lt;P&gt;regds&lt;/P&gt;&lt;P&gt;Simon&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 19 Mar 2012 16:17:26 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Number-too-large-to-parse-as-number/m-p/281532#M708869</guid>
      <dc:creator />
      <dc:date>2012-03-19T16:17:26Z</dc:date>
    </item>
    <item>
      <title>Number too large to parse as number?</title>
      <link>https://community.qlik.com/t5/QlikView/Number-too-large-to-parse-as-number/m-p/281533#M708870</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks! &lt;/P&gt;&lt;P&gt;It's great to know an alternative to that complicated workaround! &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards, &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Erich&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 20 Mar 2012 21:24:39 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Number-too-large-to-parse-as-number/m-p/281533#M708870</guid>
      <dc:creator>erichshiino</dc:creator>
      <dc:date>2012-03-20T21:24:39Z</dc:date>
    </item>
  </channel>
</rss>

