<?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: ceil and floor functions in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/ceil-and-floor-functions/m-p/527669#M197189</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Vishal, &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Ceil function will round up a number. Ex: ceil(3.4) will return 4.&lt;/P&gt;&lt;P&gt;Floor will round down a number. Ex: floor(3.4) will return 3.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I use this when working with timestamps with hour and minutes values. Behind each date there's a number associated. Those dates with time, will have a decimal value (56321,23) where 23 represents the time and minutes (this is a random example!).&lt;/P&gt;&lt;P&gt;When in your model you don't need to use the hour, you can use ceil(Date) so your dates will always be DD/MM/YYYY 00:00:00 instead of DD/MM/YYYY 10:36:00.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This can also be used to format values. If you are working with big amounts, it might not tell you much to show the decimal. Instead of showing $26.354.201,31, you can use the ceil or floor function and round up/down the number, or using the format in the Number tab for the charts.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I hope this helps.&lt;/P&gt;&lt;P&gt;J&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 08 Oct 2013 14:59:00 GMT</pubDate>
    <dc:creator>jvitantonio</dc:creator>
    <dc:date>2013-10-08T14:59:00Z</dc:date>
    <item>
      <title>ceil and floor functions</title>
      <link>https://community.qlik.com/t5/QlikView/ceil-and-floor-functions/m-p/527668#M197188</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello community,&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;What is the application of ceil and floor function?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Have any of you used it in a real time scenario?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Kindly reply as none of my questions have ever been answered on the community.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Vishal&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 08 Oct 2013 14:50:41 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/ceil-and-floor-functions/m-p/527668#M197188</guid>
      <dc:creator />
      <dc:date>2013-10-08T14:50:41Z</dc:date>
    </item>
    <item>
      <title>Re: ceil and floor functions</title>
      <link>https://community.qlik.com/t5/QlikView/ceil-and-floor-functions/m-p/527669#M197189</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Vishal, &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Ceil function will round up a number. Ex: ceil(3.4) will return 4.&lt;/P&gt;&lt;P&gt;Floor will round down a number. Ex: floor(3.4) will return 3.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I use this when working with timestamps with hour and minutes values. Behind each date there's a number associated. Those dates with time, will have a decimal value (56321,23) where 23 represents the time and minutes (this is a random example!).&lt;/P&gt;&lt;P&gt;When in your model you don't need to use the hour, you can use ceil(Date) so your dates will always be DD/MM/YYYY 00:00:00 instead of DD/MM/YYYY 10:36:00.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This can also be used to format values. If you are working with big amounts, it might not tell you much to show the decimal. Instead of showing $26.354.201,31, you can use the ceil or floor function and round up/down the number, or using the format in the Number tab for the charts.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I hope this helps.&lt;/P&gt;&lt;P&gt;J&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 08 Oct 2013 14:59:00 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/ceil-and-floor-functions/m-p/527669#M197189</guid>
      <dc:creator>jvitantonio</dc:creator>
      <dc:date>2013-10-08T14:59:00Z</dc:date>
    </item>
    <item>
      <title>Re: ceil and floor functions</title>
      <link>https://community.qlik.com/t5/QlikView/ceil-and-floor-functions/m-p/527670#M197190</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 08 Oct 2013 15:14:55 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/ceil-and-floor-functions/m-p/527670#M197190</guid>
      <dc:creator />
      <dc:date>2013-10-08T15:14:55Z</dc:date>
    </item>
    <item>
      <title>Re: ceil and floor functions</title>
      <link>https://community.qlik.com/t5/QlikView/ceil-and-floor-functions/m-p/527671#M197191</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I had to use ceil in an expression that calculates the amount of days worked based on the number of hours worked. Even if the employees worked half or a quarter of their norm, I had to consider the day as worked. &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 27 Dec 2017 08:41:17 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/ceil-and-floor-functions/m-p/527671#M197191</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-12-27T08:41:17Z</dc:date>
    </item>
  </channel>
</rss>

