<?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: Need help on Ceil function in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Need-help-on-Ceil-function/m-p/1147335#M375290</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;In 1) you are asking ceil to round up to the nearest multiple of 0.1, which is 3.9&lt;/P&gt;&lt;P&gt;0.0, 0.1, 0.2, 0.3, 0.4, etc&lt;/P&gt;&lt;P&gt;In 2) you are asking ceil to round up to the nearest multiple of 5, which is 5&lt;/P&gt;&lt;P&gt;0, 5, 10, 15, 20, etc&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #ff0000;"&gt;Edit:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;I had read your function wrong for option 3 (so removed that part of my reply). I am correctly corrected by the reply underneath this one.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sun, 19 Jun 2016 09:56:16 GMT</pubDate>
    <dc:creator>oknotsen</dc:creator>
    <dc:date>2016-06-19T09:56:16Z</dc:date>
    <item>
      <title>Need help on Ceil function</title>
      <link>https://community.qlik.com/t5/QlikView/Need-help-on-Ceil-function/m-p/1147334#M375289</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Can someone please explain the parameters &lt;STRONG&gt;base and offset&lt;/STRONG&gt; in the Ceil function with an example. Please do not copy paste the explanation from the help manual as I did not understand from that?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1. ceil( 3.88 , 0.1 ) returns 3.9&lt;/P&gt;&lt;P&gt;2. ceil( 3.88 , 5 ) returns 5&lt;/P&gt;&lt;P&gt;3. ceil( 1.1 , 1 , 0.5 ) returns 1.5&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;How qlikview produces the result in above three scenarios?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in advance for your help.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 19 Jun 2016 01:24:03 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Need-help-on-Ceil-function/m-p/1147334#M375289</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2016-06-19T01:24:03Z</dc:date>
    </item>
    <item>
      <title>Re: Need help on Ceil function</title>
      <link>https://community.qlik.com/t5/QlikView/Need-help-on-Ceil-function/m-p/1147335#M375290</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;In 1) you are asking ceil to round up to the nearest multiple of 0.1, which is 3.9&lt;/P&gt;&lt;P&gt;0.0, 0.1, 0.2, 0.3, 0.4, etc&lt;/P&gt;&lt;P&gt;In 2) you are asking ceil to round up to the nearest multiple of 5, which is 5&lt;/P&gt;&lt;P&gt;0, 5, 10, 15, 20, etc&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #ff0000;"&gt;Edit:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;I had read your function wrong for option 3 (so removed that part of my reply). I am correctly corrected by the reply underneath this one.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 19 Jun 2016 09:56:16 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Need-help-on-Ceil-function/m-p/1147335#M375290</guid>
      <dc:creator>oknotsen</dc:creator>
      <dc:date>2016-06-19T09:56:16Z</dc:date>
    </item>
    <item>
      <title>Re: Need help on Ceil function</title>
      <link>https://community.qlik.com/t5/QlikView/Need-help-on-Ceil-function/m-p/1147336#M375291</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN class="statement" data-mc-conditions="Primary.NotToTranslate" style="font-weight: bold; color: #0f0f0f; font-family: 'Open Sans', Arial, sans-serif; font-size: 14px;"&gt;Ceil()&lt;/SPAN&gt;&lt;SPAN style="color: #0f0f0f; font-family: 'Open Sans', Arial, sans-serif; font-size: 14px;"&gt; rounds &lt;/SPAN&gt;&lt;SPAN class="statement" data-mc-conditions="Primary.NotToTranslate" style="font-weight: bold; color: #0f0f0f; font-family: 'Open Sans', Arial, sans-serif; font-size: 14px;"&gt;x&lt;/SPAN&gt;&lt;SPAN style="color: #0f0f0f; font-family: 'Open Sans', Arial, sans-serif; font-size: 14px;"&gt; up to the nearest multiple of &lt;/SPAN&gt;&lt;SPAN class="statement" data-mc-conditions="Primary.NotToTranslate" style="font-weight: bold; color: #0f0f0f; font-family: 'Open Sans', Arial, sans-serif; font-size: 14px;"&gt;step&lt;/SPAN&gt;&lt;SPAN style="color: #0f0f0f; font-family: 'Open Sans', Arial, sans-serif; font-size: 14px;"&gt; [+ &lt;/SPAN&gt;&lt;SPAN class="statement" data-mc-conditions="Primary.NotToTranslate" style="font-weight: bold; color: #0f0f0f; font-family: 'Open Sans', Arial, sans-serif; font-size: 14px;"&gt;offset&lt;/SPAN&gt;&lt;SPAN style="color: #0f0f0f; font-family: 'Open Sans', Arial, sans-serif; font-size: 14px;"&gt;]&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hence in case 3), it's rounded up to the nearest value of 0.5, 1.5, 2.5, 3.5 ...&lt;/P&gt;&lt;P&gt;For the value of 1.1, the result is thus 1.5.&lt;/P&gt;&lt;P&gt;Same for any value &amp;gt;0.5 and &amp;lt;=1.5&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 19 Jun 2016 10:09:07 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Need-help-on-Ceil-function/m-p/1147336#M375291</guid>
      <dc:creator>swuehl</dc:creator>
      <dc:date>2016-06-19T10:09:07Z</dc:date>
    </item>
    <item>
      <title>Re: Need help on Ceil function</title>
      <link>https://community.qlik.com/t5/QlikView/Need-help-on-Ceil-function/m-p/1147337#M375292</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I undrestand now.Thanks all for your reply&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 21 Jun 2016 02:18:14 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Need-help-on-Ceil-function/m-p/1147337#M375292</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2016-06-21T02:18:14Z</dc:date>
    </item>
  </channel>
</rss>

