<?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 Text() function in LOAD returns Scientific Notation in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Text-function-in-LOAD-returns-Scientific-Notation/m-p/295026#M498435</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;I am not really into the internals, just guessing that the internal representation as read from the data source differs from the standard representation after load (the standard which you can set in the beginning of your script as default representations).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Have you tried formatting the number first?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;like &lt;/P&gt;&lt;P&gt;Text(num(FIELDNAME,'FORMATCODE')) as ...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Stefan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 20 Jul 2011 16:37:39 GMT</pubDate>
    <dc:creator>swuehl</dc:creator>
    <dc:date>2011-07-20T16:37:39Z</dc:date>
    <item>
      <title>Text() function in LOAD returns Scientific Notation</title>
      <link>https://community.qlik.com/t5/QlikView/Text-function-in-LOAD-returns-Scientific-Notation/m-p/295025#M498434</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I am loading a column using the Text() function.&amp;nbsp; The column contains integers.&amp;nbsp; But when I use the Text() function in the Load, the result is displayed as scientific notation (for example:&amp;nbsp; 5.9489797e+008).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;LOAD&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Text(FIELDNAME)&amp;nbsp; As [New Field Name]&lt;/P&gt;&lt;P&gt;RESIDENT&amp;nbsp; TableName;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If (after the Load), I create a straight table and evalute the same field using an identical Text() expression, it evalutes just fine (not e-notation).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any ideas on why the Text() function in the LOAD evaluates to e-Notation?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 20 Jul 2011 15:28:20 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Text-function-in-LOAD-returns-Scientific-Notation/m-p/295025#M498434</guid>
      <dc:creator />
      <dc:date>2011-07-20T15:28:20Z</dc:date>
    </item>
    <item>
      <title>Text() function in LOAD returns Scientific Notation</title>
      <link>https://community.qlik.com/t5/QlikView/Text-function-in-LOAD-returns-Scientific-Notation/m-p/295026#M498435</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;I am not really into the internals, just guessing that the internal representation as read from the data source differs from the standard representation after load (the standard which you can set in the beginning of your script as default representations).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Have you tried formatting the number first?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;like &lt;/P&gt;&lt;P&gt;Text(num(FIELDNAME,'FORMATCODE')) as ...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Stefan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 20 Jul 2011 16:37:39 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Text-function-in-LOAD-returns-Scientific-Notation/m-p/295026#M498435</guid>
      <dc:creator>swuehl</dc:creator>
      <dc:date>2011-07-20T16:37:39Z</dc:date>
    </item>
    <item>
      <title>Text() function in LOAD returns Scientific Notation</title>
      <link>https://community.qlik.com/t5/QlikView/Text-function-in-LOAD-returns-Scientific-Notation/m-p/295027#M498436</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks so much, Stefan.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm not sure why this was occurring (these are essentially int values loaded from a SQL Server table to a qvd, then loaded from that qvd and joined, etc. here), but formatting via NUM() inside the Text() function seemed to do the trick.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 20 Jul 2011 16:56:03 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Text-function-in-LOAD-returns-Scientific-Notation/m-p/295027#M498436</guid>
      <dc:creator />
      <dc:date>2011-07-20T16:56:03Z</dc:date>
    </item>
  </channel>
</rss>

