<?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: Qlikview Not Rounding a value with .9999999 in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Qlikview-Not-Rounding-a-value-with-9999999/m-p/878136#M995188</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Something like this&lt;/P&gt;&lt;P&gt;Aggr(ROUND(YourExpression),Dimension)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 03 Jul 2015 08:55:06 GMT</pubDate>
    <dc:creator>MK_QSL</dc:creator>
    <dc:date>2015-07-03T08:55:06Z</dc:date>
    <item>
      <title>Qlikview Not Rounding a value with .9999999</title>
      <link>https://community.qlik.com/t5/QlikView/Qlikview-Not-Rounding-a-value-with-9999999/m-p/878135#M995187</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi All,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So I have seen a strange occurrence in Qlikview, Qlikview is refusing to round my values ending with a recurring number i.e 34.63999999. This specific value is calculated through a calculated-dimension field (Not sure if this has an impact&amp;nbsp; as to why it is not working)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have tried the following functions on this dimension:&lt;/P&gt;&lt;P&gt;ROUND(value,0.01)&lt;/P&gt;&lt;P&gt;NUM(value, '#,##0.00')&lt;/P&gt;&lt;P&gt;CEIL(value, 0.1)&lt;/P&gt;&lt;P&gt;FLOOR(value, 0.1)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Each of the above rounds all my other values except those that end in a recurring decimal value. Is there something I am missing, or another rounding function that accommodates for this?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 20 Nov 2020 18:02:30 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Qlikview-Not-Rounding-a-value-with-9999999/m-p/878135#M995187</guid>
      <dc:creator />
      <dc:date>2020-11-20T18:02:30Z</dc:date>
    </item>
    <item>
      <title>Re: Qlikview Not Rounding a value with .9999999</title>
      <link>https://community.qlik.com/t5/QlikView/Qlikview-Not-Rounding-a-value-with-9999999/m-p/878136#M995188</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Something like this&lt;/P&gt;&lt;P&gt;Aggr(ROUND(YourExpression),Dimension)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 03 Jul 2015 08:55:06 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Qlikview-Not-Rounding-a-value-with-9999999/m-p/878136#M995188</guid>
      <dc:creator>MK_QSL</dc:creator>
      <dc:date>2015-07-03T08:55:06Z</dc:date>
    </item>
    <item>
      <title>Re: Qlikview Not Rounding a value with .9999999</title>
      <link>https://community.qlik.com/t5/QlikView/Qlikview-Not-Rounding-a-value-with-9999999/m-p/878137#M995189</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;The below example gives me 34.64, what is your expected value?&amp;nbsp; Which version you are using?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=Round(34.63999999, 0.01)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 03 Jul 2015 08:57:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Qlikview-Not-Rounding-a-value-with-9999999/m-p/878137#M995189</guid>
      <dc:creator>jagan</dc:creator>
      <dc:date>2015-07-03T08:57:04Z</dc:date>
    </item>
    <item>
      <title>Re: Qlikview Not Rounding a value with .9999999</title>
      <link>https://community.qlik.com/t5/QlikView/Qlikview-Not-Rounding-a-value-with-9999999/m-p/878138#M995190</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have created a calculated dimension and used Round. It worked perfectly.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=Round(D1/D2,0.01)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is it possible for you to upload your QVW with sample data.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;KKR&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 03 Jul 2015 09:06:10 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Qlikview-Not-Rounding-a-value-with-9999999/m-p/878138#M995190</guid>
      <dc:creator />
      <dc:date>2015-07-03T09:06:10Z</dc:date>
    </item>
    <item>
      <title>Re: Qlikview Not Rounding a value with .9999999</title>
      <link>https://community.qlik.com/t5/QlikView/Qlikview-Not-Rounding-a-value-with-9999999/m-p/878139#M995191</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;So my calculated dimension looks like this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;=&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;class&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;aggr&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;((&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;[Results_Difference]&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;),&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;[Results_Difference]&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;),&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;num&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;round&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(&lt;/SPAN&gt;&lt;STRONG&gt;&lt;EM style=": ; color: #808080; font-size: 8pt;"&gt;vIncrement&lt;/EM&gt;&lt;/STRONG&gt;&lt;SPAN style="font-size: 8pt;"&gt;, 0.01),'#,##0.00'),'x',&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;num&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;round&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(&lt;/SPAN&gt;&lt;STRONG&gt;&lt;EM style=": ; color: #808080; font-size: 8pt;"&gt;vLowerLimit&lt;/EM&gt;&lt;/STRONG&gt;&lt;SPAN style="font-size: 8pt;"&gt;,0.01),'#,##0.00')) &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;And my result looks like this:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;&lt;IMG alt="Questions_Rounding.PNG" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/91780_Questions_Rounding.PNG" style="width: 620px; height: 207px;" /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;The values ending with .65000001 is the recurring decimal values, the NUM should be limiting it to 2 decimal values, but it does not.&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 03 Jul 2015 09:21:21 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Qlikview-Not-Rounding-a-value-with-9999999/m-p/878139#M995191</guid>
      <dc:creator />
      <dc:date>2015-07-03T09:21:21Z</dc:date>
    </item>
    <item>
      <title>Re: Qlikview Not Rounding a value with .9999999</title>
      <link>https://community.qlik.com/t5/QlikView/Qlikview-Not-Rounding-a-value-with-9999999/m-p/878140#M995192</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;It seems to me as if you want to &lt;EM&gt;format&lt;/EM&gt; the numbers rather than rounding them. Use&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Num( Number, '#.00' )&lt;/P&gt;&lt;P&gt;instead.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Also, note that the internal binary representation &lt;SPAN style="text-decoration: underline;"&gt;&lt;EM&gt;cannot&lt;/EM&gt;&lt;/SPAN&gt; be rounded to exact decimal numbers. See &lt;A href="https://community.qlik.com/qlik-blogpost/3471"&gt;Rounding Errors&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;HIC&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 03 Jul 2015 09:38:28 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Qlikview-Not-Rounding-a-value-with-9999999/m-p/878140#M995192</guid>
      <dc:creator>hic</dc:creator>
      <dc:date>2015-07-03T09:38:28Z</dc:date>
    </item>
    <item>
      <title>Re: Qlikview Not Rounding a value with .9999999</title>
      <link>https://community.qlik.com/t5/QlikView/Qlikview-Not-Rounding-a-value-with-9999999/m-p/878141#M995193</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Rounding of numbers has always technically limitations: &lt;A href="https://community.qlik.com/qlik-blogpost/3471"&gt;Rounding Errors&lt;/A&gt;. As an alternatively you could try some way of cut the results with string-functions like:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;left(YourAggr, index(YourAggr, '.') + 2)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;also possible could be ways to split the number with floor() and frac() and multiply and/or format them and adds together again - maybe included in a dual().&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;- Marcus&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 03 Jul 2015 09:40:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Qlikview-Not-Rounding-a-value-with-9999999/m-p/878141#M995193</guid>
      <dc:creator>marcus_sommer</dc:creator>
      <dc:date>2015-07-03T09:40:04Z</dc:date>
    </item>
    <item>
      <title>Re: Qlikview Not Rounding a value with .9999999</title>
      <link>https://community.qlik.com/t5/QlikView/Qlikview-Not-Rounding-a-value-with-9999999/m-p/878142#M995194</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks Henric. I solved the rounding problem by restarting Qlikview (not sure why this worked) and then I got the result in the picture posted, but the NUM is still as issue.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I tried using the expression '#.00' instead but it still gives me the same result. &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 03 Jul 2015 10:53:35 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Qlikview-Not-Rounding-a-value-with-9999999/m-p/878142#M995194</guid>
      <dc:creator />
      <dc:date>2015-07-03T10:53:35Z</dc:date>
    </item>
    <item>
      <title>Re: Qlikview Not Rounding a value with .9999999</title>
      <link>https://community.qlik.com/t5/QlikView/Qlikview-Not-Rounding-a-value-with-9999999/m-p/878143#M995195</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi &lt;STRONG style="font-size: 11.6999998092651px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;A href="https://community.qlik.com/people/anekotze913"&gt;anekotze913&lt;/A&gt;&lt;/STRONG&gt;,&lt;/P&gt;&lt;P&gt;Could you provide the sample application with the dummy data?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 06 Jul 2015 06:59:10 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Qlikview-Not-Rounding-a-value-with-9999999/m-p/878143#M995195</guid>
      <dc:creator>qlikviewwizard</dc:creator>
      <dc:date>2015-07-06T06:59:10Z</dc:date>
    </item>
  </channel>
</rss>

