<?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 Approximation of Hourly Census in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Approximation-of-Hourly-Census/m-p/133259#M510175</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;I am trying to approximate a 24 hourly census in a bar chart using the following expression:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=Round(avg(aggr(Sum(CensusIn),CensusHour,VisitDate))&lt;/P&gt;&lt;P&gt;+ avg(aggr(sum(EDTime),CensusHour,VisitDate))/2 &lt;/P&gt;&lt;P&gt;- avg(aggr(sum(CensusOut),CensusHour,VisitDate)))&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Its a pretty good approximation, but if I filter on a specific day, it quite a bit off.&lt;/P&gt;&lt;P&gt;Any ideas?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&amp;nbsp;&amp;nbsp; Jonathan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 13 Aug 2018 12:46:37 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2018-08-13T12:46:37Z</dc:date>
    <item>
      <title>Approximation of Hourly Census</title>
      <link>https://community.qlik.com/t5/QlikView/Approximation-of-Hourly-Census/m-p/133259#M510175</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;I am trying to approximate a 24 hourly census in a bar chart using the following expression:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=Round(avg(aggr(Sum(CensusIn),CensusHour,VisitDate))&lt;/P&gt;&lt;P&gt;+ avg(aggr(sum(EDTime),CensusHour,VisitDate))/2 &lt;/P&gt;&lt;P&gt;- avg(aggr(sum(CensusOut),CensusHour,VisitDate)))&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Its a pretty good approximation, but if I filter on a specific day, it quite a bit off.&lt;/P&gt;&lt;P&gt;Any ideas?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&amp;nbsp;&amp;nbsp; Jonathan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 13 Aug 2018 12:46:37 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Approximation-of-Hourly-Census/m-p/133259#M510175</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2018-08-13T12:46:37Z</dc:date>
    </item>
  </channel>
</rss>

