<?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 Duration Calculation in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Average-Duration-Calculation/m-p/52400#M787036</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;bhavani&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;can share sample data with desirable output &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;meanwhile try this&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;avg(Interval(&lt;/SPAN&gt;&lt;SPAN style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;END_TIME-&lt;SPAN style="font-weight: inherit; font-style: inherit; font-family: inherit;"&gt;START_TIME ,'hh:mm'))/rowno()&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-size: 13px; font-style: inherit; font-family: inherit; font-weight: inherit;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-size: 13px; font-style: inherit; font-family: inherit; font-weight: inherit;"&gt;this expression will you avg with respect to &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;Job Name if one job name have many start and end dates.&lt;/SPAN&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;raman&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 20 Feb 2018 08:01:54 GMT</pubDate>
    <dc:creator>raman_rastogi</dc:creator>
    <dc:date>2018-02-20T08:01:54Z</dc:date>
    <item>
      <title>Average Duration Calculation</title>
      <link>https://community.qlik.com/t5/QlikView/Average-Duration-Calculation/m-p/52395#M787031</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Experts,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can any one please help me on below requirement.&lt;/P&gt;&lt;P&gt;From the START_TIME and END_TIME fields I have calculated Duration like&lt;/P&gt;&lt;P&gt;Interval(&lt;SPAN style="font-size: 13.3333px;"&gt;END_TIME-&lt;SPAN style="font-size: 13.3333px;"&gt;START_TIME ,'hh:mm'&lt;/SPAN&gt;&lt;/SPAN&gt;)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;How to calculate Average Duration from &lt;SPAN style="font-size: 13.3333px;"&gt;START_TIME and &lt;SPAN style="font-size: 13.3333px;"&gt;END_TIME.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;I have tried like &lt;SPAN style="font-size: 13.3333px;"&gt;Interval(Avg(&lt;/SPAN&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;END_TIME-&lt;SPAN style="font-size: 13.3333px;"&gt;START_TIME) ,'hh:mm'&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;) but getting same as Duration Time.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;Please help me on this.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in advance.&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-Duration-Calculation/m-p/52395#M787031</guid>
      <dc:creator>bhavvibudagam</dc:creator>
      <dc:date>2020-11-25T16:16:04Z</dc:date>
    </item>
    <item>
      <title>Re: Average Duration Calculation</title>
      <link>https://community.qlik.com/t5/QlikView/Average-Duration-Calculation/m-p/52396#M787032</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;Try &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;AVG(Interval(&lt;/SPAN&gt;&lt;SPAN style="font-size: 13.3333px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;END_TIME-&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 13.3333px; font-family: inherit;"&gt;START_TIME ,'hh:mm'))&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 20 Feb 2018 05:43:51 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Average-Duration-Calculation/m-p/52396#M787032</guid>
      <dc:creator>shiveshsingh</dc:creator>
      <dc:date>2018-02-20T05:43:51Z</dc:date>
    </item>
    <item>
      <title>Re: Average Duration Calculation</title>
      <link>https://community.qlik.com/t5/QlikView/Average-Duration-Calculation/m-p/52397#M787033</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi bhavani&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;for single line record you will get avg (interval) same as your normal interval , avg values are calculate based on total number of records. &lt;/P&gt;&lt;P&gt;ex- avg(interval)= interval/ total rows&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;by using &lt;SPAN style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;AVG(Interval(&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;END_TIME-&lt;SPAN style="font-weight: inherit; font-style: inherit; font-family: inherit;"&gt;START_TIME ,'hh:mm')) you can get avg value at your total field. &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-style: inherit; font-family: inherit; font-weight: inherit;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-style: inherit; font-family: inherit; font-weight: inherit;"&gt;&amp;nbsp; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;Raman &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 20 Feb 2018 06:48:10 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Average-Duration-Calculation/m-p/52397#M787033</guid>
      <dc:creator>raman_rastogi</dc:creator>
      <dc:date>2018-02-20T06:48:10Z</dc:date>
    </item>
    <item>
      <title>Re: Average Duration Calculation</title>
      <link>https://community.qlik.com/t5/QlikView/Average-Duration-Calculation/m-p/52398#M787034</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Can you share sample data?&lt;/P&gt;&lt;P&gt;or inline data?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 20 Feb 2018 06:51:06 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Average-Duration-Calculation/m-p/52398#M787034</guid>
      <dc:creator>shiveshsingh</dc:creator>
      <dc:date>2018-02-20T06:51:06Z</dc:date>
    </item>
    <item>
      <title>Re: Average Duration Calculation</title>
      <link>https://community.qlik.com/t5/QlikView/Average-Duration-Calculation/m-p/52399#M787035</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Raman,&lt;/P&gt;&lt;P&gt;Thanks for your reply.&lt;/P&gt;&lt;P&gt;Suppose i want to see the avg duration of jobs run in my data base using start time and end time how to calulate the avg duration.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My dimension is Job Name. for avg duration &lt;SPAN style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Interval(&lt;/SPAN&gt;&lt;SPAN style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;END_TIME-&lt;SPAN style="font-weight: inherit; font-style: inherit; font-family: inherit;"&gt;START_TIME ,'hh:mm')/&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;&lt;STRONG style="color: #ff0000;"&gt;total rows &lt;SPAN style="color: #000000;"&gt;how to consider&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-style: inherit; font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-weight: inherit;"&gt;&lt;STRONG style=": ; color: #000000;"&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-style: inherit; font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-weight: inherit;"&gt;&lt;STRONG style=": ; color: #000000;"&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 20 Feb 2018 07:05:45 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Average-Duration-Calculation/m-p/52399#M787035</guid>
      <dc:creator>bhavvibudagam</dc:creator>
      <dc:date>2018-02-20T07:05:45Z</dc:date>
    </item>
    <item>
      <title>Re: Average Duration Calculation</title>
      <link>https://community.qlik.com/t5/QlikView/Average-Duration-Calculation/m-p/52400#M787036</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;bhavani&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;can share sample data with desirable output &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;meanwhile try this&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;avg(Interval(&lt;/SPAN&gt;&lt;SPAN style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;END_TIME-&lt;SPAN style="font-weight: inherit; font-style: inherit; font-family: inherit;"&gt;START_TIME ,'hh:mm'))/rowno()&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-size: 13px; font-style: inherit; font-family: inherit; font-weight: inherit;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-size: 13px; font-style: inherit; font-family: inherit; font-weight: inherit;"&gt;this expression will you avg with respect to &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;Job Name if one job name have many start and end dates.&lt;/SPAN&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;raman&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 20 Feb 2018 08:01:54 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Average-Duration-Calculation/m-p/52400#M787036</guid>
      <dc:creator>raman_rastogi</dc:creator>
      <dc:date>2018-02-20T08:01:54Z</dc:date>
    </item>
  </channel>
</rss>

