<?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: Formula Gap in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Formula-Gap/m-p/760624#M1041933</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Try:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;Sum(Aggr(sum([Weekly Hours])/8/count(DISTINCT(EmployeeName)),&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;Year, Quarter, Month))&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 02 Dec 2014 18:24:24 GMT</pubDate>
    <dc:creator>fsimoes81</dc:creator>
    <dc:date>2014-12-02T18:24:24Z</dc:date>
    <item>
      <title>Formula Gap</title>
      <link>https://community.qlik.com/t5/QlikView/Formula-Gap/m-p/760622#M1041931</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have a formula written below in a text object. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;num(((sum([Weekly Hours])/8/count(DISTINCT(EmployeeName&amp;amp;Time)))),'#,##0.0')&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333339691162px;"&gt;this results in 194.9 (Year)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333339691162px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333339691162px;"&gt;I have the same formula in a pivot table as per below &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333339691162px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333339691162px;"&gt;sum([Weekly Hours])/8/count(DISTINCT(EmployeeName)) (Time is a group dimension (Year, Quarter, Month, etc.))&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333339691162px; line-height: 1.5em;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333339691162px; line-height: 1.5em;"&gt;this result is 199.9 (Year)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333339691162px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333339691162px;"&gt;Does anyone know why I am getting this gap? &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333339691162px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333339691162px;"&gt;It looks like when I filter the Time group, my calculation in the text box is slightly off when I drill down to any particular month. &lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 02 Dec 2014 18:14:28 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Formula-Gap/m-p/760622#M1041931</guid>
      <dc:creator />
      <dc:date>2014-12-02T18:14:28Z</dc:date>
    </item>
    <item>
      <title>Re: Formula Gap</title>
      <link>https://community.qlik.com/t5/QlikView/Formula-Gap/m-p/760623#M1041932</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Is it a rounding issue?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 02 Dec 2014 18:19:42 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Formula-Gap/m-p/760623#M1041932</guid>
      <dc:creator />
      <dc:date>2014-12-02T18:19:42Z</dc:date>
    </item>
    <item>
      <title>Re: Formula Gap</title>
      <link>https://community.qlik.com/t5/QlikView/Formula-Gap/m-p/760624#M1041933</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Try:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;Sum(Aggr(sum([Weekly Hours])/8/count(DISTINCT(EmployeeName)),&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;Year, Quarter, Month))&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 02 Dec 2014 18:24:24 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Formula-Gap/m-p/760624#M1041933</guid>
      <dc:creator>fsimoes81</dc:creator>
      <dc:date>2014-12-02T18:24:24Z</dc:date>
    </item>
    <item>
      <title>Re: Formula Gap</title>
      <link>https://community.qlik.com/t5/QlikView/Formula-Gap/m-p/760625#M1041934</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;This worked...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It seemed to be a rounding issue...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;num((num(round(sum([Weekly Hours])/8,1),'#,##0'))/num(count(DISTINCT([EmployeeName])),'#,##0'),'#,##0.0')&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 02 Dec 2014 18:28:01 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Formula-Gap/m-p/760625#M1041934</guid>
      <dc:creator />
      <dc:date>2014-12-02T18:28:01Z</dc:date>
    </item>
  </channel>
</rss>

