<?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 Advanced Average Calculation for Multiple Averages in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Advanced-Average-Calculation-for-Multiple-Averages/m-p/399289#M1157307</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have two working "average" calculations I would like to find the average of for forecasting/what-if purposes:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This first one calculates the average time taken from beginning (add_date) to end (dev_finish_date) in hours. This only calculates completed requests that have a dev_finish_date.&lt;/P&gt;&lt;PRE __default_attr="plain" __jive_macro_name="code" class="jive_text_macro jive_macro_code _jivemacro_uid_13575685157543682" jivemacro_uid="_13575685157543682"&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: courier new,courier; font-size: 12pt;"&gt;=avg({$&amp;lt;dev_finish_date={"&amp;gt;$(=Timestamp(now()-91))"}&amp;gt;}(dev_finish_date-add_date))*24&lt;/SPAN&gt;&lt;/P&gt;&lt;/PRE&gt;&lt;P&gt;&amp;nbsp; &lt;/P&gt;&lt;P&gt;The second expression calculates the average number of hours all "open" requests have been open. BM09 has '22' selected in the field "app_id", and all but 'Setup Complete' selected in the field "status_name".&lt;/P&gt;&lt;PRE __default_attr="plain" __jive_macro_name="code" class="jive_text_macro jive_macro_code _jivemacro_uid_13575685035043964" jivemacro_uid="_13575685035043964"&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: courier new,courier; font-size: 12pt;"&gt;=avg({BM09}num(((today())-add_date),'#,##0.00'))*24&lt;/SPAN&gt;&lt;/P&gt;&lt;/PRE&gt;&lt;P&gt; &lt;BR /&gt;What I would like to do is get an average of the two expressions to illustrate how the remaining requests would affect the overall cycle time if they were all finished sometime today.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for your help, and please be patient with my response time after 6PM EST since the next day I'll be in will be next Sunday Jan 13. Any clarification needed, feel free to ask.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 07 Jan 2013 14:24:26 GMT</pubDate>
    <dc:creator />
    <dc:date>2013-01-07T14:24:26Z</dc:date>
    <item>
      <title>Advanced Average Calculation for Multiple Averages</title>
      <link>https://community.qlik.com/t5/QlikView/Advanced-Average-Calculation-for-Multiple-Averages/m-p/399289#M1157307</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have two working "average" calculations I would like to find the average of for forecasting/what-if purposes:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This first one calculates the average time taken from beginning (add_date) to end (dev_finish_date) in hours. This only calculates completed requests that have a dev_finish_date.&lt;/P&gt;&lt;PRE __default_attr="plain" __jive_macro_name="code" class="jive_text_macro jive_macro_code _jivemacro_uid_13575685157543682" jivemacro_uid="_13575685157543682"&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: courier new,courier; font-size: 12pt;"&gt;=avg({$&amp;lt;dev_finish_date={"&amp;gt;$(=Timestamp(now()-91))"}&amp;gt;}(dev_finish_date-add_date))*24&lt;/SPAN&gt;&lt;/P&gt;&lt;/PRE&gt;&lt;P&gt;&amp;nbsp; &lt;/P&gt;&lt;P&gt;The second expression calculates the average number of hours all "open" requests have been open. BM09 has '22' selected in the field "app_id", and all but 'Setup Complete' selected in the field "status_name".&lt;/P&gt;&lt;PRE __default_attr="plain" __jive_macro_name="code" class="jive_text_macro jive_macro_code _jivemacro_uid_13575685035043964" jivemacro_uid="_13575685035043964"&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: courier new,courier; font-size: 12pt;"&gt;=avg({BM09}num(((today())-add_date),'#,##0.00'))*24&lt;/SPAN&gt;&lt;/P&gt;&lt;/PRE&gt;&lt;P&gt; &lt;BR /&gt;What I would like to do is get an average of the two expressions to illustrate how the remaining requests would affect the overall cycle time if they were all finished sometime today.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for your help, and please be patient with my response time after 6PM EST since the next day I'll be in will be next Sunday Jan 13. Any clarification needed, feel free to ask.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 07 Jan 2013 14:24:26 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Advanced-Average-Calculation-for-Multiple-Averages/m-p/399289#M1157307</guid>
      <dc:creator />
      <dc:date>2013-01-07T14:24:26Z</dc:date>
    </item>
  </channel>
</rss>

