<?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: rounding down instead of up in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/rounding-down-instead-of-up/m-p/819348#M288872</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;=NUM(YourExpression,'#0.0')&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 30 Mar 2015 13:36:14 GMT</pubDate>
    <dc:creator>MK_QSL</dc:creator>
    <dc:date>2015-03-30T13:36:14Z</dc:date>
    <item>
      <title>rounding down instead of up</title>
      <link>https://community.qlik.com/t5/QlikView/rounding-down-instead-of-up/m-p/819347#M288871</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;&lt;/P&gt;&lt;P&gt;Can someone explain how to stop chart rounding down incorrectly?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Ther raw data which the chart is referring to shows average to be 7.85; however, on the chart when we set to 1 decimal is rounding down to 7.8 when it should round up to 7.9.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please help.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Chris&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 30 Mar 2015 13:34:32 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/rounding-down-instead-of-up/m-p/819347#M288871</guid>
      <dc:creator />
      <dc:date>2015-03-30T13:34:32Z</dc:date>
    </item>
    <item>
      <title>Re: rounding down instead of up</title>
      <link>https://community.qlik.com/t5/QlikView/rounding-down-instead-of-up/m-p/819348#M288872</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;=NUM(YourExpression,'#0.0')&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 30 Mar 2015 13:36:14 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/rounding-down-instead-of-up/m-p/819348#M288872</guid>
      <dc:creator>MK_QSL</dc:creator>
      <dc:date>2015-03-30T13:36:14Z</dc:date>
    </item>
    <item>
      <title>Re: rounding down instead of up</title>
      <link>https://community.qlik.com/t5/QlikView/rounding-down-instead-of-up/m-p/819349#M288873</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Can you use floor() or ceil()? or round()&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 30 Mar 2015 13:36:43 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/rounding-down-instead-of-up/m-p/819349#M288873</guid>
      <dc:creator>linusblomberg</dc:creator>
      <dc:date>2015-03-30T13:36:43Z</dc:date>
    </item>
    <item>
      <title>Re: rounding down instead of up</title>
      <link>https://community.qlik.com/t5/QlikView/rounding-down-instead-of-up/m-p/819350#M288874</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;set it to 3 or 4 places and what average is returned?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 30 Mar 2015 13:38:23 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/rounding-down-instead-of-up/m-p/819350#M288874</guid>
      <dc:creator>tcullinane</dc:creator>
      <dc:date>2015-03-30T13:38:23Z</dc:date>
    </item>
    <item>
      <title>Re: rounding down instead of up</title>
      <link>https://community.qlik.com/t5/QlikView/rounding-down-instead-of-up/m-p/819351#M288875</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;floor( x [ , base [ , offset ]] )&lt;/P&gt;&lt;P&gt;Rounding of x downwards to the nearest multiple of base with an&lt;/P&gt;&lt;P&gt;offset of offset. The result is a number.&lt;/P&gt;&lt;P&gt;Examples:&lt;/P&gt;&lt;P&gt;floor( 2.4 ) returns 2&lt;/P&gt;&lt;P&gt;floor( 2.6 ) returns 2&lt;/P&gt;&lt;P&gt;floor( 3.88 , 0.1 ) returns 3.8&lt;/P&gt;&lt;P&gt;floor( 3.88 , 5 ) returns 0&lt;/P&gt;&lt;P&gt;floor( 1.1 , 1 , 0.5 ) returns 0.5&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 30 Mar 2015 13:39:50 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/rounding-down-instead-of-up/m-p/819351#M288875</guid>
      <dc:creator>buzzy996</dc:creator>
      <dc:date>2015-03-30T13:39:50Z</dc:date>
    </item>
    <item>
      <title>Re: rounding down instead of up</title>
      <link>https://community.qlik.com/t5/QlikView/rounding-down-instead-of-up/m-p/819352#M288876</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;7.8500&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 30 Mar 2015 13:40:50 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/rounding-down-instead-of-up/m-p/819352#M288876</guid>
      <dc:creator />
      <dc:date>2015-03-30T13:40:50Z</dc:date>
    </item>
    <item>
      <title>Re: rounding down instead of up</title>
      <link>https://community.qlik.com/t5/QlikView/rounding-down-instead-of-up/m-p/819353#M288877</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;this could be quite an issue as we use averages a lot to score satisfaction. Is there not a general setting? and have others not come across this issue?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Chris&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 30 Mar 2015 13:43:27 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/rounding-down-instead-of-up/m-p/819353#M288877</guid>
      <dc:creator />
      <dc:date>2015-03-30T13:43:27Z</dc:date>
    </item>
    <item>
      <title>Re: rounding down instead of up</title>
      <link>https://community.qlik.com/t5/QlikView/rounding-down-instead-of-up/m-p/819354#M288878</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;use floor(feildname) this will do &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 30 Mar 2015 13:43:43 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/rounding-down-instead-of-up/m-p/819354#M288878</guid>
      <dc:creator>avinashelite</dc:creator>
      <dc:date>2015-03-30T13:43:43Z</dc:date>
    </item>
    <item>
      <title>Re: rounding down instead of up</title>
      <link>https://community.qlik.com/t5/QlikView/rounding-down-instead-of-up/m-p/819355#M288879</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;=round(7.85 * 10/10, 0.1)&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 7.9&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333330154419px;"&gt;=round(7.85, 0.1)&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 7.8&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 30 Mar 2015 13:45:39 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/rounding-down-instead-of-up/m-p/819355#M288879</guid>
      <dc:creator>maxgro</dc:creator>
      <dc:date>2015-03-30T13:45:39Z</dc:date>
    </item>
    <item>
      <title>Re: rounding down instead of up</title>
      <link>https://community.qlik.com/t5/QlikView/rounding-down-instead-of-up/m-p/819356#M288880</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;STRONG&gt;Chris&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This blog by &lt;A href="https://community.qlik.com/qlik-users/4003"&gt;hic&lt;/A&gt; explains the in &amp;amp; outs of rounding errors with binary floating point numbers:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &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;Regards,&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;STRONG&gt;Bill&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 30 Mar 2015 13:49:37 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/rounding-down-instead-of-up/m-p/819356#M288880</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-03-30T13:49:37Z</dc:date>
    </item>
    <item>
      <title>Re: rounding down instead of up</title>
      <link>https://community.qlik.com/t5/QlikView/rounding-down-instead-of-up/m-p/819357#M288881</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;current expression is&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Avg&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&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: #800000; font-size: 8pt;"&gt;[PI2. Overall satisfaction with this service area]&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;) &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;so does this become:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Floor(Avg&lt;SPAN style="font-size: 8pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;[PI2. Overall satisfaction with this service area]&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;))&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 30 Mar 2015 13:52:06 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/rounding-down-instead-of-up/m-p/819357#M288881</guid>
      <dc:creator />
      <dc:date>2015-03-30T13:52:06Z</dc:date>
    </item>
    <item>
      <title>Re: rounding down instead of up</title>
      <link>https://community.qlik.com/t5/QlikView/rounding-down-instead-of-up/m-p/819358#M288882</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Bill,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for this but I will have to be honest and say I dont fully understand it.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For the issue I'm having we have&amp;nbsp; question which our customers rate us on from 1-10. The 20 records we have bring an average of 7.85 when you selct the data in excel. I dont understand why in Qlikview when we have the same calcuation &lt;SPAN style="font-size: 8pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;[PI2. Overall satisfaction with this service area]&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;) &lt;/SPAN&gt; it produces a result of 7.8 when 1 decimal but more crucially how we get solve it both in this instance and how we can avoid in the future?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Chris&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 30 Mar 2015 13:59:51 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/rounding-down-instead-of-up/m-p/819358#M288882</guid>
      <dc:creator />
      <dc:date>2015-03-30T13:59:51Z</dc:date>
    </item>
    <item>
      <title>Re: rounding down instead of up</title>
      <link>https://community.qlik.com/t5/QlikView/rounding-down-instead-of-up/m-p/819359#M288883</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;STRONG&gt;Chris&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Have a look at this thread.&amp;nbsp; The "solution" is a bit of a frig but works.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.qlik.com/thread/124080"&gt;Round() function giving sometimes incorrect results&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&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;Regards,&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;STRONG style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Bill&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 30 Mar 2015 14:14:12 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/rounding-down-instead-of-up/m-p/819359#M288883</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-03-30T14:14:12Z</dc:date>
    </item>
    <item>
      <title>Re: rounding down instead of up</title>
      <link>https://community.qlik.com/t5/QlikView/rounding-down-instead-of-up/m-p/819360#M288884</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;no, floor will always round down, (or ceil will always round up) which appears to answer the title question, but not the problem.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I think something like Massimo has said, multiplying by 10,100&amp;nbsp; or whatever to give the required degree of accuracy then dividing to display with correct places of decimal is a good option.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 30 Mar 2015 14:16:29 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/rounding-down-instead-of-up/m-p/819360#M288884</guid>
      <dc:creator>tcullinane</dc:creator>
      <dc:date>2015-03-30T14:16:29Z</dc:date>
    </item>
  </channel>
</rss>

