<?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 Rounding durations in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Rounding-durations/m-p/1222957#M390786</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;I have an expression for rounding durations, with a variable for the rounding step:&lt;/P&gt;&lt;P&gt;Interval(Round(ParkingDuration,(1/$(vDurationFrac))),'hh:mm'))&lt;/P&gt;&lt;P&gt;vDurationFrac can be 24,48,96&amp;nbsp; (for 15,30,60 minutes).&lt;/P&gt;&lt;P&gt;When selecting fractions of 30 minutes, it's not clear how the rounding is done.&lt;/P&gt;&lt;P&gt;For example, duration range from 1:45 to 2:14 hours are rounded to 2:00 hours.&lt;/P&gt;&lt;P&gt;There are values 1:44 or 2:15 which are not taken into account.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can someone clarify please?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sun, 19 Feb 2017 18:47:38 GMT</pubDate>
    <dc:creator>dafnis14</dc:creator>
    <dc:date>2017-02-19T18:47:38Z</dc:date>
    <item>
      <title>Rounding durations</title>
      <link>https://community.qlik.com/t5/QlikView/Rounding-durations/m-p/1222957#M390786</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;I have an expression for rounding durations, with a variable for the rounding step:&lt;/P&gt;&lt;P&gt;Interval(Round(ParkingDuration,(1/$(vDurationFrac))),'hh:mm'))&lt;/P&gt;&lt;P&gt;vDurationFrac can be 24,48,96&amp;nbsp; (for 15,30,60 minutes).&lt;/P&gt;&lt;P&gt;When selecting fractions of 30 minutes, it's not clear how the rounding is done.&lt;/P&gt;&lt;P&gt;For example, duration range from 1:45 to 2:14 hours are rounded to 2:00 hours.&lt;/P&gt;&lt;P&gt;There are values 1:44 or 2:15 which are not taken into account.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can someone clarify please?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 19 Feb 2017 18:47:38 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Rounding-durations/m-p/1222957#M390786</guid>
      <dc:creator>dafnis14</dc:creator>
      <dc:date>2017-02-19T18:47:38Z</dc:date>
    </item>
    <item>
      <title>Re: Rounding durations</title>
      <link>https://community.qlik.com/t5/QlikView/Rounding-durations/m-p/1222958#M390787</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I guess I figured it ..&lt;/P&gt;&lt;P&gt;according to Round Help:&lt;/P&gt;&lt;P&gt;"... If &lt;SPAN class="Italic"&gt;x&lt;/SPAN&gt; is exactly in the middle of an interval, it is rounded upwards..."&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 19 Feb 2017 19:12:30 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Rounding-durations/m-p/1222958#M390787</guid>
      <dc:creator>dafnis14</dc:creator>
      <dc:date>2017-02-19T19:12:30Z</dc:date>
    </item>
    <item>
      <title>Re: Rounding durations</title>
      <link>https://community.qlik.com/t5/QlikView/Rounding-durations/m-p/1222959#M390788</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;please post some sample data with expected output&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 19 Feb 2017 19:26:02 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Rounding-durations/m-p/1222959#M390788</guid>
      <dc:creator>vinieme12</dc:creator>
      <dc:date>2017-02-19T19:26:02Z</dc:date>
    </item>
  </channel>
</rss>

