<?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: Break Time Calculation in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Break-Time-Calculation/m-p/1456535#M435268</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;can you explain your sample data? provide required output w.r.t your data?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;to find time / date difference you can use interval()&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;see below thread&lt;/P&gt;&lt;P&gt;&lt;A href="http://help.qlik.com/en-US/qlikview/November2017/Subsystems/Client/Content/Scripting/FormattingFunctions/Interval.htm" title="http://help.qlik.com/en-US/qlikview/November2017/Subsystems/Client/Content/Scripting/FormattingFunctions/Interval.htm"&gt;Interval - script and chart function ‒ QlikView&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Prashant Sangle&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 29 Dec 2017 06:49:59 GMT</pubDate>
    <dc:creator>PrashantSangle</dc:creator>
    <dc:date>2017-12-29T06:49:59Z</dc:date>
    <item>
      <title>Break Time Calculation</title>
      <link>https://community.qlik.com/t5/QlikView/Break-Time-Calculation/m-p/1456534#M435267</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dear All,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm having employee data with me contains Name,In &amp;amp; Out Time, Date and a flag InOut 0 as In 1 as Out now i want to display the break time for every&amp;nbsp; Out and&amp;nbsp; In time calculation&lt;/P&gt;&lt;P&gt;let say i'm out on&amp;nbsp; 01:30 pm and in on 02:00 pm so break time is 30 mins.&lt;/P&gt;&lt;P&gt;Can any one help me to achieve this.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Attached&amp;nbsp; sample data for reference purpose &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;PFA.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Kakani.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt; &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 29 Dec 2017 04:46:29 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Break-Time-Calculation/m-p/1456534#M435267</guid>
      <dc:creator>kakani87</dc:creator>
      <dc:date>2017-12-29T04:46:29Z</dc:date>
    </item>
    <item>
      <title>Re: Break Time Calculation</title>
      <link>https://community.qlik.com/t5/QlikView/Break-Time-Calculation/m-p/1456535#M435268</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;can you explain your sample data? provide required output w.r.t your data?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;to find time / date difference you can use interval()&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;see below thread&lt;/P&gt;&lt;P&gt;&lt;A href="http://help.qlik.com/en-US/qlikview/November2017/Subsystems/Client/Content/Scripting/FormattingFunctions/Interval.htm" title="http://help.qlik.com/en-US/qlikview/November2017/Subsystems/Client/Content/Scripting/FormattingFunctions/Interval.htm"&gt;Interval - script and chart function ‒ QlikView&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Prashant Sangle&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 29 Dec 2017 06:49:59 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Break-Time-Calculation/m-p/1456535#M435268</guid>
      <dc:creator>PrashantSangle</dc:creator>
      <dc:date>2017-12-29T06:49:59Z</dc:date>
    </item>
    <item>
      <title>Re: Break Time Calculation</title>
      <link>https://community.qlik.com/t5/QlikView/Break-Time-Calculation/m-p/1456536#M435269</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Prashant,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This is employee access details contains date , Name and access details like each and every swipe where InOut is a flag '0' entry is swipe in , flag '1' entry&amp;nbsp; is swipeout &lt;/P&gt;&lt;P&gt;as follows.&lt;/P&gt;&lt;P&gt;now for emp chitra S out time is 11:12:18:AM ans In time is 11:30:06 AM break time of her is around 18 mins&lt;/P&gt;&lt;P&gt;my requirement is for every out and in of an employee should be displayed&amp;nbsp; &lt;/P&gt;&lt;P&gt;&lt;IMG alt="XsDetails.png" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/188435_XsDetails.png" style="height: 349px; width: 620px;" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 29 Dec 2017 09:04:05 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Break-Time-Calculation/m-p/1456536#M435269</guid>
      <dc:creator>kakani87</dc:creator>
      <dc:date>2017-12-29T09:04:05Z</dc:date>
    </item>
    <item>
      <title>Re: Break Time Calculation</title>
      <link>https://community.qlik.com/t5/QlikView/Break-Time-Calculation/m-p/1456537#M435270</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Like this&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;XsDetails:&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;LOAD tran_date, &lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; EmpID, &lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; EmpName, &lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; InOut, &lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Time&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;FROM&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Emp_XsDetails.xls&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;(biff, embedded labels, table is Sheet1$);&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;NoConcatenate&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;XsDetails1:&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;load * ,&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;if(Previous(EmpID)=EmpID and InOut =0,Interval(Time-PEEK(Time),'mm'),'N/A') as [break in mins]&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Resident &lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;XsDetails Order by tran_date, &lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; EmpID, &lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; EmpName, &lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp; &lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Time;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; drop Table XsDetails;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="Capture.PNG" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/188431_Capture.PNG" style="height: 333px; width: 620px;" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 29 Dec 2017 09:52:13 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Break-Time-Calculation/m-p/1456537#M435270</guid>
      <dc:creator>pradosh_thakur</dc:creator>
      <dc:date>2017-12-29T09:52:13Z</dc:date>
    </item>
    <item>
      <title>Re: Break Time Calculation</title>
      <link>https://community.qlik.com/t5/QlikView/Break-Time-Calculation/m-p/1456538#M435271</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you Pradosh for spending your valuable time to help me out of this scenario. &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 29 Dec 2017 11:28:11 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Break-Time-Calculation/m-p/1456538#M435271</guid>
      <dc:creator>kakani87</dc:creator>
      <dc:date>2017-12-29T11:28:11Z</dc:date>
    </item>
  </channel>
</rss>

