<?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 Median/Average with Set Analysis in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Median-Average-with-Set-Analysis/m-p/695752#M251446</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;So here's my situation:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have two charts.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;A 7 day rolling:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="" class="jiveImage" src="https://community.qlik.com/legacyfs/online/68639_pastedImage_0.png" style="width: auto; height: auto;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;And a 30 day rolling.&amp;nbsp; What is visible are created/resolved tickets and a daily average and daily median calculation (done using set analysis).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;However when I try to calculate a 7 day average and median, the numbers are incorrect as compared to doing them by hand.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Here is the set analysis I'm using with my calculations as displayed:&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&lt;STRONG&gt;Avg({1&amp;lt;[Project ID] = {10320}&amp;gt;} DaysToResolve)&lt;/STRONG&gt;&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&lt;STRONG&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;Now I'm not entirely sure those numbers are right either as the average on Oct-2 on the chart is 11.3 and when I calculate by hand it comes out to 21.25.&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;How do I properly calculate the individual days, and a 7 day average for what is displayed?&lt;STRONG&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&lt;STRONG&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 09 Oct 2014 20:51:14 GMT</pubDate>
    <dc:creator />
    <dc:date>2014-10-09T20:51:14Z</dc:date>
    <item>
      <title>Median/Average with Set Analysis</title>
      <link>https://community.qlik.com/t5/QlikView/Median-Average-with-Set-Analysis/m-p/695752#M251446</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;So here's my situation:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have two charts.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;A 7 day rolling:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="" class="jiveImage" src="https://community.qlik.com/legacyfs/online/68639_pastedImage_0.png" style="width: auto; height: auto;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;And a 30 day rolling.&amp;nbsp; What is visible are created/resolved tickets and a daily average and daily median calculation (done using set analysis).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;However when I try to calculate a 7 day average and median, the numbers are incorrect as compared to doing them by hand.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Here is the set analysis I'm using with my calculations as displayed:&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&lt;STRONG&gt;Avg({1&amp;lt;[Project ID] = {10320}&amp;gt;} DaysToResolve)&lt;/STRONG&gt;&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&lt;STRONG&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;Now I'm not entirely sure those numbers are right either as the average on Oct-2 on the chart is 11.3 and when I calculate by hand it comes out to 21.25.&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;How do I properly calculate the individual days, and a 7 day average for what is displayed?&lt;STRONG&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&lt;STRONG&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 09 Oct 2014 20:51:14 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Median-Average-with-Set-Analysis/m-p/695752#M251446</guid>
      <dc:creator />
      <dc:date>2014-10-09T20:51:14Z</dc:date>
    </item>
    <item>
      <title>Re: Median/Average with Set Analysis</title>
      <link>https://community.qlik.com/t5/QlikView/Median-Average-with-Set-Analysis/m-p/695753#M251447</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Perhaps this document helps: &lt;A _jive_internal="true" href="https://community.qlik.com/docs/DOC-4252" style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3778c7;"&gt;Calculating rolling n-period totals, averages or other aggregations&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 10 Oct 2014 09:43:16 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Median-Average-with-Set-Analysis/m-p/695753#M251447</guid>
      <dc:creator>Gysbert_Wassenaar</dc:creator>
      <dc:date>2014-10-10T09:43:16Z</dc:date>
    </item>
  </channel>
</rss>

