<?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: Handling negative time in average calculations in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Handling-negative-time-in-average-calculations/m-p/1645505#M731198</link>
    <description>&lt;P&gt;Not entirely sure I understand, but seems like you need Interval() function instead of Time()&lt;/P&gt;</description>
    <pubDate>Mon, 11 Nov 2019 16:55:46 GMT</pubDate>
    <dc:creator>sunny_talwar</dc:creator>
    <dc:date>2019-11-11T16:55:46Z</dc:date>
    <item>
      <title>Handling negative time in average calculations</title>
      <link>https://community.qlik.com/t5/QlikView/Handling-negative-time-in-average-calculations/m-p/1645466#M731197</link>
      <description>&lt;P&gt;Hi,&amp;nbsp;&lt;/P&gt;&lt;P&gt;I've got a quick question regarding how QlikView handles negative values for time.&lt;/P&gt;&lt;P&gt;I've got a straight table and if i ask it to simply average the time there is a late or early finish (early finishes display a negative time whilst late finishes show a positive time) it shows the time as 23:38:38 where as its actually -00:21:21&lt;/P&gt;&lt;P&gt;It calculate the median average fine (displaying -00:06:00).&lt;/P&gt;&lt;P&gt;In the Number formatting section I picked 'Time' for the average whilst for the median i just left it as Expression Default, however if i pick Expression Default for average then it shows it as a -014830247 which is the decimal version of the correct -00:21:21&lt;/P&gt;&lt;P&gt;Can anyone help?&lt;/P&gt;</description>
      <pubDate>Wed, 25 Nov 2020 16:16:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Handling-negative-time-in-average-calculations/m-p/1645466#M731197</guid>
      <dc:creator>peterderrington</dc:creator>
      <dc:date>2020-11-25T16:16:04Z</dc:date>
    </item>
    <item>
      <title>Re: Handling negative time in average calculations</title>
      <link>https://community.qlik.com/t5/QlikView/Handling-negative-time-in-average-calculations/m-p/1645505#M731198</link>
      <description>&lt;P&gt;Not entirely sure I understand, but seems like you need Interval() function instead of Time()&lt;/P&gt;</description>
      <pubDate>Mon, 11 Nov 2019 16:55:46 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Handling-negative-time-in-average-calculations/m-p/1645505#M731198</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2019-11-11T16:55:46Z</dc:date>
    </item>
    <item>
      <title>Re: Handling negative time in average calculations</title>
      <link>https://community.qlik.com/t5/QlikView/Handling-negative-time-in-average-calculations/m-p/1645507#M731199</link>
      <description>&lt;P&gt;Perfect - that's exactly what it was - Thank you!&lt;/P&gt;</description>
      <pubDate>Mon, 11 Nov 2019 16:57:57 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Handling-negative-time-in-average-calculations/m-p/1645507#M731199</guid>
      <dc:creator>peterderrington</dc:creator>
      <dc:date>2019-11-11T16:57:57Z</dc:date>
    </item>
  </channel>
</rss>

