<?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: average assignment time in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/average-assignment-time/m-p/1197724#M878087</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi tripati, in that excel the dates are in different rows. a subtraction like number-null() or null()-number will return null.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;To make it work both dates should be in the same row, maybe with a group by some of the columns helps in grouping the dates in one row, ie:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;TimeDifferences:&lt;/P&gt;&lt;P&gt;LOAD [Ticket No],&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Min([Creation timeDMS]) as [Creation timeDMS2],&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN style="font-size: 13.3333px;"&gt;Min([Creation timeIMS]) as [Creation timeIMS2]&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;Interval([Creation timeIMS]-[Creation timeDMS],'hh:mm:ss') as [Difference time]&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;Resident yourTable;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 27 Oct 2016 13:55:11 GMT</pubDate>
    <dc:creator>rubenmarin</dc:creator>
    <dc:date>2016-10-27T13:55:11Z</dc:date>
    <item>
      <title>average assignment time</title>
      <link>https://community.qlik.com/t5/QlikView/average-assignment-time/m-p/1197722#M878085</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;I want to calculate average assignment time.&lt;/P&gt;&lt;P&gt;I have written the following expression but it is not working for me to calculate average.&lt;/P&gt;&lt;P&gt;=avg(Interval([Creation timeIMS]-[Creation timeDMS],'hh:mm:ss'))&lt;/P&gt;&lt;P&gt;I have attached the sample source file for this.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please help me to findout.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Triapti&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/average-assignment-time/m-p/1197722#M878085</guid>
      <dc:creator>tripatirao</dc:creator>
      <dc:date>2020-11-25T16:16:04Z</dc:date>
    </item>
    <item>
      <title>Re: average assignment time</title>
      <link>https://community.qlik.com/t5/QlikView/average-assignment-time/m-p/1197723#M878086</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Double check that the timestamp values are interpreted as numbers, e.g. by setting the default format:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SET TimestampFormat = 'DD-MM-YYYY hh:mm:ss';&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.qlik.com/qlik-blogpost/2954"&gt;Why don’t my dates work?&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Then,&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;=Interval(Avg([Creation timeIMS]-[Creation timeDMS]),'hh:mm:ss')&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;edit:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;Your records show either one of the creation times, so above calculation will only work if Only(&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;[Creation timeIMS]) and Only(&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;[Creation timeDMS]) return both values in two expressions for the scope you are evaluating.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;But then averaging would be meaningless. &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;I think you need to transform your data so that the timestamps are accessible single records scope.&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 27 Oct 2016 13:50:06 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/average-assignment-time/m-p/1197723#M878086</guid>
      <dc:creator>swuehl</dc:creator>
      <dc:date>2016-10-27T13:50:06Z</dc:date>
    </item>
    <item>
      <title>Re: average assignment time</title>
      <link>https://community.qlik.com/t5/QlikView/average-assignment-time/m-p/1197724#M878087</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi tripati, in that excel the dates are in different rows. a subtraction like number-null() or null()-number will return null.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;To make it work both dates should be in the same row, maybe with a group by some of the columns helps in grouping the dates in one row, ie:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;TimeDifferences:&lt;/P&gt;&lt;P&gt;LOAD [Ticket No],&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Min([Creation timeDMS]) as [Creation timeDMS2],&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN style="font-size: 13.3333px;"&gt;Min([Creation timeIMS]) as [Creation timeIMS2]&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;Interval([Creation timeIMS]-[Creation timeDMS],'hh:mm:ss') as [Difference time]&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;Resident yourTable;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 27 Oct 2016 13:55:11 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/average-assignment-time/m-p/1197724#M878087</guid>
      <dc:creator>rubenmarin</dc:creator>
      <dc:date>2016-10-27T13:55:11Z</dc:date>
    </item>
  </channel>
</rss>

