<?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: need help with this expression in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/need-help-with-this-expression/m-p/628893#M1093582</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you so much Toni, hats off man...&amp;nbsp; &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sat, 10 May 2014 12:14:32 GMT</pubDate>
    <dc:creator />
    <dc:date>2014-05-10T12:14:32Z</dc:date>
    <item>
      <title>need help with this expression</title>
      <link>https://community.qlik.com/t5/QlikView/need-help-with-this-expression/m-p/628891#M1093580</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;=Count({&amp;lt;IN1={"&amp;gt;$(=SHIFTSTARTTIME)"},time((IN1-SHIFTSTARTTIME),'hh:mm:ss')={"&amp;lt;$(=00:10:00)"}&amp;gt;}Empid)&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;IN1 - Field&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Shiftstarttime- field&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;Empid&lt;/SPAN&gt;- primary key field&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Empid- Employee id&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;IN1- in this Employee entry time is given in format '09-Apr-2014 09:35:00'&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Shiftstarttime- in this Employee Shift Start time is given in format '09-Apr-2014 08:30:00'&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;by above expression i want to count no .of employee who are late but are late between 0- 10 min... but error is coming please help&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 10 May 2014 08:19:35 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/need-help-with-this-expression/m-p/628891#M1093580</guid>
      <dc:creator />
      <dc:date>2014-05-10T08:19:35Z</dc:date>
    </item>
    <item>
      <title>Re: need help with this expression</title>
      <link>https://community.qlik.com/t5/QlikView/need-help-with-this-expression/m-p/628892#M1093581</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;It is generally a good approach to try and pre-calculate as much as possible in the script, to make the front end expressions simpler and more efficient.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In my attached example I have added two fields in the the data model. The first one is called Delay, and represents the interval corresponding to the difference between expected and registered times. The second field is a flag that is true (-1) if the delay is larger than 10 minutes, and false (0) if the delay is smaller than 10 minutes or if the employee is earlier.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This means that in the front-end expression you only need to address the delay flag to find the data rows that has been flagged.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=count({&amp;lt;IsLaterThan10Min={"-1"}&amp;gt;} Empid)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 10 May 2014 08:47:46 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/need-help-with-this-expression/m-p/628892#M1093581</guid>
      <dc:creator>ToniKautto</dc:creator>
      <dc:date>2014-05-10T08:47:46Z</dc:date>
    </item>
    <item>
      <title>Re: need help with this expression</title>
      <link>https://community.qlik.com/t5/QlikView/need-help-with-this-expression/m-p/628893#M1093582</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you so much Toni, hats off man...&amp;nbsp; &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 10 May 2014 12:14:32 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/need-help-with-this-expression/m-p/628893#M1093582</guid>
      <dc:creator />
      <dc:date>2014-05-10T12:14:32Z</dc:date>
    </item>
  </channel>
</rss>

