<?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 How to calculate average time per each different WorkCenter in Qlik in App Development</title>
    <link>https://community.qlik.com/t5/App-Development/How-to-calculate-average-time-per-each-different-WorkCenter-in/m-p/2482222#M100910</link>
    <description>&lt;P&gt;Hello, I have the following table:&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="alespooletto_0-1726653095204.png" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/171826i37BF4DF3AA17809D/image-size/medium?v=v2&amp;amp;px=400" role="button" title="alespooletto_0-1726653095204.png" alt="alespooletto_0-1726653095204.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Each SFC is associated with 2 time stamps:&amp;nbsp;&lt;/P&gt;
&lt;P&gt;- Start&lt;/P&gt;
&lt;P&gt;- Complete&lt;/P&gt;
&lt;P&gt;And each of these 2 steps is done in a single WorkCenter only.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I need to obtain a table that shows me the average time grouped by SFC for each of those different work centers. Is there a way to do this in Qlik?&amp;nbsp;&lt;/P&gt;
&lt;P&gt;It shouldn't look like this graph, but it's just to give an idea of how I would like it represented after&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="alespooletto_1-1726653371525.png" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/171827i59956EA70628195C/image-size/medium?v=v2&amp;amp;px=400" role="button" title="alespooletto_1-1726653371525.png" alt="alespooletto_1-1726653371525.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thank you!&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Wed, 18 Sep 2024 09:56:22 GMT</pubDate>
    <dc:creator>alespooletto</dc:creator>
    <dc:date>2024-09-18T09:56:22Z</dc:date>
    <item>
      <title>How to calculate average time per each different WorkCenter in Qlik</title>
      <link>https://community.qlik.com/t5/App-Development/How-to-calculate-average-time-per-each-different-WorkCenter-in/m-p/2482222#M100910</link>
      <description>&lt;P&gt;Hello, I have the following table:&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="alespooletto_0-1726653095204.png" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/171826i37BF4DF3AA17809D/image-size/medium?v=v2&amp;amp;px=400" role="button" title="alespooletto_0-1726653095204.png" alt="alespooletto_0-1726653095204.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Each SFC is associated with 2 time stamps:&amp;nbsp;&lt;/P&gt;
&lt;P&gt;- Start&lt;/P&gt;
&lt;P&gt;- Complete&lt;/P&gt;
&lt;P&gt;And each of these 2 steps is done in a single WorkCenter only.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I need to obtain a table that shows me the average time grouped by SFC for each of those different work centers. Is there a way to do this in Qlik?&amp;nbsp;&lt;/P&gt;
&lt;P&gt;It shouldn't look like this graph, but it's just to give an idea of how I would like it represented after&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="alespooletto_1-1726653371525.png" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/171827i59956EA70628195C/image-size/medium?v=v2&amp;amp;px=400" role="button" title="alespooletto_1-1726653371525.png" alt="alespooletto_1-1726653371525.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thank you!&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 18 Sep 2024 09:56:22 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/How-to-calculate-average-time-per-each-different-WorkCenter-in/m-p/2482222#M100910</guid>
      <dc:creator>alespooletto</dc:creator>
      <dc:date>2024-09-18T09:56:22Z</dc:date>
    </item>
    <item>
      <title>Re: How to calculate average time per each different WorkCenter in Qlik</title>
      <link>https://community.qlik.com/t5/App-Development/How-to-calculate-average-time-per-each-different-WorkCenter-in/m-p/2482231#M100914</link>
      <description>&lt;P&gt;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/253882"&gt;@alespooletto&lt;/a&gt;&amp;nbsp; Assuming your Date format is properly formatted (not text) with work centre as dimension, try below measure&lt;/P&gt;
&lt;P&gt;&lt;FONT face="comic sans ms,sans-serif"&gt;=time(Avg(aggr(Interval(Only({&amp;lt;Activity={'COMPLETE'}&amp;gt;}Date)-Only({&amp;lt;Activity={'START'}&amp;gt;}Date),'hh:mm:ss'),WorkCenter,MainSFC)),'hh:mm:ss')&lt;/FONT&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 18 Sep 2024 10:27:42 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/How-to-calculate-average-time-per-each-different-WorkCenter-in/m-p/2482231#M100914</guid>
      <dc:creator>Kushal_Chawda</dc:creator>
      <dc:date>2024-09-18T10:27:42Z</dc:date>
    </item>
  </channel>
</rss>

