<?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: Calculate between time stamps in App Development</title>
    <link>https://community.qlik.com/t5/App-Development/Calculate-between-time-stamps/m-p/1674431#M51176</link>
    <description>&lt;P&gt;Made a little change&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Sum(Aggr( Interval(Only({&amp;lt;Status_code = {1}&amp;gt;} [Machine Time]) - Above(Only({&amp;lt;Status_code = {4}&amp;gt;} [Machine Time])), 'hh:mm:ss') , [Machine PK]))&lt;/P&gt;&lt;P&gt;and then changed the status codes to get the difference times with each status&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;</description>
    <pubDate>Tue, 11 Feb 2020 14:36:13 GMT</pubDate>
    <dc:creator>Eaun</dc:creator>
    <dc:date>2020-02-11T14:36:13Z</dc:date>
    <item>
      <title>Calculate between time stamps</title>
      <link>https://community.qlik.com/t5/App-Development/Calculate-between-time-stamps/m-p/1674357#M51151</link>
      <description>&lt;P&gt;&lt;SPAN&gt;This sounded simple to start with I thought just use interval to give me the times but no. On the spreadsheet is the data I'm getting I need to calculate the time between status 4-1 that will give me the up-time and the time between status 1-4 will give the time stopped and the time between 2-4 will give the time in manual mode.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I've tried the above function but with no luck what would be the best way to do this or do i pass it back has its not possible with data in the format it is in ?&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 20 Dec 2021 21:38:40 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Calculate-between-time-stamps/m-p/1674357#M51151</guid>
      <dc:creator>Eaun</dc:creator>
      <dc:date>2021-12-20T21:38:40Z</dc:date>
    </item>
    <item>
      <title>Re: Calculate between time stamps</title>
      <link>https://community.qlik.com/t5/App-Development/Calculate-between-time-stamps/m-p/1674362#M51155</link>
      <description>&lt;P&gt;Are you looking to do this on the front end or back end of the app? If you tried above() in the back end, it wouldn't work because Above() is only available on the front end of the app (in a chart).&lt;/P&gt;&lt;P&gt;Also, if you did try it in a chart, what were your dimensions? What was your expression?&lt;/P&gt;</description>
      <pubDate>Tue, 11 Feb 2020 12:24:15 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Calculate-between-time-stamps/m-p/1674362#M51155</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2020-02-11T12:24:15Z</dc:date>
    </item>
    <item>
      <title>Re: Calculate between time stamps</title>
      <link>https://community.qlik.com/t5/App-Development/Calculate-between-time-stamps/m-p/1674370#M51157</link>
      <description>&lt;P&gt;Looking at this from the front end I've tried this :&lt;/P&gt;&lt;P&gt;Sum({&amp;lt;InAuto={'True'}&amp;gt;}Aggr(Interval([Machine Time]-Above(total[Machine Time],1),'hh:mm:ss'),[Machine PK]))&lt;/P&gt;&lt;P&gt;its the same as looking status 4 but its wrong because it will only calculate between status 4 and status 4 does that make sense ?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Will attach&amp;nbsp; the app Can not get the qvd to attach&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 11 Feb 2020 12:52:00 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Calculate-between-time-stamps/m-p/1674370#M51157</guid>
      <dc:creator>Eaun</dc:creator>
      <dc:date>2020-02-11T12:52:00Z</dc:date>
    </item>
    <item>
      <title>Re: Calculate between time stamps</title>
      <link>https://community.qlik.com/t5/App-Development/Calculate-between-time-stamps/m-p/1674376#M51160</link>
      <description>&lt;P&gt;Are you looking to get 8 minutes and 23 seconds on the row where Machine PK is 433?&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="image.png" style="width: 999px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/28260iA3497A1E4C786142/image-size/large?v=v2&amp;amp;px=999" role="button" title="image.png" alt="image.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;Aggr(
	Interval(Only({&amp;lt;InAuto = {'True'}&amp;gt;} [Machine Time]) - Above(Only({&amp;lt;InAuto = {'True'}&amp;gt;} [Machine Time])), 'hh:mm:ss')
, [Machine PK])&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 11 Feb 2020 12:54:55 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Calculate-between-time-stamps/m-p/1674376#M51160</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2020-02-11T12:54:55Z</dc:date>
    </item>
    <item>
      <title>Re: Calculate between time stamps</title>
      <link>https://community.qlik.com/t5/App-Development/Calculate-between-time-stamps/m-p/1674397#M51168</link>
      <description>&lt;P&gt;Thank you that looks correct will try it and report back : )&lt;/P&gt;</description>
      <pubDate>Tue, 11 Feb 2020 13:27:06 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Calculate-between-time-stamps/m-p/1674397#M51168</guid>
      <dc:creator>Eaun</dc:creator>
      <dc:date>2020-02-11T13:27:06Z</dc:date>
    </item>
    <item>
      <title>Re: Calculate between time stamps</title>
      <link>https://community.qlik.com/t5/App-Development/Calculate-between-time-stamps/m-p/1674431#M51176</link>
      <description>&lt;P&gt;Made a little change&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Sum(Aggr( Interval(Only({&amp;lt;Status_code = {1}&amp;gt;} [Machine Time]) - Above(Only({&amp;lt;Status_code = {4}&amp;gt;} [Machine Time])), 'hh:mm:ss') , [Machine PK]))&lt;/P&gt;&lt;P&gt;and then changed the status codes to get the difference times with each status&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 11 Feb 2020 14:36:13 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Calculate-between-time-stamps/m-p/1674431#M51176</guid>
      <dc:creator>Eaun</dc:creator>
      <dc:date>2020-02-11T14:36:13Z</dc:date>
    </item>
  </channel>
</rss>

