<?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: How to merge records from two different fields from same table in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/How-to-merge-records-from-two-different-fields-from-same-table/m-p/994504#M338543</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;TABLE border="0" cellpadding="0" cellspacing="0" style="WIDTH: 760px;"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD class="xl63" height="20" width="64"&gt;id&lt;/TD&gt;&lt;TD class="xl63" style="border-left: medium none;" width="64"&gt;EmpID&lt;/TD&gt;&lt;TD class="xl63" style="border-left: medium none;" width="64"&gt;EventID&lt;/TD&gt;&lt;TD class="xl63" style="border-left: medium none;" width="64"&gt;Date&lt;/TD&gt;&lt;TD class="xl63" style="border-left: medium none;" width="69"&gt;Time&lt;/TD&gt;&lt;TD class="xl68" width="69"&gt;minTime&lt;/TD&gt;&lt;TD class="xl68" width="64"&gt;vEarlyTime&lt;/TD&gt;&lt;TD class="xl68" width="68"&gt;vOverTime&lt;/TD&gt;&lt;TD width="68"&gt;maxTime&lt;/TD&gt;&lt;TD class="xl68" width="102"&gt;fill Flag manually&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl64" height="20" style="border-top: medium none;"&gt;1&lt;/TD&gt;&lt;TD class="xl64" style="border-left: medium none; border-top: medium none;"&gt;30015746&lt;/TD&gt;&lt;TD class="xl64" style="border-left: medium none; border-top: medium none;"&gt;0&lt;/TD&gt;&lt;TD align="right" class="xl65" style="border-left: medium none; border-top: medium none;"&gt;08/02/2015&lt;/TD&gt;&lt;TD align="right" class="xl67" style="border-left: medium none; border-top: medium none;"&gt;7:50:00 AM&lt;/TD&gt;&lt;TD align="right" class="xl67" style="border-left: medium none;"&gt;7:50:00 AM&lt;/TD&gt;&lt;TD align="right" class="xl67" style="border-left: medium none;"&gt;8:00:00 AM&lt;/TD&gt;&lt;TD align="right" class="xl66"&gt;12:00:00 PM&lt;/TD&gt;&lt;TD align="right" class="xl66" style="border-left: medium none;"&gt;4:30:00 PM&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl64" height="20" style="border-top: medium none;"&gt;2&lt;/TD&gt;&lt;TD class="xl64" style="border-left: medium none; border-top: medium none;"&gt;30015746&lt;/TD&gt;&lt;TD class="xl64" style="border-left: medium none; border-top: medium none;"&gt;1&lt;/TD&gt;&lt;TD align="right" class="xl65" style="border-left: medium none; border-top: medium none;"&gt;08/02/2015&lt;/TD&gt;&lt;TD align="right" class="xl66" style="border-left: medium none; border-top: medium none;"&gt;8:20:00 AM&lt;/TD&gt;&lt;TD align="right" class="xl67" style="border-left: medium none; border-top: medium none;"&gt;7:50:00 AM&lt;/TD&gt;&lt;TD align="right" class="xl67" style="border-left: medium none; border-top: medium none;"&gt;8:00:00 AM&lt;/TD&gt;&lt;TD align="right" class="xl66" style="border-top: medium none;"&gt;12:00:00 PM&lt;/TD&gt;&lt;TD align="right" class="xl66" style="border-left: medium none; border-top: medium none;"&gt;4:30:00 PM&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl64" height="20" style="border-top: medium none;"&gt;3&lt;/TD&gt;&lt;TD class="xl64" style="border-left: medium none; border-top: medium none;"&gt;30015746&lt;/TD&gt;&lt;TD class="xl64" style="border-left: medium none; border-top: medium none;"&gt;0&lt;/TD&gt;&lt;TD align="right" class="xl65" style="border-left: medium none; border-top: medium none;"&gt;08/02/2015&lt;/TD&gt;&lt;TD align="right" class="xl66" style="border-left: medium none; border-top: medium none;"&gt;8:40:00 AM&lt;/TD&gt;&lt;TD align="right" class="xl67" style="border-left: medium none; border-top: medium none;"&gt;7:50:00 AM&lt;/TD&gt;&lt;TD align="right" class="xl67" style="border-left: medium none; border-top: medium none;"&gt;8:00:00 AM&lt;/TD&gt;&lt;TD align="right" class="xl66" style="border-top: medium none;"&gt;12:00:00 PM&lt;/TD&gt;&lt;TD align="right" class="xl66" style="border-left: medium none; border-top: medium none;"&gt;4:30:00 PM&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl64" height="20" style="border-top: medium none;"&gt;4&lt;/TD&gt;&lt;TD class="xl64" style="border-left: medium none; border-top: medium none;"&gt;30015746&lt;/TD&gt;&lt;TD class="xl64" style="border-left: medium none; border-top: medium none;"&gt;1&lt;/TD&gt;&lt;TD align="right" class="xl65" style="border-left: medium none; border-top: medium none;"&gt;08/02/2015&lt;/TD&gt;&lt;TD align="right" class="xl66" style="border-left: medium none; border-top: medium none;"&gt;10:30:00 AM&lt;/TD&gt;&lt;TD align="right" class="xl67" style="border-left: medium none; border-top: medium none;"&gt;7:50:00 AM&lt;/TD&gt;&lt;TD align="right" class="xl67" style="border-left: medium none; border-top: medium none;"&gt;8:00:00 AM&lt;/TD&gt;&lt;TD align="right" class="xl66" style="border-top: medium none;"&gt;12:00:00 PM&lt;/TD&gt;&lt;TD align="right" class="xl66" style="border-left: medium none; border-top: medium none;"&gt;4:30:00 PM&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl64" height="20" style="border-top: medium none;"&gt;5&lt;/TD&gt;&lt;TD class="xl64" style="border-left: medium none; border-top: medium none;"&gt;30015746&lt;/TD&gt;&lt;TD class="xl64" style="border-left: medium none; border-top: medium none;"&gt;0&lt;/TD&gt;&lt;TD align="right" class="xl65" style="border-left: medium none; border-top: medium none;"&gt;08/02/2015&lt;/TD&gt;&lt;TD align="right" class="xl66" style="border-left: medium none; border-top: medium none;"&gt;10:50:00 AM&lt;/TD&gt;&lt;TD align="right" class="xl67" style="border-left: medium none; border-top: medium none;"&gt;7:50:00 AM&lt;/TD&gt;&lt;TD align="right" class="xl67" style="border-left: medium none; border-top: medium none;"&gt;8:00:00 AM&lt;/TD&gt;&lt;TD align="right" class="xl66" style="border-top: medium none;"&gt;12:00:00 PM&lt;/TD&gt;&lt;TD align="right" class="xl66" style="border-left: medium none; border-top: medium none;"&gt;4:30:00 PM&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl64" height="20" style="border-top: medium none;"&gt;6&lt;/TD&gt;&lt;TD class="xl64" style="border-left: medium none; border-top: medium none;"&gt;30015746&lt;/TD&gt;&lt;TD class="xl64" style="border-left: medium none; border-top: medium none;"&gt;1&lt;/TD&gt;&lt;TD align="right" class="xl65" style="border-left: medium none; border-top: medium none;"&gt;08/02/2015&lt;/TD&gt;&lt;TD align="right" class="xl66" style="border-left: medium none; border-top: medium none;"&gt;11:30:00 AM&lt;/TD&gt;&lt;TD align="right" class="xl67" style="border-left: medium none; border-top: medium none;"&gt;7:50:00 AM&lt;/TD&gt;&lt;TD align="right" class="xl67" style="border-left: medium none; border-top: medium none;"&gt;8:00:00 AM&lt;/TD&gt;&lt;TD align="right" class="xl66" style="border-top: medium none;"&gt;12:00:00 PM&lt;/TD&gt;&lt;TD align="right" class="xl66" style="border-left: medium none; border-top: medium none;"&gt;4:30:00 PM&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl64" height="20" style="border-top: medium none;"&gt;7&lt;/TD&gt;&lt;TD class="xl64" style="border-left: medium none; border-top: medium none;"&gt;30015746&lt;/TD&gt;&lt;TD class="xl64" style="border-left: medium none; border-top: medium none;"&gt;0&lt;/TD&gt;&lt;TD align="right" class="xl65" style="border-left: medium none; border-top: medium none;"&gt;08/02/2015&lt;/TD&gt;&lt;TD align="right" class="xl66" style="border-left: medium none; border-top: medium none;"&gt;12:40:00 PM&lt;/TD&gt;&lt;TD align="right" class="xl67" style="border-left: medium none; border-top: medium none;"&gt;7:50:00 AM&lt;/TD&gt;&lt;TD align="right" class="xl67" style="border-left: medium none; border-top: medium none;"&gt;8:00:00 AM&lt;/TD&gt;&lt;TD align="right" class="xl66" style="border-top: medium none;"&gt;12:00:00 PM&lt;/TD&gt;&lt;TD align="right" class="xl66" style="border-left: medium none; border-top: medium none;"&gt;4:30:00 PM&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl64" height="20" style="border-top: medium none;"&gt;8&lt;/TD&gt;&lt;TD class="xl64" style="border-left: medium none; border-top: medium none;"&gt;30015746&lt;/TD&gt;&lt;TD class="xl64" style="border-left: medium none; border-top: medium none;"&gt;1&lt;/TD&gt;&lt;TD align="right" class="xl65" style="border-left: medium none; border-top: medium none;"&gt;08/02/2015&lt;/TD&gt;&lt;TD align="right" class="xl66" style="border-left: medium none; border-top: medium none;"&gt;2:50:00 PM&lt;/TD&gt;&lt;TD align="right" class="xl67" style="border-left: medium none; border-top: medium none;"&gt;7:50:00 AM&lt;/TD&gt;&lt;TD align="right" class="xl67" style="border-left: medium none; border-top: medium none;"&gt;8:00:00 AM&lt;/TD&gt;&lt;TD align="right" class="xl66" style="border-top: medium none;"&gt;12:00:00 PM&lt;/TD&gt;&lt;TD align="right" class="xl66" style="border-left: medium none; border-top: medium none;"&gt;4:30:00 PM&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl64" height="20" style="border-top: medium none;"&gt;9&lt;/TD&gt;&lt;TD class="xl64" style="border-left: medium none; border-top: medium none;"&gt;30015746&lt;/TD&gt;&lt;TD class="xl64" style="border-left: medium none; border-top: medium none;"&gt;0&lt;/TD&gt;&lt;TD align="right" class="xl65" style="border-left: medium none; border-top: medium none;"&gt;08/02/2015&lt;/TD&gt;&lt;TD align="right" class="xl66" style="border-left: medium none; border-top: medium none;"&gt;3:10:00 PM&lt;/TD&gt;&lt;TD align="right" class="xl67" style="border-left: medium none; border-top: medium none;"&gt;7:50:00 AM&lt;/TD&gt;&lt;TD align="right" class="xl67" style="border-left: medium none; border-top: medium none;"&gt;8:00:00 AM&lt;/TD&gt;&lt;TD align="right" class="xl66" style="border-top: medium none;"&gt;12:00:00 PM&lt;/TD&gt;&lt;TD align="right" class="xl66" style="border-left: medium none; border-top: medium none;"&gt;4:30:00 PM&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl64" height="20" style="border-top: medium none;"&gt;10&lt;/TD&gt;&lt;TD class="xl64" style="border-left: medium none; border-top: medium none;"&gt;30015746&lt;/TD&gt;&lt;TD class="xl64" style="border-left: medium none; border-top: medium none;"&gt;1&lt;/TD&gt;&lt;TD align="right" class="xl65" style="border-left: medium none; border-top: medium none;"&gt;08/02/2015&lt;/TD&gt;&lt;TD align="right" class="xl66" style="border-left: medium none; border-top: medium none;"&gt;4:30:00 PM&lt;/TD&gt;&lt;TD align="right" class="xl67" style="border-left: medium none; border-top: medium none;"&gt;7:50:00 AM&lt;/TD&gt;&lt;TD align="right" class="xl67" style="border-left: medium none; border-top: medium none;"&gt;8:00:00 AM&lt;/TD&gt;&lt;TD align="right" class="xl66" style="border-top: medium none;"&gt;12:00:00 PM&lt;/TD&gt;&lt;TD align="right" class="xl66" style="border-left: medium none; border-top: medium none;"&gt;4:30:00 PM&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;kindly fill&lt;STRONG&gt; &lt;SPAN style="text-decoration: underline;"&gt;Flag&lt;/SPAN&gt;&lt;/STRONG&gt; column with correct value manually and reply.&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;Zain.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 05 Oct 2015 06:41:43 GMT</pubDate>
    <dc:creator />
    <dc:date>2015-10-05T06:41:43Z</dc:date>
    <item>
      <title>How to merge records from two different fields from same table</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-merge-records-from-two-different-fields-from-same-table/m-p/994496#M338535</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Flag:&lt;/P&gt;&lt;P&gt;LOAD EmpID,Date,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; if(frac(min(Time))&amp;lt;=$(vEarlyTime),'Early','Late') as FlagEarly,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; if(frac(max(Time))&amp;gt;=$(vOverTime),'Over','Within') as FlagOver&lt;/P&gt;&lt;P&gt;Resident EmployeeTimeData&lt;/P&gt;&lt;P&gt;Group By EmpID,Date;&lt;/P&gt;&lt;P&gt;by using this i am getting&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;FlagEarly/Late&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; FlagOver/Within&lt;/P&gt;&lt;P&gt;Early&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Over&lt;/P&gt;&lt;P&gt;Late&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Within&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But i want to have&lt;/P&gt;&lt;P&gt;Flag&lt;/P&gt;&lt;P&gt;Early&lt;/P&gt;&lt;P&gt;Late&lt;/P&gt;&lt;P&gt;Over&lt;/P&gt;&lt;P&gt;Within&lt;/P&gt;&lt;P&gt;i am trying with nested if something like&lt;/P&gt;&lt;P&gt;Flag1:&lt;/P&gt;&lt;P&gt;LOAD EmpID,Date,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; if(Frac(Min(Time))&amp;lt;=$(vEarlyTime),'Early',if(Frac(Min(Time))&amp;gt;$(vEarlyTime),'Late',if(Frac(max(Time))&amp;gt;=$(vOverTime),'Over',if(Frac(max(Time))&amp;lt;$(vOverTime),'Within')))) as Flag&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; Resident EmployeeTimeData&lt;/P&gt;&lt;P&gt;Group By EmpID,Date;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;but it is giving&lt;/P&gt;&lt;P&gt;Flag&lt;/P&gt;&lt;P&gt;Early&lt;/P&gt;&lt;P&gt;Late&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;so please help me how to achieve this&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 05 Oct 2015 04:47:53 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-merge-records-from-two-different-fields-from-same-table/m-p/994496#M338535</guid>
      <dc:creator />
      <dc:date>2015-10-05T04:47:53Z</dc:date>
    </item>
    <item>
      <title>Re: How to merge records from two different fields from same table</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-merge-records-from-two-different-fields-from-same-table/m-p/994497#M338536</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Hemeswara Reddy&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Sample data with sample app will definitely help us to provide quick answer&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;HTH&lt;/P&gt;&lt;P&gt;Sreeni&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 05 Oct 2015 05:00:30 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-merge-records-from-two-different-fields-from-same-table/m-p/994497#M338536</guid>
      <dc:creator>SreeniJD</dc:creator>
      <dc:date>2015-10-05T05:00:30Z</dc:date>
    </item>
    <item>
      <title>Re: How to merge records from two different fields from same table</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-merge-records-from-two-different-fields-from-same-table/m-p/994498#M338537</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;i attached the data please send your reply&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 05 Oct 2015 05:18:37 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-merge-records-from-two-different-fields-from-same-table/m-p/994498#M338537</guid>
      <dc:creator />
      <dc:date>2015-10-05T05:18:37Z</dc:date>
    </item>
    <item>
      <title>Re: How to merge records from two different fields from same table</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-merge-records-from-two-different-fields-from-same-table/m-p/994499#M338538</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Like this:&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;P&gt;&lt;EM&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; If(Frac(Min(Time))&amp;lt;=$(vEarlyTime), 'Early', 'Late') &amp;amp; '/' &amp;amp; If(Frac(max(Time))&amp;gt;=$(vOverTime), 'Over', 'Within') as Flag&lt;/EM&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 05 Oct 2015 05:29:36 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-merge-records-from-two-different-fields-from-same-table/m-p/994499#M338538</guid>
      <dc:creator>jonathandienst</dc:creator>
      <dc:date>2015-10-05T05:29:36Z</dc:date>
    </item>
    <item>
      <title>Re: How to merge records from two different fields from same table</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-merge-records-from-two-different-fields-from-same-table/m-p/994500#M338539</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;you should define an&lt;STRONG&gt; time range&lt;/STRONG&gt; for both calculation, otherwise you will always get 'Early' or 'Late'.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 05 Oct 2015 05:35:48 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-merge-records-from-two-different-fields-from-same-table/m-p/994500#M338539</guid>
      <dc:creator>kathir</dc:creator>
      <dc:date>2015-10-05T05:35:48Z</dc:date>
    </item>
    <item>
      <title>Re: How to merge records from two different fields from same table</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-merge-records-from-two-different-fields-from-same-table/m-p/994501#M338540</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;By using this i am getting&lt;/P&gt;&lt;P&gt;Flag&lt;/P&gt;&lt;P&gt;Early/over&lt;/P&gt;&lt;P&gt;Early/within&lt;/P&gt;&lt;P&gt;Late/over&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;but i want&lt;/P&gt;&lt;P&gt;Flag&lt;/P&gt;&lt;P&gt;Early&lt;/P&gt;&lt;P&gt;Late&lt;/P&gt;&lt;P&gt;Over&lt;/P&gt;&lt;P&gt;Within&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 05 Oct 2015 05:46:08 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-merge-records-from-two-different-fields-from-same-table/m-p/994501#M338540</guid>
      <dc:creator />
      <dc:date>2015-10-05T05:46:08Z</dc:date>
    </item>
    <item>
      <title>Re: How to merge records from two different fields from same table</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-merge-records-from-two-different-fields-from-same-table/m-p/994502#M338541</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You cannot. Every record can be either early or late. So no records would be ever be assigned to over/within. &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 05 Oct 2015 05:50:36 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-merge-records-from-two-different-fields-from-same-table/m-p/994502#M338541</guid>
      <dc:creator>jonathandienst</dc:creator>
      <dc:date>2015-10-05T05:50:36Z</dc:date>
    </item>
    <item>
      <title>Re: How to merge records from two different fields from same table</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-merge-records-from-two-different-fields-from-same-table/m-p/994503#M338542</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;IMG alt="t1.png" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/100913_t1.png" style="height: 149px; width: 620px;" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 05 Oct 2015 05:52:02 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-merge-records-from-two-different-fields-from-same-table/m-p/994503#M338542</guid>
      <dc:creator>jonathandienst</dc:creator>
      <dc:date>2015-10-05T05:52:02Z</dc:date>
    </item>
    <item>
      <title>Re: How to merge records from two different fields from same table</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-merge-records-from-two-different-fields-from-same-table/m-p/994504#M338543</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;TABLE border="0" cellpadding="0" cellspacing="0" style="WIDTH: 760px;"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD class="xl63" height="20" width="64"&gt;id&lt;/TD&gt;&lt;TD class="xl63" style="border-left: medium none;" width="64"&gt;EmpID&lt;/TD&gt;&lt;TD class="xl63" style="border-left: medium none;" width="64"&gt;EventID&lt;/TD&gt;&lt;TD class="xl63" style="border-left: medium none;" width="64"&gt;Date&lt;/TD&gt;&lt;TD class="xl63" style="border-left: medium none;" width="69"&gt;Time&lt;/TD&gt;&lt;TD class="xl68" width="69"&gt;minTime&lt;/TD&gt;&lt;TD class="xl68" width="64"&gt;vEarlyTime&lt;/TD&gt;&lt;TD class="xl68" width="68"&gt;vOverTime&lt;/TD&gt;&lt;TD width="68"&gt;maxTime&lt;/TD&gt;&lt;TD class="xl68" width="102"&gt;fill Flag manually&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl64" height="20" style="border-top: medium none;"&gt;1&lt;/TD&gt;&lt;TD class="xl64" style="border-left: medium none; border-top: medium none;"&gt;30015746&lt;/TD&gt;&lt;TD class="xl64" style="border-left: medium none; border-top: medium none;"&gt;0&lt;/TD&gt;&lt;TD align="right" class="xl65" style="border-left: medium none; border-top: medium none;"&gt;08/02/2015&lt;/TD&gt;&lt;TD align="right" class="xl67" style="border-left: medium none; border-top: medium none;"&gt;7:50:00 AM&lt;/TD&gt;&lt;TD align="right" class="xl67" style="border-left: medium none;"&gt;7:50:00 AM&lt;/TD&gt;&lt;TD align="right" class="xl67" style="border-left: medium none;"&gt;8:00:00 AM&lt;/TD&gt;&lt;TD align="right" class="xl66"&gt;12:00:00 PM&lt;/TD&gt;&lt;TD align="right" class="xl66" style="border-left: medium none;"&gt;4:30:00 PM&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl64" height="20" style="border-top: medium none;"&gt;2&lt;/TD&gt;&lt;TD class="xl64" style="border-left: medium none; border-top: medium none;"&gt;30015746&lt;/TD&gt;&lt;TD class="xl64" style="border-left: medium none; border-top: medium none;"&gt;1&lt;/TD&gt;&lt;TD align="right" class="xl65" style="border-left: medium none; border-top: medium none;"&gt;08/02/2015&lt;/TD&gt;&lt;TD align="right" class="xl66" style="border-left: medium none; border-top: medium none;"&gt;8:20:00 AM&lt;/TD&gt;&lt;TD align="right" class="xl67" style="border-left: medium none; border-top: medium none;"&gt;7:50:00 AM&lt;/TD&gt;&lt;TD align="right" class="xl67" style="border-left: medium none; border-top: medium none;"&gt;8:00:00 AM&lt;/TD&gt;&lt;TD align="right" class="xl66" style="border-top: medium none;"&gt;12:00:00 PM&lt;/TD&gt;&lt;TD align="right" class="xl66" style="border-left: medium none; border-top: medium none;"&gt;4:30:00 PM&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl64" height="20" style="border-top: medium none;"&gt;3&lt;/TD&gt;&lt;TD class="xl64" style="border-left: medium none; border-top: medium none;"&gt;30015746&lt;/TD&gt;&lt;TD class="xl64" style="border-left: medium none; border-top: medium none;"&gt;0&lt;/TD&gt;&lt;TD align="right" class="xl65" style="border-left: medium none; border-top: medium none;"&gt;08/02/2015&lt;/TD&gt;&lt;TD align="right" class="xl66" style="border-left: medium none; border-top: medium none;"&gt;8:40:00 AM&lt;/TD&gt;&lt;TD align="right" class="xl67" style="border-left: medium none; border-top: medium none;"&gt;7:50:00 AM&lt;/TD&gt;&lt;TD align="right" class="xl67" style="border-left: medium none; border-top: medium none;"&gt;8:00:00 AM&lt;/TD&gt;&lt;TD align="right" class="xl66" style="border-top: medium none;"&gt;12:00:00 PM&lt;/TD&gt;&lt;TD align="right" class="xl66" style="border-left: medium none; border-top: medium none;"&gt;4:30:00 PM&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl64" height="20" style="border-top: medium none;"&gt;4&lt;/TD&gt;&lt;TD class="xl64" style="border-left: medium none; border-top: medium none;"&gt;30015746&lt;/TD&gt;&lt;TD class="xl64" style="border-left: medium none; border-top: medium none;"&gt;1&lt;/TD&gt;&lt;TD align="right" class="xl65" style="border-left: medium none; border-top: medium none;"&gt;08/02/2015&lt;/TD&gt;&lt;TD align="right" class="xl66" style="border-left: medium none; border-top: medium none;"&gt;10:30:00 AM&lt;/TD&gt;&lt;TD align="right" class="xl67" style="border-left: medium none; border-top: medium none;"&gt;7:50:00 AM&lt;/TD&gt;&lt;TD align="right" class="xl67" style="border-left: medium none; border-top: medium none;"&gt;8:00:00 AM&lt;/TD&gt;&lt;TD align="right" class="xl66" style="border-top: medium none;"&gt;12:00:00 PM&lt;/TD&gt;&lt;TD align="right" class="xl66" style="border-left: medium none; border-top: medium none;"&gt;4:30:00 PM&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl64" height="20" style="border-top: medium none;"&gt;5&lt;/TD&gt;&lt;TD class="xl64" style="border-left: medium none; border-top: medium none;"&gt;30015746&lt;/TD&gt;&lt;TD class="xl64" style="border-left: medium none; border-top: medium none;"&gt;0&lt;/TD&gt;&lt;TD align="right" class="xl65" style="border-left: medium none; border-top: medium none;"&gt;08/02/2015&lt;/TD&gt;&lt;TD align="right" class="xl66" style="border-left: medium none; border-top: medium none;"&gt;10:50:00 AM&lt;/TD&gt;&lt;TD align="right" class="xl67" style="border-left: medium none; border-top: medium none;"&gt;7:50:00 AM&lt;/TD&gt;&lt;TD align="right" class="xl67" style="border-left: medium none; border-top: medium none;"&gt;8:00:00 AM&lt;/TD&gt;&lt;TD align="right" class="xl66" style="border-top: medium none;"&gt;12:00:00 PM&lt;/TD&gt;&lt;TD align="right" class="xl66" style="border-left: medium none; border-top: medium none;"&gt;4:30:00 PM&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl64" height="20" style="border-top: medium none;"&gt;6&lt;/TD&gt;&lt;TD class="xl64" style="border-left: medium none; border-top: medium none;"&gt;30015746&lt;/TD&gt;&lt;TD class="xl64" style="border-left: medium none; border-top: medium none;"&gt;1&lt;/TD&gt;&lt;TD align="right" class="xl65" style="border-left: medium none; border-top: medium none;"&gt;08/02/2015&lt;/TD&gt;&lt;TD align="right" class="xl66" style="border-left: medium none; border-top: medium none;"&gt;11:30:00 AM&lt;/TD&gt;&lt;TD align="right" class="xl67" style="border-left: medium none; border-top: medium none;"&gt;7:50:00 AM&lt;/TD&gt;&lt;TD align="right" class="xl67" style="border-left: medium none; border-top: medium none;"&gt;8:00:00 AM&lt;/TD&gt;&lt;TD align="right" class="xl66" style="border-top: medium none;"&gt;12:00:00 PM&lt;/TD&gt;&lt;TD align="right" class="xl66" style="border-left: medium none; border-top: medium none;"&gt;4:30:00 PM&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl64" height="20" style="border-top: medium none;"&gt;7&lt;/TD&gt;&lt;TD class="xl64" style="border-left: medium none; border-top: medium none;"&gt;30015746&lt;/TD&gt;&lt;TD class="xl64" style="border-left: medium none; border-top: medium none;"&gt;0&lt;/TD&gt;&lt;TD align="right" class="xl65" style="border-left: medium none; border-top: medium none;"&gt;08/02/2015&lt;/TD&gt;&lt;TD align="right" class="xl66" style="border-left: medium none; border-top: medium none;"&gt;12:40:00 PM&lt;/TD&gt;&lt;TD align="right" class="xl67" style="border-left: medium none; border-top: medium none;"&gt;7:50:00 AM&lt;/TD&gt;&lt;TD align="right" class="xl67" style="border-left: medium none; border-top: medium none;"&gt;8:00:00 AM&lt;/TD&gt;&lt;TD align="right" class="xl66" style="border-top: medium none;"&gt;12:00:00 PM&lt;/TD&gt;&lt;TD align="right" class="xl66" style="border-left: medium none; border-top: medium none;"&gt;4:30:00 PM&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl64" height="20" style="border-top: medium none;"&gt;8&lt;/TD&gt;&lt;TD class="xl64" style="border-left: medium none; border-top: medium none;"&gt;30015746&lt;/TD&gt;&lt;TD class="xl64" style="border-left: medium none; border-top: medium none;"&gt;1&lt;/TD&gt;&lt;TD align="right" class="xl65" style="border-left: medium none; border-top: medium none;"&gt;08/02/2015&lt;/TD&gt;&lt;TD align="right" class="xl66" style="border-left: medium none; border-top: medium none;"&gt;2:50:00 PM&lt;/TD&gt;&lt;TD align="right" class="xl67" style="border-left: medium none; border-top: medium none;"&gt;7:50:00 AM&lt;/TD&gt;&lt;TD align="right" class="xl67" style="border-left: medium none; border-top: medium none;"&gt;8:00:00 AM&lt;/TD&gt;&lt;TD align="right" class="xl66" style="border-top: medium none;"&gt;12:00:00 PM&lt;/TD&gt;&lt;TD align="right" class="xl66" style="border-left: medium none; border-top: medium none;"&gt;4:30:00 PM&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl64" height="20" style="border-top: medium none;"&gt;9&lt;/TD&gt;&lt;TD class="xl64" style="border-left: medium none; border-top: medium none;"&gt;30015746&lt;/TD&gt;&lt;TD class="xl64" style="border-left: medium none; border-top: medium none;"&gt;0&lt;/TD&gt;&lt;TD align="right" class="xl65" style="border-left: medium none; border-top: medium none;"&gt;08/02/2015&lt;/TD&gt;&lt;TD align="right" class="xl66" style="border-left: medium none; border-top: medium none;"&gt;3:10:00 PM&lt;/TD&gt;&lt;TD align="right" class="xl67" style="border-left: medium none; border-top: medium none;"&gt;7:50:00 AM&lt;/TD&gt;&lt;TD align="right" class="xl67" style="border-left: medium none; border-top: medium none;"&gt;8:00:00 AM&lt;/TD&gt;&lt;TD align="right" class="xl66" style="border-top: medium none;"&gt;12:00:00 PM&lt;/TD&gt;&lt;TD align="right" class="xl66" style="border-left: medium none; border-top: medium none;"&gt;4:30:00 PM&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl64" height="20" style="border-top: medium none;"&gt;10&lt;/TD&gt;&lt;TD class="xl64" style="border-left: medium none; border-top: medium none;"&gt;30015746&lt;/TD&gt;&lt;TD class="xl64" style="border-left: medium none; border-top: medium none;"&gt;1&lt;/TD&gt;&lt;TD align="right" class="xl65" style="border-left: medium none; border-top: medium none;"&gt;08/02/2015&lt;/TD&gt;&lt;TD align="right" class="xl66" style="border-left: medium none; border-top: medium none;"&gt;4:30:00 PM&lt;/TD&gt;&lt;TD align="right" class="xl67" style="border-left: medium none; border-top: medium none;"&gt;7:50:00 AM&lt;/TD&gt;&lt;TD align="right" class="xl67" style="border-left: medium none; border-top: medium none;"&gt;8:00:00 AM&lt;/TD&gt;&lt;TD align="right" class="xl66" style="border-top: medium none;"&gt;12:00:00 PM&lt;/TD&gt;&lt;TD align="right" class="xl66" style="border-left: medium none; border-top: medium none;"&gt;4:30:00 PM&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;kindly fill&lt;STRONG&gt; &lt;SPAN style="text-decoration: underline;"&gt;Flag&lt;/SPAN&gt;&lt;/STRONG&gt; column with correct value manually and reply.&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;Zain.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 05 Oct 2015 06:41:43 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-merge-records-from-two-different-fields-from-same-table/m-p/994504#M338543</guid>
      <dc:creator />
      <dc:date>2015-10-05T06:41:43Z</dc:date>
    </item>
    <item>
      <title>Re: How to merge records from two different fields from same table</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-merge-records-from-two-different-fields-from-same-table/m-p/994505#M338544</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;No we have to create flag colomn in script in that column that field has to have Early,Late,Over ,within&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 05 Oct 2015 07:03:05 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-merge-records-from-two-different-fields-from-same-table/m-p/994505#M338544</guid>
      <dc:creator />
      <dc:date>2015-10-05T07:03:05Z</dc:date>
    </item>
    <item>
      <title>Re: How to merge records from two different fields from same table</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-merge-records-from-two-different-fields-from-same-table/m-p/994506#M338545</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;not possible in single if statement.&lt;/P&gt;&lt;P&gt;If you want both in same field then try like&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Flag:&lt;/P&gt;&lt;P&gt;LOAD EmpID,Date,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; if(frac(min(Time))&amp;lt;=$(vEarlyTime),'Early','Late') as Flag&lt;/P&gt;&lt;P&gt;Resident EmployeeTimeData&lt;/P&gt;&lt;P&gt;Group By EmpID,Date;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;concatenate&lt;/P&gt;&lt;P&gt;LOAD EmpID,Date,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; if(frac(max(Time))&amp;gt;=$(vOverTime),'Over','Within') as Flag&lt;/P&gt;&lt;P&gt;Resident EmployeeTimeData&lt;/P&gt;&lt;P&gt;Group By EmpID,Date;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 05 Oct 2015 07:08:30 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-merge-records-from-two-different-fields-from-same-table/m-p/994506#M338545</guid>
      <dc:creator>PrashantSangle</dc:creator>
      <dc:date>2015-10-05T07:08:30Z</dc:date>
    </item>
    <item>
      <title>Re: How to merge records from two different fields from same table</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-merge-records-from-two-different-fields-from-same-table/m-p/994507#M338546</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dear, yes i know and i want to know the values for checking purpose and also helpfull for write script, kindly put the flag values manually as i mention above.&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;Zain.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt; &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 05 Oct 2015 07:09:27 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-merge-records-from-two-different-fields-from-same-table/m-p/994507#M338546</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-10-05T07:09:27Z</dc:date>
    </item>
    <item>
      <title>Re: How to merge records from two different fields from same table</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-merge-records-from-two-different-fields-from-same-table/m-p/994508#M338547</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;What are the values in the variables&lt;/P&gt;&lt;P&gt;$(vEarlyTime) and $(vOverTime)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 05 Oct 2015 07:33:43 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-merge-records-from-two-different-fields-from-same-table/m-p/994508#M338547</guid>
      <dc:creator>sasiparupudi1</dc:creator>
      <dc:date>2015-10-05T07:33:43Z</dc:date>
    </item>
    <item>
      <title>Re: How to merge records from two different fields from same table</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-merge-records-from-two-different-fields-from-same-table/m-p/994509#M338548</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;set vEarlyTime=(7*60+10)/(24*60);&lt;/P&gt;&lt;P&gt;set vOverTime=16/24;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 05 Oct 2015 07:48:53 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-merge-records-from-two-different-fields-from-same-table/m-p/994509#M338548</guid>
      <dc:creator />
      <dc:date>2015-10-05T07:48:53Z</dc:date>
    </item>
    <item>
      <title>Re: How to merge records from two different fields from same table</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-merge-records-from-two-different-fields-from-same-table/m-p/994510#M338549</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;Did you try my suggetsion??&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 05 Oct 2015 07:53:52 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-merge-records-from-two-different-fields-from-same-table/m-p/994510#M338549</guid>
      <dc:creator>PrashantSangle</dc:creator>
      <dc:date>2015-10-05T07:53:52Z</dc:date>
    </item>
    <item>
      <title>Re: How to merge records from two different fields from same table</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-merge-records-from-two-different-fields-from-same-table/m-p/994511#M338550</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;By using this i got the required answer but i am getting association between time and (early,Late)not getting association between time and(over,within)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 05 Oct 2015 07:56:01 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-merge-records-from-two-different-fields-from-same-table/m-p/994511#M338550</guid>
      <dc:creator />
      <dc:date>2015-10-05T07:56:01Z</dc:date>
    </item>
    <item>
      <title>Re: How to merge records from two different fields from same table</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-merge-records-from-two-different-fields-from-same-table/m-p/994512#M338551</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;TABLE border="0" cellpadding="0" cellspacing="0" width="658"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD class="xl63" height="20" width="64"&gt;id&lt;/TD&gt;&lt;TD class="xl63" style="border-left: medium none;" width="64"&gt;EmpID&lt;/TD&gt;&lt;TD class="xl63" style="border-left: medium none;" width="64"&gt;EventID&lt;/TD&gt;&lt;TD class="xl63" style="border-left: medium none;" width="64"&gt;Date&lt;/TD&gt;&lt;TD class="xl63" style="border-left: medium none;" width="69"&gt;Time&lt;/TD&gt;&lt;TD class="xl68" width="69"&gt;minTime&lt;/TD&gt;&lt;TD class="xl68" width="64"&gt;vEarlyTime&lt;/TD&gt;&lt;TD class="xl68" width="68"&gt;vOverTime&lt;/TD&gt;&lt;TD width="68"&gt;maxTime&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl64" height="20" style="border-top: medium none;"&gt;1&lt;/TD&gt;&lt;TD class="xl64" style="border-left: medium none; border-top: medium none;"&gt;30015746&lt;/TD&gt;&lt;TD class="xl64" style="border-left: medium none; border-top: medium none;"&gt;0&lt;/TD&gt;&lt;TD align="right" class="xl65" style="border-left: medium none; border-top: medium none;"&gt;08/02/2015&lt;/TD&gt;&lt;TD align="right" class="xl67" style="border-left: medium none; border-top: medium none;"&gt;7:50:00 AM&lt;/TD&gt;&lt;TD align="right" class="xl67" style="border-left: medium none;"&gt;7:50:00 AM&lt;/TD&gt;&lt;TD align="right" class="xl67" style="border-left: medium none;"&gt;7:10:00 AM&lt;/TD&gt;&lt;TD align="right" class="xl66"&gt;4:00:00 PM&lt;/TD&gt;&lt;TD align="right" class="xl66" style="border-left: medium none;"&gt;4:30:00 PM&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl64" height="20" style="border-top: medium none;"&gt;2&lt;/TD&gt;&lt;TD class="xl64" style="border-left: medium none; border-top: medium none;"&gt;30015746&lt;/TD&gt;&lt;TD class="xl64" style="border-left: medium none; border-top: medium none;"&gt;1&lt;/TD&gt;&lt;TD align="right" class="xl65" style="border-left: medium none; border-top: medium none;"&gt;08/02/2015&lt;/TD&gt;&lt;TD align="right" class="xl66" style="border-left: medium none; border-top: medium none;"&gt;8:20:00 AM&lt;/TD&gt;&lt;TD align="right" class="xl67" style="border-left: medium none; border-top: medium none;"&gt;7:50:00 AM&lt;/TD&gt;&lt;TD align="right" class="xl67" style="border-left: medium none; border-top: medium none;"&gt;7:10:00 AM&lt;/TD&gt;&lt;TD align="right" class="xl66" style="border-top: medium none;"&gt;4:00:00 PM&lt;/TD&gt;&lt;TD align="right" class="xl66" style="border-left: medium none; border-top: medium none;"&gt;4:30:00 PM&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl64" height="20" style="border-top: medium none;"&gt;3&lt;/TD&gt;&lt;TD class="xl64" style="border-left: medium none; border-top: medium none;"&gt;30015746&lt;/TD&gt;&lt;TD class="xl64" style="border-left: medium none; border-top: medium none;"&gt;0&lt;/TD&gt;&lt;TD align="right" class="xl65" style="border-left: medium none; border-top: medium none;"&gt;08/02/2015&lt;/TD&gt;&lt;TD align="right" class="xl66" style="border-left: medium none; border-top: medium none;"&gt;8:40:00 AM&lt;/TD&gt;&lt;TD align="right" class="xl67" style="border-left: medium none; border-top: medium none;"&gt;7:50:00 AM&lt;/TD&gt;&lt;TD align="right" class="xl67" style="border-left: medium none; border-top: medium none;"&gt;7:10:00 AM&lt;/TD&gt;&lt;TD align="right" class="xl66" style="border-top: medium none;"&gt;4:00:00 PM&lt;/TD&gt;&lt;TD align="right" class="xl66" style="border-left: medium none; border-top: medium none;"&gt;4:30:00 PM&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl64" height="20" style="border-top: medium none;"&gt;4&lt;/TD&gt;&lt;TD class="xl64" style="border-left: medium none; border-top: medium none;"&gt;30015746&lt;/TD&gt;&lt;TD class="xl64" style="border-left: medium none; border-top: medium none;"&gt;1&lt;/TD&gt;&lt;TD align="right" class="xl65" style="border-left: medium none; border-top: medium none;"&gt;08/02/2015&lt;/TD&gt;&lt;TD align="right" class="xl66" style="border-left: medium none; border-top: medium none;"&gt;10:30:00 AM&lt;/TD&gt;&lt;TD align="right" class="xl67" style="border-left: medium none; border-top: medium none;"&gt;7:50:00 AM&lt;/TD&gt;&lt;TD align="right" class="xl67" style="border-left: medium none; border-top: medium none;"&gt;7:10:00 AM&lt;/TD&gt;&lt;TD align="right" class="xl66" style="border-top: medium none;"&gt;4:00:00 PM&lt;/TD&gt;&lt;TD align="right" class="xl66" style="border-left: medium none; border-top: medium none;"&gt;4:30:00 PM&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl64" height="20" style="border-top: medium none;"&gt;5&lt;/TD&gt;&lt;TD class="xl64" style="border-left: medium none; border-top: medium none;"&gt;30015746&lt;/TD&gt;&lt;TD class="xl64" style="border-left: medium none; border-top: medium none;"&gt;0&lt;/TD&gt;&lt;TD align="right" class="xl65" style="border-left: medium none; border-top: medium none;"&gt;08/02/2015&lt;/TD&gt;&lt;TD align="right" class="xl66" style="border-left: medium none; border-top: medium none;"&gt;10:50:00 AM&lt;/TD&gt;&lt;TD align="right" class="xl67" style="border-left: medium none; border-top: medium none;"&gt;7:50:00 AM&lt;/TD&gt;&lt;TD align="right" class="xl67" style="border-left: medium none; border-top: medium none;"&gt;7:10:00 AM&lt;/TD&gt;&lt;TD align="right" class="xl66" style="border-top: medium none;"&gt;4:00:00 PM&lt;/TD&gt;&lt;TD align="right" class="xl66" style="border-left: medium none; border-top: medium none;"&gt;4:30:00 PM&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl64" height="20" style="border-top: medium none;"&gt;6&lt;/TD&gt;&lt;TD class="xl64" style="border-left: medium none; border-top: medium none;"&gt;30015746&lt;/TD&gt;&lt;TD class="xl64" style="border-left: medium none; border-top: medium none;"&gt;1&lt;/TD&gt;&lt;TD align="right" class="xl65" style="border-left: medium none; border-top: medium none;"&gt;08/02/2015&lt;/TD&gt;&lt;TD align="right" class="xl66" style="border-left: medium none; border-top: medium none;"&gt;11:30:00 AM&lt;/TD&gt;&lt;TD align="right" class="xl67" style="border-left: medium none; border-top: medium none;"&gt;7:50:00 AM&lt;/TD&gt;&lt;TD align="right" class="xl67" style="border-left: medium none; border-top: medium none;"&gt;7:10:00 AM&lt;/TD&gt;&lt;TD align="right" class="xl66" style="border-top: medium none;"&gt;4:00:00 PM&lt;/TD&gt;&lt;TD align="right" class="xl66" style="border-left: medium none; border-top: medium none;"&gt;4:30:00 PM&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl64" height="20" style="border-top: medium none;"&gt;7&lt;/TD&gt;&lt;TD class="xl64" style="border-left: medium none; border-top: medium none;"&gt;30015746&lt;/TD&gt;&lt;TD class="xl64" style="border-left: medium none; border-top: medium none;"&gt;0&lt;/TD&gt;&lt;TD align="right" class="xl65" style="border-left: medium none; border-top: medium none;"&gt;08/02/2015&lt;/TD&gt;&lt;TD align="right" class="xl66" style="border-left: medium none; border-top: medium none;"&gt;12:40:00 PM&lt;/TD&gt;&lt;TD align="right" class="xl67" style="border-left: medium none; border-top: medium none;"&gt;7:50:00 AM&lt;/TD&gt;&lt;TD align="right" class="xl67" style="border-left: medium none; border-top: medium none;"&gt;7:10:00 AM&lt;/TD&gt;&lt;TD align="right" class="xl66" style="border-top: medium none;"&gt;4:00:00 PM&lt;/TD&gt;&lt;TD align="right" class="xl66" style="border-left: medium none; border-top: medium none;"&gt;4:30:00 PM&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl64" height="20" style="border-top: medium none;"&gt;8&lt;/TD&gt;&lt;TD class="xl64" style="border-left: medium none; border-top: medium none;"&gt;30015746&lt;/TD&gt;&lt;TD class="xl64" style="border-left: medium none; border-top: medium none;"&gt;1&lt;/TD&gt;&lt;TD align="right" class="xl65" style="border-left: medium none; border-top: medium none;"&gt;08/02/2015&lt;/TD&gt;&lt;TD align="right" class="xl66" style="border-left: medium none; border-top: medium none;"&gt;2:50:00 PM&lt;/TD&gt;&lt;TD align="right" class="xl67" style="border-left: medium none; border-top: medium none;"&gt;7:50:00 AM&lt;/TD&gt;&lt;TD align="right" class="xl67" style="border-left: medium none; border-top: medium none;"&gt;7:10:00 AM&lt;/TD&gt;&lt;TD align="right" class="xl66" style="border-top: medium none;"&gt;4:00:00 PM&lt;/TD&gt;&lt;TD align="right" class="xl66" style="border-left: medium none; border-top: medium none;"&gt;4:30:00 PM&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl64" height="20" style="border-top: medium none;"&gt;9&lt;/TD&gt;&lt;TD class="xl64" style="border-left: medium none; border-top: medium none;"&gt;30015746&lt;/TD&gt;&lt;TD class="xl64" style="border-left: medium none; border-top: medium none;"&gt;0&lt;/TD&gt;&lt;TD align="right" class="xl65" style="border-left: medium none; border-top: medium none;"&gt;08/02/2015&lt;/TD&gt;&lt;TD align="right" class="xl66" style="border-left: medium none; border-top: medium none;"&gt;3:10:00 PM&lt;/TD&gt;&lt;TD align="right" class="xl67" style="border-left: medium none; border-top: medium none;"&gt;7:50:00 AM&lt;/TD&gt;&lt;TD align="right" class="xl67" style="border-left: medium none; border-top: medium none;"&gt;7:10:00 AM&lt;/TD&gt;&lt;TD align="right" class="xl66" style="border-top: medium none;"&gt;4:00:00 PM&lt;/TD&gt;&lt;TD align="right" class="xl66" style="border-left: medium none; border-top: medium none;"&gt;4:30:00 PM&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl64" height="20" style="border-top: medium none;"&gt;10&lt;/TD&gt;&lt;TD class="xl64" style="border-left: medium none; border-top: medium none;"&gt;30015746&lt;/TD&gt;&lt;TD class="xl64" style="border-left: medium none; border-top: medium none;"&gt;1&lt;/TD&gt;&lt;TD align="right" class="xl65" style="border-left: medium none; border-top: medium none;"&gt;08/02/2015&lt;/TD&gt;&lt;TD align="right" class="xl66" style="border-left: medium none; border-top: medium none;"&gt;4:30:00 PM&lt;/TD&gt;&lt;TD align="right" class="xl67" style="border-left: medium none; border-top: medium none;"&gt;7:50:00 AM&lt;/TD&gt;&lt;TD align="right" class="xl67" style="border-left: medium none; border-top: medium none;"&gt;7:10:00 AM&lt;/TD&gt;&lt;TD align="right" class="xl66" style="border-top: medium none;"&gt;4:00:00 PM&lt;/TD&gt;&lt;TD align="right" class="xl66" style="border-left: medium none; border-top: medium none;"&gt;4:30:00 PM&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Kindly fill flag value and revert.&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;Zain.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 05 Oct 2015 07:59:13 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-merge-records-from-two-different-fields-from-same-table/m-p/994512#M338551</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-10-05T07:59:13Z</dc:date>
    </item>
    <item>
      <title>Re: How to merge records from two different fields from same table</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-merge-records-from-two-different-fields-from-same-table/m-p/994513#M338552</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;set vEarlyTime=(7*60+10)/(24*60);&lt;/P&gt;&lt;P&gt;set vOverTime=16/24;&lt;/P&gt;&lt;P&gt;Data:&lt;/P&gt;&lt;P&gt;LOAD id, &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; EmpID, &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; EventID, &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Date,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; //Date(Date#(subDate,'MM-DD-YYYY'),'MM-DD-YYYY') as Date, &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Time&lt;/P&gt;&lt;P&gt;FROM&lt;/P&gt;&lt;P&gt;&lt;C&gt;&lt;/C&gt;&lt;/P&gt;&lt;P&gt;(ooxml, embedded labels, table is Sheet1);&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;left join(Data)&lt;/P&gt;&lt;P&gt;//load EmpID,Date,&amp;nbsp; Time(min(Time),'hh:mm:ss') as MinTime,Time(Max(Time),'hh:mm:ss') as MaxTime Resident Data Group By EmpID,Date;&lt;/P&gt;&lt;P&gt;load EmpID,Date,&amp;nbsp; min(Time) as MinTime, Max(Time)&amp;nbsp; as MaxTime Resident Data Group By EmpID,Date;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;NoConcatenate&lt;/P&gt;&lt;P&gt;final:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;load&amp;nbsp; *, if(MinTime&amp;lt;=$(vEarlyTime),'Early','Late') as Flag Resident Data;&lt;/P&gt;&lt;P&gt;load&amp;nbsp; *, if(MaxTime&amp;gt;=$(vOverTime),'Over','Within') as Flag Resident Data;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;drop Table Data;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;hth&lt;/P&gt;&lt;P&gt;Sasi&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 05 Oct 2015 08:00:48 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-merge-records-from-two-different-fields-from-same-table/m-p/994513#M338552</guid>
      <dc:creator>sasiparupudi1</dc:creator>
      <dc:date>2015-10-05T08:00:48Z</dc:date>
    </item>
    <item>
      <title>Re: How to merge records from two different fields from same table</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-merge-records-from-two-different-fields-from-same-table/m-p/994514#M338553</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;Please find the attached QVW. !&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 05 Oct 2015 08:06:17 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-merge-records-from-two-different-fields-from-same-table/m-p/994514#M338553</guid>
      <dc:creator />
      <dc:date>2015-10-05T08:06:17Z</dc:date>
    </item>
    <item>
      <title>Re: How to merge records from two different fields from same table</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-merge-records-from-two-different-fields-from-same-table/m-p/994515#M338554</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;i dont have licensed version plz share script&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 05 Oct 2015 09:54:17 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-merge-records-from-two-different-fields-from-same-table/m-p/994515#M338554</guid>
      <dc:creator />
      <dc:date>2015-10-05T09:54:17Z</dc:date>
    </item>
  </channel>
</rss>

