<?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: Is this even possible using SQL statement in QlikView script? in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Is-this-even-possible-using-SQL-statement-in-QlikView-script/m-p/389710#M699078</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Seems to work fine here, except that there's some missing entry and exit times somewhere here and there, but I guess that's common with people coming and going at different times and sometimes it rolls over midnight etc.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If I pick a name, like G RAMATAS for example, I can see the entries and exits plus duration spent just fine.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 29 Nov 2012 04:02:20 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2012-11-29T04:02:20Z</dc:date>
    <item>
      <title>Is this even possible using SQL statement in QlikView script?</title>
      <link>https://community.qlik.com/t5/QlikView/Is-this-even-possible-using-SQL-statement-in-QlikView-script/m-p/389703#M699070</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Below are example of data collected from a gantry door: (came from a single database table from MS Access [DoorAccess] but i split them out in QlikView)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="text-decoration: underline;"&gt;Entry table&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;TABLE border="1" cellpadding="3" cellspacing="0" class="jiveBorder" height="252" style="border-image: initial; height: 252px; width: 361px; border-width: 1px; border-color: #000000; border-style: solid;"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TH align="center" style="background-color: #6690bc;" valign="middle"&gt;&lt;SPAN style="color: #ffffff;"&gt;&lt;STRONG&gt;EntryDate&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/TH&gt;&lt;TH align="center" style="background-color: #6690bc;" valign="middle"&gt;&lt;SPAN style="color: #ffffff;"&gt;&lt;STRONG&gt;StaffName&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/TH&gt;&lt;TH align="center" style="background-color: #6690bc;" valign="middle"&gt;&lt;SPAN style="color: #ffffff;"&gt;&lt;STRONG&gt;TimeIn&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/TH&gt;&lt;TH align="center" style="background-color: #6690bc;" valign="middle"&gt;&lt;SPAN style="color: #ffffff;"&gt;&lt;STRONG&gt;Message&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/TH&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;21/11/12&lt;/TD&gt;&lt;TD&gt;John&lt;/TD&gt;&lt;TD&gt;07:00:00&lt;/TD&gt;&lt;TD&gt;IN&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;21/11/12&lt;/TD&gt;&lt;TD&gt;Peter&lt;/TD&gt;&lt;TD&gt;08:10:00&lt;/TD&gt;&lt;TD&gt;IN&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;21/11/12&lt;/TD&gt;&lt;TD&gt;John&lt;/TD&gt;&lt;TD&gt;09:20:00&lt;/TD&gt;&lt;TD&gt;IN&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;21/11/12&lt;/TD&gt;&lt;TD&gt;Mary&lt;/TD&gt;&lt;TD&gt;07:20:00&lt;/TD&gt;&lt;TD&gt;IN&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;22/11/12&lt;/TD&gt;&lt;TD&gt;Joe&lt;/TD&gt;&lt;TD&gt;07:00:00&lt;/TD&gt;&lt;TD&gt;IN&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;22/11/12&lt;/TD&gt;&lt;TD&gt;Mike&lt;/TD&gt;&lt;TD&gt;08:00:00&lt;/TD&gt;&lt;TD&gt;IN&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;23/11/12&lt;/TD&gt;&lt;TD&gt;John&lt;/TD&gt;&lt;TD&gt;07:00:00&lt;/TD&gt;&lt;TD&gt;IN&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;23/11/12&lt;/TD&gt;&lt;TD&gt;Mary&lt;/TD&gt;&lt;TD&gt;07:00:00&lt;/TD&gt;&lt;TD&gt;IN&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;23/11/12&lt;/TD&gt;&lt;TD&gt;Mary&lt;/TD&gt;&lt;TD&gt;08:00:00&lt;/TD&gt;&lt;TD&gt;IN&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;23/11/12&lt;/TD&gt;&lt;TD&gt;Mary&lt;/TD&gt;&lt;TD&gt;09:00:00&lt;/TD&gt;&lt;TD&gt;IN&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="text-decoration: underline;"&gt;Exit table&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;TABLE border="1" cellpadding="3" cellspacing="0" class="jiveBorder" height="206" style="border-image: initial; height: 133px; width: 360px; border-width: 1px; border-color: #000000; border-style: solid;"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TH align="center" style="background-color: #6690bc;" valign="middle"&gt;&lt;SPAN style="color: #ffffff;"&gt;&lt;STRONG&gt;ExitDate&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/TH&gt;&lt;TH align="center" style="background-color: #6690bc;" valign="middle"&gt;&lt;SPAN style="color: #ffffff;"&gt;&lt;STRONG&gt;StaffName&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/TH&gt;&lt;TH align="center" style="background-color: #6690bc;" valign="middle"&gt;&lt;SPAN style="color: #ffffff;"&gt;&lt;STRONG&gt;TimeOut&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/TH&gt;&lt;TH align="center" style="background-color: #6690bc;" valign="middle"&gt;&lt;SPAN style="color: #ffffff;"&gt;&lt;STRONG&gt;Message&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/TH&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;21/11/12&lt;/TD&gt;&lt;TD&gt;Peter&lt;/TD&gt;&lt;TD&gt;18:10:00&lt;/TD&gt;&lt;TD&gt;OUT&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;21/11/12&lt;/TD&gt;&lt;TD&gt;John&lt;/TD&gt;&lt;TD&gt;18:00:00&lt;/TD&gt;&lt;TD&gt;OUT&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;21/11/12&lt;/TD&gt;&lt;TD&gt;Peter&lt;/TD&gt;&lt;TD&gt;18:17:00&lt;/TD&gt;&lt;TD&gt;OUT&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;21/11/12&lt;/TD&gt;&lt;TD&gt;Mary&lt;/TD&gt;&lt;TD&gt;19:10:00&lt;/TD&gt;&lt;TD&gt;OUT&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;22/11/12&lt;/TD&gt;&lt;TD&gt;Joe&lt;/TD&gt;&lt;TD&gt;18:20:00&lt;/TD&gt;&lt;TD&gt;OUT&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;23/11/12&lt;/TD&gt;&lt;TD&gt;John&lt;/TD&gt;&lt;TD&gt;18:10:00&lt;/TD&gt;&lt;TD&gt;OUT&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;23/11/12&lt;/TD&gt;&lt;TD&gt;Mary&lt;/TD&gt;&lt;TD&gt;17:30:00&lt;/TD&gt;&lt;TD&gt;OUT&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What i wanted:&lt;/P&gt;&lt;P&gt;Base on the two tables i need to derive the hours each staff spent time inside a certain area. However there are alot of noise data which i need clean up.&lt;/P&gt;&lt;P&gt;There may have numerous timeIn or timeOut from the same person each day, so i want to get the earliest time in as the time In and the latest time out as the timeOut. Using the date and staff name as comparison and as identifier, i hope to achieve something like this in qlikview. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The end result should be similar to this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;TABLE border="1" cellpadding="3" cellspacing="0" class="jiveBorder" height="183" style="border-image: initial; height: 183px; width: 450px; border-width: 1px; border-color: #000000; border-style: solid;"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TH align="center" style="background-color: #6690bc;" valign="middle"&gt;&lt;SPAN style="color: #ffffff;"&gt;&lt;STRONG&gt;Date&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/TH&gt;&lt;TH align="center" style="background-color: #6690bc;" valign="middle"&gt;&lt;SPAN style="color: #ffffff;"&gt;&lt;STRONG&gt;StaffName&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/TH&gt;&lt;TH align="center" style="background-color: #6690bc;" valign="middle"&gt;&lt;SPAN style="color: #ffffff;"&gt;&lt;STRONG&gt;TimeIn&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/TH&gt;&lt;TH align="center" style="background-color: #6690bc;" valign="middle"&gt;&lt;SPAN style="color: #ffffff;"&gt;&lt;STRONG&gt;TimeOut&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/TH&gt;&lt;TH align="center" style="background-color: #6690bc;" valign="middle"&gt;&lt;SPAN style="color: #ffffff;"&gt;&lt;STRONG&gt;Hours&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/TH&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;21/11/12&lt;/TD&gt;&lt;TD&gt;Peter&lt;/TD&gt;&lt;TD&gt;08:10:00&lt;/TD&gt;&lt;TD&gt;18:17:00&lt;/TD&gt;&lt;TD&gt;10:07&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;21/11/12&lt;/TD&gt;&lt;TD&gt;John&lt;/TD&gt;&lt;TD&gt;07:00:00&lt;/TD&gt;&lt;TD&gt;18:00:00&lt;/TD&gt;&lt;TD&gt;11:00&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;21/11/12&lt;/TD&gt;&lt;TD&gt;Mary&lt;/TD&gt;&lt;TD&gt;07:20:00&lt;/TD&gt;&lt;TD&gt;19:10:00&lt;/TD&gt;&lt;TD&gt;11:50&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;22/11/12&lt;/TD&gt;&lt;TD&gt;Joe&lt;/TD&gt;&lt;TD&gt;07:00:00&lt;/TD&gt;&lt;TD&gt;18:20:00&lt;/TD&gt;&lt;TD&gt;11:20&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;22/11/12&lt;/TD&gt;&lt;TD&gt;Mike&lt;/TD&gt;&lt;TD&gt;08:00:00&lt;/TD&gt;&lt;TD&gt;Unknown&lt;/TD&gt;&lt;TD&gt;Unknown&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;23/11/12&lt;/TD&gt;&lt;TD&gt;John&lt;/TD&gt;&lt;TD&gt;07:00:00&lt;/TD&gt;&lt;TD&gt;18:10:00&lt;/TD&gt;&lt;TD&gt;11:10&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;23/11/12&lt;/TD&gt;&lt;TD&gt;Mary&lt;/TD&gt;&lt;TD&gt;07:00:00&lt;/TD&gt;&lt;TD&gt;17:30:00&lt;/TD&gt;&lt;TD&gt;10:50&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I know my question is very demanding but i really tried to achieve this for days. Try using subqueries, join, creation of third table but failed. Not familiar with syntax of Qlikview SQL. I really need help. Be it solutions or alternatives, please suggest. And i do not have DB rights so i cant do much on the database side, mainly on qlikview.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;God please help me,&lt;/P&gt;&lt;P&gt;10e5x&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 29 Nov 2012 02:58:41 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Is-this-even-possible-using-SQL-statement-in-QlikView-script/m-p/389703#M699070</guid>
      <dc:creator />
      <dc:date>2012-11-29T02:58:41Z</dc:date>
    </item>
    <item>
      <title>Re: Is this even possible using SQL statement in QlikView script?</title>
      <link>https://community.qlik.com/t5/QlikView/Is-this-even-possible-using-SQL-statement-in-QlikView-script/m-p/389704#M699071</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Something like this. Obviously you have to change the select statements to match your database table names etc.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;T1:&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;Load&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; *;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;SQL Select&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Date,&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;StaffName,&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;Min(TimeIn) as TimeIn&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;From EntryTable&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;group by Date, StaffName;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;join (T1) &lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;Load&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; *;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;SQL Select&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Date,&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;StaffName,&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;Max(TimeOut) as TimeOut&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;From ExitTable&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;group by Date, StaffName;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;T2:&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;Load&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; *,&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; interval(TimeOut-TimeIn, 'hh:mm') as Hours&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;Resident T1;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;Drop table T1;&lt;/EM&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 29 Nov 2012 03:14:13 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Is-this-even-possible-using-SQL-statement-in-QlikView-script/m-p/389704#M699071</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2012-11-29T03:14:13Z</dc:date>
    </item>
    <item>
      <title>Re: Is this even possible using SQL statement in QlikView script?</title>
      <link>https://community.qlik.com/t5/QlikView/Is-this-even-possible-using-SQL-statement-in-QlikView-script/m-p/389705#M699072</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;OMG Johannes how u did that? It kinda works... just same as the pevious, it wont display the assoicated hours unless i do a select posible at the hours listbox. Even i a value at timeIn listBox and a value at timeOut listBox, it wouldnt show/highlight any value in white(all grey) then when i do the select possible, the correct hours was selected. Do u have any idea why is this happening? &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;With many thanks,&lt;/P&gt;&lt;P&gt;Guoxiang&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 29 Nov 2012 03:40:07 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Is-this-even-possible-using-SQL-statement-in-QlikView-script/m-p/389705#M699072</guid>
      <dc:creator />
      <dc:date>2012-11-29T03:40:07Z</dc:date>
    </item>
    <item>
      <title>Re: Is this even possible using SQL statement in QlikView script?</title>
      <link>https://community.qlik.com/t5/QlikView/Is-this-even-possible-using-SQL-statement-in-QlikView-script/m-p/389706#M699073</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Not sure, but if you can upload a small copy of the .qvw file to the thread I could take a look and see if I can figure out what's wrong&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 29 Nov 2012 03:43:14 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Is-this-even-possible-using-SQL-statement-in-QlikView-script/m-p/389706#M699073</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2012-11-29T03:43:14Z</dc:date>
    </item>
    <item>
      <title>Re: Is this even possible using SQL statement in QlikView script?</title>
      <link>https://community.qlik.com/t5/QlikView/Is-this-even-possible-using-SQL-statement-in-QlikView-script/m-p/389707#M699075</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;haha i dont mind but as i have said many times, i just start using qlikview 2 days ago. How do i upload a small part to u? I just send u my .qvw? I have no rights to my the db else i dont mind let u take a look. &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 29 Nov 2012 03:46:15 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Is-this-even-possible-using-SQL-statement-in-QlikView-script/m-p/389707#M699075</guid>
      <dc:creator />
      <dc:date>2012-11-29T03:46:15Z</dc:date>
    </item>
    <item>
      <title>Re: Is this even possible using SQL statement in QlikView script?</title>
      <link>https://community.qlik.com/t5/QlikView/Is-this-even-possible-using-SQL-statement-in-QlikView-script/m-p/389708#M699076</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;When you reply to a post here you can click "Use advanced editor" on the top right of the text box which allows you to upload files along with your post.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 29 Nov 2012 03:48:28 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Is-this-even-possible-using-SQL-statement-in-QlikView-script/m-p/389708#M699076</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2012-11-29T03:48:28Z</dc:date>
    </item>
    <item>
      <title>Re: Is this even possible using SQL statement in QlikView script?</title>
      <link>https://community.qlik.com/t5/QlikView/Is-this-even-possible-using-SQL-statement-in-QlikView-script/m-p/389709#M699077</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;haha i attached to the original post. Please kindly take a look, and let me know when u have got the file. i only want to share this with u&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 29 Nov 2012 03:50:57 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Is-this-even-possible-using-SQL-statement-in-QlikView-script/m-p/389709#M699077</guid>
      <dc:creator />
      <dc:date>2012-11-29T03:50:57Z</dc:date>
    </item>
    <item>
      <title>Re: Is this even possible using SQL statement in QlikView script?</title>
      <link>https://community.qlik.com/t5/QlikView/Is-this-even-possible-using-SQL-statement-in-QlikView-script/m-p/389710#M699078</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Seems to work fine here, except that there's some missing entry and exit times somewhere here and there, but I guess that's common with people coming and going at different times and sometimes it rolls over midnight etc.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If I pick a name, like G RAMATAS for example, I can see the entries and exits plus duration spent just fine.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 29 Nov 2012 04:02:20 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Is-this-even-possible-using-SQL-statement-in-QlikView-script/m-p/389710#M699078</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2012-11-29T04:02:20Z</dc:date>
    </item>
    <item>
      <title>Re: Is this even possible using SQL statement in QlikView script?</title>
      <link>https://community.qlik.com/t5/QlikView/Is-this-even-possible-using-SQL-statement-in-QlikView-script/m-p/389711#M699079</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I chose the same field as yours but i cant see the duration spent...thats very weird..... U try selecting G RAMATAS then followed by 01/05/2012 for the date. What do u see at the hours listBox?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 29 Nov 2012 04:07:55 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Is-this-even-possible-using-SQL-statement-in-QlikView-script/m-p/389711#M699079</guid>
      <dc:creator />
      <dc:date>2012-11-29T04:07:55Z</dc:date>
    </item>
    <item>
      <title>Re: Is this even possible using SQL statement in QlikView script?</title>
      <link>https://community.qlik.com/t5/QlikView/Is-this-even-possible-using-SQL-statement-in-QlikView-script/m-p/389712#M699080</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;06:53&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 29 Nov 2012 04:10:11 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Is-this-even-possible-using-SQL-statement-in-QlikView-script/m-p/389712#M699080</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2012-11-29T04:10:11Z</dc:date>
    </item>
    <item>
      <title>Re: Is this even possible using SQL statement in QlikView script?</title>
      <link>https://community.qlik.com/t5/QlikView/Is-this-even-possible-using-SQL-statement-in-QlikView-script/m-p/389713#M699081</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thats weird....yours can mine cant:( Did you change any settings or any other thigs?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; Btw since we are at it, if u realize i have some logic loopholes. What i have done is only logical for staff that clocks in and out on the same day. Cuz the door is open for 24 hours, and staff do have 24 hour shift so they may clock in at 30/04/12 23:00:00 hours and clock out the next day.... Do you have any suggestions to retify this?&lt;/P&gt;&lt;P&gt;Thanks alot! really u are my saviour&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Gratitude,&lt;/P&gt;&lt;P&gt;10e5x&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 29 Nov 2012 04:15:56 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Is-this-even-possible-using-SQL-statement-in-QlikView-script/m-p/389713#M699081</guid>
      <dc:creator />
      <dc:date>2012-11-29T04:15:56Z</dc:date>
    </item>
    <item>
      <title>Re: Is this even possible using SQL statement in QlikView script?</title>
      <link>https://community.qlik.com/t5/QlikView/Is-this-even-possible-using-SQL-statement-in-QlikView-script/m-p/389714#M699082</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Johannes,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;With the same qvw u have, what should i do if i would like to display the field message_x. If i declare it at the select staement, i will need to group it too, which will spoilt the current function of the app.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any suggestion?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 29 Nov 2012 06:35:38 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Is-this-even-possible-using-SQL-statement-in-QlikView-script/m-p/389714#M699082</guid>
      <dc:creator />
      <dc:date>2012-11-29T06:35:38Z</dc:date>
    </item>
  </channel>
</rss>

