<?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 Between Dates in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Average-Between-Dates/m-p/1448403#M803084</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;That works however i need to add an if statement or a set analysis to limited the expression. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If(Avg(Aggr(epic_due_date - epic_cf_start_date, epic_cf_pmo_business_unit, epic_summary) and DEPT='44840' and project_name &amp;lt;&amp;gt; 'PMO IMS Pipeline'))&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This is the expression I am trying to use however it doesn't seem to be working&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 09 Nov 2017 20:32:55 GMT</pubDate>
    <dc:creator>mparker123</dc:creator>
    <dc:date>2017-11-09T20:32:55Z</dc:date>
    <item>
      <title>Average Between Dates</title>
      <link>https://community.qlik.com/t5/QlikView/Average-Between-Dates/m-p/1448401#M803080</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Everyone, &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have two date fields a Project Start Date and a Project End Date. I have multiple projects I want to find the average duration of the projects by Project type and Business Unit. I attached a sample file to this discussion. The Straight table labeled "average by project type" and "average by business unit" In both tables there is a duration, the duration is taking the earliest start date and the latest due date of each project type or business unit and giving me the duration between them. I am trying get the average of each project type and business unit. &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-Between-Dates/m-p/1448401#M803080</guid>
      <dc:creator>mparker123</dc:creator>
      <dc:date>2020-11-25T16:16:04Z</dc:date>
    </item>
    <item>
      <title>Re: Average Between Dates</title>
      <link>https://community.qlik.com/t5/QlikView/Average-Between-Dates/m-p/1448402#M803082</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;May be your want this&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Avg(Aggr([Due Date] - [Start Date], [Project Type], Summary))&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Avg(Aggr([Due Date] - [Start Date] , [Business Unit], Summary))&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="Capture.PNG" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/182754_Capture.PNG" style="height: 294px; width: 620px;" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 09 Nov 2017 17:06:01 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Average-Between-Dates/m-p/1448402#M803082</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2017-11-09T17:06:01Z</dc:date>
    </item>
    <item>
      <title>Re: Average Between Dates</title>
      <link>https://community.qlik.com/t5/QlikView/Average-Between-Dates/m-p/1448403#M803084</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;That works however i need to add an if statement or a set analysis to limited the expression. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If(Avg(Aggr(epic_due_date - epic_cf_start_date, epic_cf_pmo_business_unit, epic_summary) and DEPT='44840' and project_name &amp;lt;&amp;gt; 'PMO IMS Pipeline'))&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This is the expression I am trying to use however it doesn't seem to be working&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 09 Nov 2017 20:32:55 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Average-Between-Dates/m-p/1448403#M803084</guid>
      <dc:creator>mparker123</dc:creator>
      <dc:date>2017-11-09T20:32:55Z</dc:date>
    </item>
    <item>
      <title>Re: Average Between Dates</title>
      <link>https://community.qlik.com/t5/QlikView/Average-Between-Dates/m-p/1448404#M803085</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;May be try this&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Avg(Aggr(Only({&amp;lt;Project_name -= {'PMO IMS Pipeline'}, DEPT = {'44840'}&amp;gt;}[Due Date] - [Start Date], [Project Type]), Summary))&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 09 Nov 2017 20:46:22 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Average-Between-Dates/m-p/1448404#M803085</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2017-11-09T20:46:22Z</dc:date>
    </item>
    <item>
      <title>Re: Average Between Dates</title>
      <link>https://community.qlik.com/t5/QlikView/Average-Between-Dates/m-p/1448405#M803086</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;We are missing a parenthesis somewhere I tried to but it in at the end of the expression and at the end of the set analysis it doesn't seem to be working. &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 09 Nov 2017 21:17:54 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Average-Between-Dates/m-p/1448405#M803086</guid>
      <dc:creator>mparker123</dc:creator>
      <dc:date>2017-11-09T21:17:54Z</dc:date>
    </item>
    <item>
      <title>Re: Average Between Dates</title>
      <link>https://community.qlik.com/t5/QlikView/Average-Between-Dates/m-p/1448406#M803087</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;My bad, may be this&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Avg(Aggr(Only({&amp;lt;Project_name -= {'PMO IMS Pipeline'}, DEPT = {'44840'}&amp;gt;}[Due Date] - [Start Date]&lt;SPAN style="color: #ff0000; font-size: 14pt;"&gt;)&lt;/SPAN&gt;, [Project Type], Summary))&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 09 Nov 2017 23:27:58 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Average-Between-Dates/m-p/1448406#M803087</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2017-11-09T23:27:58Z</dc:date>
    </item>
  </channel>
</rss>

