<?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: Round Off the number 0.1500 to 0.2 in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Round-Off-the-number-0-1500-to-0-2/m-p/1286136#M860857</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Ceil function would round off all values.&lt;/P&gt;&lt;P&gt;for ex I don't want 0.14 to get round off to 0.2.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 23 Jan 2017 05:33:10 GMT</pubDate>
    <dc:creator />
    <dc:date>2017-01-23T05:33:10Z</dc:date>
    <item>
      <title>Round Off the number 0.1500 to 0.2</title>
      <link>https://community.qlik.com/t5/QlikView/Round-Off-the-number-0-1500-to-0-2/m-p/1286129#M860846</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;We have requirement to round off the value to 1 decimal places in chart.&lt;/P&gt;&lt;P&gt;Qlikview is not rounding off the number, if digit at first decimal place is odd and there are only zeros after second decimal place.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;PFB the sample data.&lt;/P&gt;&lt;P&gt;&lt;IMG __jive_id="150199" class="jive-image image-3" src="https://community.qlik.com/legacyfs/online/150199_pastedImage_3.png" style="max-height: 900px; max-width: 1200px;" /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;IMG __jive_id="150198" class="jive-image image-2" src="https://community.qlik.com/legacyfs/online/150198_pastedImage_2.png" style="max-height: 900px; max-width: 1200px;" /&gt;&lt;/P&gt;&lt;P&gt;I want to round off the number : 0.1500 to 0.2 only&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is there any way I can achieve this?&lt;/P&gt;&lt;P&gt;Thanks in advance.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 25 Nov 2020 16:16:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Round-Off-the-number-0-1500-to-0-2/m-p/1286129#M860846</guid>
      <dc:creator />
      <dc:date>2020-11-25T16:16:04Z</dc:date>
    </item>
    <item>
      <title>Re: Round Off the number 0.1500 to 0.2</title>
      <link>https://community.qlik.com/t5/QlikView/Round-Off-the-number-0-1500-to-0-2/m-p/1286130#M860847</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;This is because of &lt;A href="https://community.qlik.com/qlik-blogpost/3471"&gt;Rounding Errors&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 20 Jan 2017 16:28:59 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Round-Off-the-number-0-1500-to-0-2/m-p/1286130#M860847</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2017-01-20T16:28:59Z</dc:date>
    </item>
    <item>
      <title>Re: Round Off the number 0.1500 to 0.2</title>
      <link>https://community.qlik.com/t5/QlikView/Round-Off-the-number-0-1500-to-0-2/m-p/1286131#M860848</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;It's hard to tell without seeing the data or your round expressions, but I suspect the 0.1500 data point is actually something like 0.149999.&amp;nbsp; &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 20 Jan 2017 16:31:34 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Round-Off-the-number-0-1500-to-0-2/m-p/1286131#M860848</guid>
      <dc:creator>m_woolf</dc:creator>
      <dc:date>2017-01-20T16:31:34Z</dc:date>
    </item>
    <item>
      <title>Re: Round Off the number 0.1500 to 0.2</title>
      <link>https://community.qlik.com/t5/QlikView/Round-Off-the-number-0-1500-to-0-2/m-p/1286132#M860849</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I guess you can use &lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;Ceil&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(0.350,0.05).&amp;nbsp; in you case Ceil(A4,0.05). you should be able to control the number decimal point from the chart.&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 20 Jan 2017 16:39:00 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Round-Off-the-number-0-1500-to-0-2/m-p/1286132#M860849</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-01-20T16:39:00Z</dc:date>
    </item>
    <item>
      <title>Re: Round Off the number 0.1500 to 0.2</title>
      <link>https://community.qlik.com/t5/QlikView/Round-Off-the-number-0-1500-to-0-2/m-p/1286133#M860850</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;as mw indicated, it's probably because the underlying numbers are something like 0.1499999.&amp;nbsp; When you format it with 3 decimal places, Qlik rounds it to 0.150.&amp;nbsp; If you want to round using 3 decimal precision, round it twice like this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;round(round(Value,.001))&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-Rob&lt;/P&gt;&lt;P&gt;&lt;A class="jive-link-external-small" href="http://masterssummit.com" rel="nofollow" target="_blank"&gt;http://masterssummit.com&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A class="jive-link-external-small" href="http://qlikviewcookbook.com" rel="nofollow" target="_blank"&gt;http://qlikviewcookbook.com&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 20 Jan 2017 17:33:51 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Round-Off-the-number-0-1500-to-0-2/m-p/1286133#M860850</guid>
      <dc:creator>rwunderlich</dc:creator>
      <dc:date>2017-01-20T17:33:51Z</dc:date>
    </item>
    <item>
      <title>Re: Round Off the number 0.1500 to 0.2</title>
      <link>https://community.qlik.com/t5/QlikView/Round-Off-the-number-0-1500-to-0-2/m-p/1286134#M860854</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;That's a smart way to handle the issue. Thanks for proposing this Rob &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 21 Jan 2017 15:27:02 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Round-Off-the-number-0-1500-to-0-2/m-p/1286134#M860854</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2017-01-21T15:27:02Z</dc:date>
    </item>
    <item>
      <title>Re: Round Off the number 0.1500 to 0.2</title>
      <link>https://community.qlik.com/t5/QlikView/Round-Off-the-number-0-1500-to-0-2/m-p/1286135#M860856</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Rob,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;PFA the sample data.&lt;/P&gt;&lt;P&gt;Original data is 0.1500 only and I want to get it round off to 1 decimal place only.&lt;/P&gt;&lt;P&gt;Can you take a look.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 23 Jan 2017 05:30:07 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Round-Off-the-number-0-1500-to-0-2/m-p/1286135#M860856</guid>
      <dc:creator />
      <dc:date>2017-01-23T05:30:07Z</dc:date>
    </item>
    <item>
      <title>Re: Round Off the number 0.1500 to 0.2</title>
      <link>https://community.qlik.com/t5/QlikView/Round-Off-the-number-0-1500-to-0-2/m-p/1286136#M860857</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Ceil function would round off all values.&lt;/P&gt;&lt;P&gt;for ex I don't want 0.14 to get round off to 0.2.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 23 Jan 2017 05:33:10 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Round-Off-the-number-0-1500-to-0-2/m-p/1286136#M860857</guid>
      <dc:creator />
      <dc:date>2017-01-23T05:33:10Z</dc:date>
    </item>
    <item>
      <title>Re: Round Off the number 0.1500 to 0.2</title>
      <link>https://community.qlik.com/t5/QlikView/Round-Off-the-number-0-1500-to-0-2/m-p/1286137#M860858</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Could you explain why you would nest round() functions and not do it in just 1 time use of the round() function?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 23 Jan 2017 09:42:17 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Round-Off-the-number-0-1500-to-0-2/m-p/1286137#M860858</guid>
      <dc:creator>oknotsen</dc:creator>
      <dc:date>2017-01-23T09:42:17Z</dc:date>
    </item>
    <item>
      <title>Re: Round Off the number 0.1500 to 0.2</title>
      <link>https://community.qlik.com/t5/QlikView/Round-Off-the-number-0-1500-to-0-2/m-p/1286138#M860859</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Onno,&lt;/P&gt;&lt;P&gt;It's an edge case, but the reasoning is this. Suppose you have the value 1.149999. If you display that value in a chart with a&amp;nbsp; format of 3 decimal places, QV will round it to 1.500. If in the same chart or another context, you use the function round(Value,1) (or an integer number format), the displayed value will be 1, which may be unexpected when the user saw the number previously as 1.5.&amp;nbsp; So my "double round" suggestion was a way to introduce the consistency the OP was asking for.&amp;nbsp; I wouldn't consider it a normal practice. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-Rob&lt;/P&gt;&lt;P&gt;&lt;A class="jive-link-external-small" href="http://masterssummit.com" rel="nofollow" target="_blank"&gt;http://masterssummit.com&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A class="jive-link-external-small" href="http://qlikviewcookbook.com" rel="nofollow" target="_blank"&gt;http://qlikviewcookbook.com&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 23 Jan 2017 12:16:08 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Round-Off-the-number-0-1500-to-0-2/m-p/1286138#M860859</guid>
      <dc:creator>rwunderlich</dc:creator>
      <dc:date>2017-01-23T12:16:08Z</dc:date>
    </item>
    <item>
      <title>Re: Round Off the number 0.1500 to 0.2</title>
      <link>https://community.qlik.com/t5/QlikView/Round-Off-the-number-0-1500-to-0-2/m-p/1286139#M860860</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you, Rob.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 23 Jan 2017 12:20:25 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Round-Off-the-number-0-1500-to-0-2/m-p/1286139#M860860</guid>
      <dc:creator>oknotsen</dc:creator>
      <dc:date>2017-01-23T12:20:25Z</dc:date>
    </item>
    <item>
      <title>Re: Round Off the number 0.1500 to 0.2</title>
      <link>https://community.qlik.com/t5/QlikView/Round-Off-the-number-0-1500-to-0-2/m-p/1286140#M860861</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;In your case, the problem is &lt;A href="https://community.qlik.com/qlik-blogpost/3471"&gt;Rounding Errors&lt;/A&gt; as suggested by Sunny.&amp;nbsp; A workaround would to add a small increment to the number. eg&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;sum(A4)+.00000001&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-Rob&lt;/P&gt;&lt;P&gt;&lt;A class="jive-link-external-small" href="http://masterssummit.com" rel="nofollow" target="_blank"&gt;http://masterssummit.com&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A class="jive-link-external-small" href="http://qlikviewcookbook.com" rel="nofollow" target="_blank"&gt;http://qlikviewcookbook.com&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 23 Jan 2017 12:49:44 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Round-Off-the-number-0-1500-to-0-2/m-p/1286140#M860861</guid>
      <dc:creator>rwunderlich</dc:creator>
      <dc:date>2017-01-23T12:49:44Z</dc:date>
    </item>
    <item>
      <title>Re: Round Off the number 0.1500 to 0.2</title>
      <link>https://community.qlik.com/t5/QlikView/Round-Off-the-number-0-1500-to-0-2/m-p/1286141#M860862</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;This will help, Thanks.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 24 Jan 2017 05:16:59 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Round-Off-the-number-0-1500-to-0-2/m-p/1286141#M860862</guid>
      <dc:creator />
      <dc:date>2017-01-24T05:16:59Z</dc:date>
    </item>
    <item>
      <title>Re: Round Off the number 0.1500 to 0.2</title>
      <link>https://community.qlik.com/t5/QlikView/Round-Off-the-number-0-1500-to-0-2/m-p/1286142#M860863</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;Below solution is also working out for all scenarios, but I am unable to deduce the exact functionality of offset and step here. Can anyone help me on that.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;round(num#(0.1100),0.1,0.5) gives 0.1&lt;/P&gt;&lt;P&gt;round(num#(0.1400),0.1,0.5) gives 0.1&lt;/P&gt;&lt;P&gt;round(num#(0.1500),0.1,0.5) gives 0.2&lt;/P&gt;&lt;P&gt;round(num#(0.1600),0.1,0.5) gives 0.2&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Richa&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 31 Jan 2017 05:33:32 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Round-Off-the-number-0-1500-to-0-2/m-p/1286142#M860863</guid>
      <dc:creator />
      <dc:date>2017-01-31T05:33:32Z</dc:date>
    </item>
  </channel>
</rss>

