<?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 Per Day in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Average-Per-Day/m-p/447911#M487702</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Try like this&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Use SpecialistID&amp;nbsp; as dimension and use the following expression&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=Count(SpecialistID) / Count(Distinct LoggedDate)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this helps you.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Jagan.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 23 Jan 2013 15:18:10 GMT</pubDate>
    <dc:creator>jagan</dc:creator>
    <dc:date>2013-01-23T15:18:10Z</dc:date>
    <item>
      <title>Average Per Day</title>
      <link>https://community.qlik.com/t5/QlikView/Average-Per-Day/m-p/447907#M487698</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Guys,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I need an expression to populate a field in a Straight Table.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The Dashboard is for reporting call volumes in a call centre. I inport the following fields:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SpecialistID (the first name of the person who took the call)&lt;/P&gt;&lt;P&gt;LoggedDate (the date the call came in)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I currently have a master calendar setup with the following fields:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Day&lt;/P&gt;&lt;P&gt;Month&lt;/P&gt;&lt;P&gt;Year&lt;/P&gt;&lt;P&gt;Quarter&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I need to populate a table with the Average number of calls per day based on the current selection in the master calendar. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;eg:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SpecialistID&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Avg calls per day&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;JOHN&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 10&lt;/P&gt;&lt;P&gt;JACK&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 12&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This must be reflective of the current date range selected (so if January is selected, it will calculate average number of calls for each Specialist in January. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any help would be greatly appreciated.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;L&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 23 Jan 2013 13:13:46 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Average-Per-Day/m-p/447907#M487698</guid>
      <dc:creator />
      <dc:date>2013-01-23T13:13:46Z</dc:date>
    </item>
    <item>
      <title>Re: Average Per Day</title>
      <link>https://community.qlik.com/t5/QlikView/Average-Per-Day/m-p/447908#M487699</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;EM style="font-family: trebuchet ms,geneva;"&gt;Hi L,&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM style="font-family: trebuchet ms,geneva;"&gt; &lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM style="font-family: trebuchet ms,geneva;"&gt;Have you tried using &lt;SPAN style="color: #003366;"&gt;&lt;STRONG&gt;Avg(SpecialistID)&lt;/STRONG&gt;&lt;/SPAN&gt; as expression and &lt;SPAN style="color: #003366;"&gt;&lt;STRONG&gt;SpecialistID &lt;/STRONG&gt;&lt;/SPAN&gt;as Dimension on a straight table. If you the LoggedDate is linked to the Calendar Table then you will see the results based on the user selections i.e. Day, Month, Quarter &amp;amp; Year. QlikView selections will automatically render the calculation and you don't have to do anything unlike traditional BI Systems.&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM style="font-family: trebuchet ms,geneva;"&gt; &lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM style="font-family: trebuchet ms,geneva;"&gt;Does this makes sense?&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM style="font-family: trebuchet ms,geneva;"&gt; &lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM style="font-family: trebuchet ms,geneva;"&gt;Cheers,&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM style="font-family: trebuchet ms,geneva;"&gt;DV&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM style="font-family: trebuchet ms,geneva;"&gt; &lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM style="font-family: trebuchet ms,geneva;"&gt;&lt;A href="http://www.QlikShare.com"&gt;www.QlikShare.com&lt;/A&gt;&lt;/EM&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 23 Jan 2013 14:06:43 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Average-Per-Day/m-p/447908#M487699</guid>
      <dc:creator>IAMDV</dc:creator>
      <dc:date>2013-01-23T14:06:43Z</dc:date>
    </item>
    <item>
      <title>Re: Average Per Day</title>
      <link>https://community.qlik.com/t5/QlikView/Average-Per-Day/m-p/447909#M487700</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Deepak,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This is what I originally thought but this would not calculate Average Calls Per Day.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I need it to count the number of times the Secialist's name shows up between the date ranges, then devide that by the number of days between the selection to get the Average per day.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 23 Jan 2013 14:25:01 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Average-Per-Day/m-p/447909#M487700</guid>
      <dc:creator />
      <dc:date>2013-01-23T14:25:01Z</dc:date>
    </item>
    <item>
      <title>Re: Average Per Day</title>
      <link>https://community.qlik.com/t5/QlikView/Average-Per-Day/m-p/447910#M487701</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;EM style="font-family: trebuchet ms,geneva;"&gt;NP. Do you mind posting some sample data? I can create a demo app and it's easier to work with your sample data. Possible?&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM style="font-family: trebuchet ms,geneva;"&gt; &lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM style="font-family: trebuchet ms,geneva;"&gt;Thanks,&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM style="font-family: trebuchet ms,geneva;"&gt;DV&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM style="font-family: trebuchet ms,geneva;"&gt; &lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM style="font-family: trebuchet ms,geneva;"&gt;&lt;A href="http://www.QlikShare.com"&gt;www.QlikShare.com&lt;/A&gt;&lt;/EM&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 23 Jan 2013 14:27:30 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Average-Per-Day/m-p/447910#M487701</guid>
      <dc:creator>IAMDV</dc:creator>
      <dc:date>2013-01-23T14:27:30Z</dc:date>
    </item>
    <item>
      <title>Re: Average Per Day</title>
      <link>https://community.qlik.com/t5/QlikView/Average-Per-Day/m-p/447911#M487702</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Try like this&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Use SpecialistID&amp;nbsp; as dimension and use the following expression&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=Count(SpecialistID) / Count(Distinct LoggedDate)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this helps you.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Jagan.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 23 Jan 2013 15:18:10 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Average-Per-Day/m-p/447911#M487702</guid>
      <dc:creator>jagan</dc:creator>
      <dc:date>2013-01-23T15:18:10Z</dc:date>
    </item>
    <item>
      <title>Re: Average Per Day</title>
      <link>https://community.qlik.com/t5/QlikView/Average-Per-Day/m-p/447912#M487703</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks Jagan,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This looks like it is working perfectly, &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I forgot about using DISTINCT&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Many thanks! &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Also thanks to Deepak for starting the ball rolling! &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 23 Jan 2013 16:01:01 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Average-Per-Day/m-p/447912#M487703</guid>
      <dc:creator />
      <dc:date>2013-01-23T16:01:01Z</dc:date>
    </item>
  </channel>
</rss>

