<?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 sum of hours in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/sum-of-hours/m-p/1360593#M836215</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P style="font-size: 13.3333px;"&gt;Guys,&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;When I sum worked hours of an employee for a particular month and year, I'm not getting the expected result.&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;Code I have used,&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;STRONG&gt;Hours0:&lt;/STRONG&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;LOAD EmployeeID,&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&amp;nbsp; ProjectID,&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&amp;nbsp; ReleiveStatus,&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&amp;nbsp; sheet_date as Sheetdate,&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; worked_hours as WorkHours&amp;nbsp; &lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;Resident ResourceTimesheet;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;STRONG&gt;Fact:&lt;/STRONG&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;load Date(floor(Sheetdate),'MM/DD/YYYY') as Timesheet,&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&amp;nbsp; Year(Sheetdate) &amp;amp; '|' &amp;amp; Month(Sheetdate)&amp;amp; '|' &amp;amp; Date(Sheetdate) as Sheetdate,&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&amp;nbsp; EmployeeID,&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&amp;nbsp; ReleiveStatus,&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&amp;nbsp; If(len(WorkHours)&amp;gt;0,WorkHours,0) AS WorkHour&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;Resident Hours0;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;Plz suggest a way to achieve this.&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;Thanks in advance.&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;I have attached the sample of data along with this&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 25 Nov 2020 16:16:04 GMT</pubDate>
    <dc:creator>yoganantha321</dc:creator>
    <dc:date>2020-11-25T16:16:04Z</dc:date>
    <item>
      <title>sum of hours</title>
      <link>https://community.qlik.com/t5/QlikView/sum-of-hours/m-p/1360593#M836215</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P style="font-size: 13.3333px;"&gt;Guys,&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;When I sum worked hours of an employee for a particular month and year, I'm not getting the expected result.&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;Code I have used,&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;STRONG&gt;Hours0:&lt;/STRONG&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;LOAD EmployeeID,&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&amp;nbsp; ProjectID,&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&amp;nbsp; ReleiveStatus,&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&amp;nbsp; sheet_date as Sheetdate,&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; worked_hours as WorkHours&amp;nbsp; &lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;Resident ResourceTimesheet;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;STRONG&gt;Fact:&lt;/STRONG&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;load Date(floor(Sheetdate),'MM/DD/YYYY') as Timesheet,&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&amp;nbsp; Year(Sheetdate) &amp;amp; '|' &amp;amp; Month(Sheetdate)&amp;amp; '|' &amp;amp; Date(Sheetdate) as Sheetdate,&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&amp;nbsp; EmployeeID,&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&amp;nbsp; ReleiveStatus,&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&amp;nbsp; If(len(WorkHours)&amp;gt;0,WorkHours,0) AS WorkHour&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;Resident Hours0;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;Plz suggest a way to achieve this.&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;Thanks in advance.&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;I have attached the sample of data along with this&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 25 Nov 2020 16:16:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/sum-of-hours/m-p/1360593#M836215</guid>
      <dc:creator>yoganantha321</dc:creator>
      <dc:date>2020-11-25T16:16:04Z</dc:date>
    </item>
    <item>
      <title>Re: sum of hours</title>
      <link>https://community.qlik.com/t5/QlikView/sum-of-hours/m-p/1360594#M836216</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Attached files seems to be corrupt... can you reattach may be&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 30 May 2017 14:42:24 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/sum-of-hours/m-p/1360594#M836216</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2017-05-30T14:42:24Z</dc:date>
    </item>
    <item>
      <title>Re: sum of hours</title>
      <link>https://community.qlik.com/t5/QlikView/sum-of-hours/m-p/1360595#M836217</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Sunny,&lt;/P&gt;&lt;P&gt;I have attached the &lt;STRONG&gt;new &lt;/STRONG&gt; file excel can you download it&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 30 May 2017 15:31:38 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/sum-of-hours/m-p/1360595#M836217</guid>
      <dc:creator>yoganantha321</dc:creator>
      <dc:date>2017-05-30T15:31:38Z</dc:date>
    </item>
    <item>
      <title>Re: sum of hours</title>
      <link>https://community.qlik.com/t5/QlikView/sum-of-hours/m-p/1360596#M836218</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The data in your spreadsheet is showing as text.&amp;nbsp; Not sure if that's a copy/paste issue or if it's a data issue.&amp;nbsp; You may want to try formatting WorkHour:&amp;nbsp;&amp;nbsp;&amp;nbsp; Num#(WorkHour,'0.0') as WorkHour&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 30 May 2017 16:44:50 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/sum-of-hours/m-p/1360596#M836218</guid>
      <dc:creator>jtay</dc:creator>
      <dc:date>2017-05-30T16:44:50Z</dc:date>
    </item>
  </channel>
</rss>

