<?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: Losing Precision while reading from QVD in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Losing-Precision-while-reading-from-QVD/m-p/781059#M663313</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I wish this could be my Account Balance &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 28 Jan 2015 12:42:00 GMT</pubDate>
    <dc:creator>Clever_Anjos</dc:creator>
    <dc:date>2015-01-28T12:42:00Z</dc:date>
    <item>
      <title>Losing Precision while reading from QVD</title>
      <link>https://community.qlik.com/t5/QlikView/Losing-Precision-while-reading-from-QVD/m-p/781055#M663309</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;All,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am performing below steps but losing precision.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have a column ,say, ID having high precision sixteen digit number 1999999999999999 in a very large data set .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1. Firstly I would load the large data set into a qlikview table,say,TEST: and then store it into a qvd ,say,sample_temp.qvd. This loads from a oracle DB using select statement.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2. Next,I would drop the qlikview internal table TEST after loading and storing in the QVD. When I see the ID column here (before dropping the qlikview table) the precision stays solid.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;3.Now, as said above,after dropping the TEST table , I use a qlikview query having transformations,joins and where clause to store them in to a another qlikview internal table TEST1 and in turn to a QVD say,sample.qvd.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Here the actual problem surfaces. The ID column is converted into an exponential number like 1.99999999999999e+15&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Code example&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;TEST:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SELECT ID,AMOUNT FROM SALES :&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;STORE TEST INTO SAMPLE_TEMP.QVD;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DROP TABLE TEST:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;(Precision stays solid until here)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;TEST1:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;LOAD ID ,AMOUNT,&amp;lt;SOME TRANSFORMATION ON COLS&amp;gt; FROM SAMPLE_TEMP.QVD(qvd);&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When you put&amp;nbsp; table box on TEST1, I lose the precision on ID column and it shows like 1.99999999999999e+15&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Why is this happening ? Am I missing something here ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please help !&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 28 Jan 2015 12:31:01 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Losing-Precision-while-reading-from-QVD/m-p/781055#M663309</guid>
      <dc:creator />
      <dc:date>2015-01-28T12:31:01Z</dc:date>
    </item>
    <item>
      <title>Re: Losing Precision while reading from QVD</title>
      <link>https://community.qlik.com/t5/QlikView/Losing-Precision-while-reading-from-QVD/m-p/781056#M663310</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;1.99999999999999e+15 means 1,99 * 10^15 it seems correct&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: 13px;"&gt;Please apply NUM() formatting and check what happens&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 28 Jan 2015 12:34:10 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Losing-Precision-while-reading-from-QVD/m-p/781056#M663310</guid>
      <dc:creator>Clever_Anjos</dc:creator>
      <dc:date>2015-01-28T12:34:10Z</dc:date>
    </item>
    <item>
      <title>Re: Losing Precision while reading from QVD</title>
      <link>https://community.qlik.com/t5/QlikView/Losing-Precision-while-reading-from-QVD/m-p/781057#M663311</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yes. But I want to display as 1999999999999999&amp;nbsp; after all these steps. &lt;/P&gt;&lt;P&gt;To be precise 900000000000270 changes&amp;nbsp; to 9.0000000000003e+015. I dont want an exponential form.&lt;/P&gt;&lt;P&gt;Not sure why it changes to a exponential form.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 28 Jan 2015 12:36:17 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Losing-Precision-while-reading-from-QVD/m-p/781057#M663311</guid>
      <dc:creator />
      <dc:date>2015-01-28T12:36:17Z</dc:date>
    </item>
    <item>
      <title>Re: Losing Precision while reading from QVD</title>
      <link>https://community.qlik.com/t5/QlikView/Losing-Precision-while-reading-from-QVD/m-p/781058#M663312</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;What happens if you use num(1999999999999999,'################')?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 28 Jan 2015 12:41:35 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Losing-Precision-while-reading-from-QVD/m-p/781058#M663312</guid>
      <dc:creator>Clever_Anjos</dc:creator>
      <dc:date>2015-01-28T12:41:35Z</dc:date>
    </item>
    <item>
      <title>Re: Losing Precision while reading from QVD</title>
      <link>https://community.qlik.com/t5/QlikView/Losing-Precision-while-reading-from-QVD/m-p/781059#M663313</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I wish this could be my Account Balance &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 28 Jan 2015 12:42:00 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Losing-Precision-while-reading-from-QVD/m-p/781059#M663313</guid>
      <dc:creator>Clever_Anjos</dc:creator>
      <dc:date>2015-01-28T12:42:00Z</dc:date>
    </item>
    <item>
      <title>Re: Losing Precision while reading from QVD</title>
      <link>https://community.qlik.com/t5/QlikView/Losing-Precision-while-reading-from-QVD/m-p/781060#M663314</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Strange thing is,if I comment DROP TABLE TEST: and run the entire script the precision stays as 900000000000270.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;num(1999999999999999,'################')? : This did not work.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 28 Jan 2015 12:48:22 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Losing-Precision-while-reading-from-QVD/m-p/781060#M663314</guid>
      <dc:creator />
      <dc:date>2015-01-28T12:48:22Z</dc:date>
    </item>
    <item>
      <title>Re: Losing Precision while reading from QVD</title>
      <link>https://community.qlik.com/t5/QlikView/Losing-Precision-while-reading-from-QVD/m-p/781061#M663315</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;TEST:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;SELECT ID,&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;num(&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;AMOUNT&lt;/SPAN&gt;,'################'))&lt;/SPAN&gt; FROM SALES :&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 28 Jan 2015 12:52:12 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Losing-Precision-while-reading-from-QVD/m-p/781061#M663315</guid>
      <dc:creator>Clever_Anjos</dc:creator>
      <dc:date>2015-01-28T12:52:12Z</dc:date>
    </item>
  </channel>
</rss>

