<?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 count per day within a certain date range in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Average-count-per-day-within-a-certain-date-range/m-p/10377#M610236</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Does your date is not a date field, but timestamp? May be try this&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Count(DISTINCT Floor(Dates))&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 12 Feb 2018 14:47:38 GMT</pubDate>
    <dc:creator>sunny_talwar</dc:creator>
    <dc:date>2018-02-12T14:47:38Z</dc:date>
    <item>
      <title>Average count per day within a certain date range</title>
      <link>https://community.qlik.com/t5/QlikView/Average-count-per-day-within-a-certain-date-range/m-p/10374#M610233</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I want to calculate the average count of shipments per day within a filtered time range.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is there a formula that counts the amount of days within your date filter? So I can create the formula: count (shipment_number) / # of days in filter? &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Or are there any other possibilities to achieve this?&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;Pascal&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 12 Feb 2018 14:23:56 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Average-count-per-day-within-a-certain-date-range/m-p/10374#M610233</guid>
      <dc:creator>pascaldijkshoor</dc:creator>
      <dc:date>2018-02-12T14:23:56Z</dc:date>
    </item>
    <item>
      <title>Re: Average count per day within a certain date range</title>
      <link>https://community.qlik.com/t5/QlikView/Average-count-per-day-within-a-certain-date-range/m-p/10375#M610234</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;May be this if you have a master calendar with all possible dates&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Count(DISTINCT Dates)&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 12 Feb 2018 14:29:45 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Average-count-per-day-within-a-certain-date-range/m-p/10375#M610234</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2018-02-12T14:29:45Z</dc:date>
    </item>
    <item>
      <title>Re: Average count per day within a certain date range</title>
      <link>https://community.qlik.com/t5/QlikView/Average-count-per-day-within-a-certain-date-range/m-p/10376#M610235</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have tried this, however when I selected one week in the filter, I got results varying from 1 to 9, while all should be 7.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 12 Feb 2018 14:45:36 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Average-count-per-day-within-a-certain-date-range/m-p/10376#M610235</guid>
      <dc:creator>pascaldijkshoor</dc:creator>
      <dc:date>2018-02-12T14:45:36Z</dc:date>
    </item>
    <item>
      <title>Re: Average count per day within a certain date range</title>
      <link>https://community.qlik.com/t5/QlikView/Average-count-per-day-within-a-certain-date-range/m-p/10377#M610236</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Does your date is not a date field, but timestamp? May be try this&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Count(DISTINCT Floor(Dates))&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 12 Feb 2018 14:47:38 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Average-count-per-day-within-a-certain-date-range/m-p/10377#M610236</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2018-02-12T14:47:38Z</dc:date>
    </item>
    <item>
      <title>Re: Average count per day within a certain date range</title>
      <link>https://community.qlik.com/t5/QlikView/Average-count-per-day-within-a-certain-date-range/m-p/10378#M610237</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;For a time range something like&lt;/P&gt;&lt;P&gt;=Floor(Max(DateTime))-Floor(Min(DateTime))+1&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Depending on your exact requirements&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 12 Feb 2018 14:48:06 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Average-count-per-day-within-a-certain-date-range/m-p/10378#M610237</guid>
      <dc:creator>stigchel</dc:creator>
      <dc:date>2018-02-12T14:48:06Z</dc:date>
    </item>
    <item>
      <title>Re: Average count per day within a certain date range</title>
      <link>https://community.qlik.com/t5/QlikView/Average-count-per-day-within-a-certain-date-range/m-p/10379#M610238</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The problem with this is that if in a week for a certain dimension it has:&lt;/P&gt;&lt;P&gt;1 shipment on monday&lt;/P&gt;&lt;P&gt;1 shipment on tuesday&lt;/P&gt;&lt;P&gt;1 shipment on friday&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The count for the week is 3, so the average will be 3 as well, while the average should be 3/7.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 12 Feb 2018 15:03:05 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Average-count-per-day-within-a-certain-date-range/m-p/10379#M610238</guid>
      <dc:creator>pascaldijkshoor</dc:creator>
      <dc:date>2018-02-12T15:03:05Z</dc:date>
    </item>
    <item>
      <title>Re: Average count per day within a certain date range</title>
      <link>https://community.qlik.com/t5/QlikView/Average-count-per-day-within-a-certain-date-range/m-p/10380#M610239</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Same problem as i mentioned above, only the count would be 5 i guess.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 12 Feb 2018 15:03:51 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Average-count-per-day-within-a-certain-date-range/m-p/10380#M610239</guid>
      <dc:creator>pascaldijkshoor</dc:creator>
      <dc:date>2018-02-12T15:03:51Z</dc:date>
    </item>
    <item>
      <title>Re: Average count per day within a certain date range</title>
      <link>https://community.qlik.com/t5/QlikView/Average-count-per-day-within-a-certain-date-range/m-p/10381#M610240</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;As an addition:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The data consists of shipments for all dates within the date range. However for the dimension I want to use Load stations. Not every load station has shipments for all dates within the date range. Does it help to use a master calendar in this case?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 12 Feb 2018 15:16:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Average-count-per-day-within-a-certain-date-range/m-p/10381#M610240</guid>
      <dc:creator>pascaldijkshoor</dc:creator>
      <dc:date>2018-02-12T15:16:04Z</dc:date>
    </item>
    <item>
      <title>Re: Average count per day within a certain date range</title>
      <link>https://community.qlik.com/t5/QlikView/Average-count-per-day-within-a-certain-date-range/m-p/10382#M610241</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;May be this&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Floor(WeekEnd(Max(Date))) - WeekStart(Min(Date)) + 1&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 12 Feb 2018 16:28:19 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Average-count-per-day-within-a-certain-date-range/m-p/10382#M610241</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2018-02-12T16:28:19Z</dc:date>
    </item>
    <item>
      <title>Re: Average count per day within a certain date range</title>
      <link>https://community.qlik.com/t5/QlikView/Average-count-per-day-within-a-certain-date-range/m-p/10383#M610242</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;This works perfect, thanks!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 13 Feb 2018 07:46:13 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Average-count-per-day-within-a-certain-date-range/m-p/10383#M610242</guid>
      <dc:creator>pascaldijkshoor</dc:creator>
      <dc:date>2018-02-13T07:46:13Z</dc:date>
    </item>
  </channel>
</rss>

