<?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 consecutive leave days in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/consecutive-leave-days/m-p/85108#M14002</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Please help, I trying to check employees&amp;nbsp; who took their leave in consecutive days.&lt;/P&gt;&lt;P&gt;I have used this expression but its not working.&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;sum(if(START_DATE - Before([LEAVE START DATE])&amp;lt;=1,[Consecutive Days])) &lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt; &lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;I checking the difference from previous row with the current. &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 24 May 2018 12:34:21 GMT</pubDate>
    <dc:creator>caswellmotati</dc:creator>
    <dc:date>2018-05-24T12:34:21Z</dc:date>
    <item>
      <title>consecutive leave days</title>
      <link>https://community.qlik.com/t5/QlikView/consecutive-leave-days/m-p/85108#M14002</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Please help, I trying to check employees&amp;nbsp; who took their leave in consecutive days.&lt;/P&gt;&lt;P&gt;I have used this expression but its not working.&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;sum(if(START_DATE - Before([LEAVE START DATE])&amp;lt;=1,[Consecutive Days])) &lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt; &lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;I checking the difference from previous row with the current. &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 24 May 2018 12:34:21 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/consecutive-leave-days/m-p/85108#M14002</guid>
      <dc:creator>caswellmotati</dc:creator>
      <dc:date>2018-05-24T12:34:21Z</dc:date>
    </item>
    <item>
      <title>Re: consecutive leave days</title>
      <link>https://community.qlik.com/t5/QlikView/consecutive-leave-days/m-p/85109#M14003</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Please see the thread here: &lt;A _jive_internal="true" href="https://community.qlik.com/thread/110326"&gt;https://community.qlik.com/thread/110326&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Some code in the load script counts sequential worked days.&amp;nbsp; Then, your expression can be something like: If(max(seqdays) &amp;gt; 1, 'Yes','No').&amp;nbsp; Provided you have Employee as a dimension.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;HTH,&lt;/P&gt;&lt;P&gt;Jason&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 24 May 2018 17:37:47 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/consecutive-leave-days/m-p/85109#M14003</guid>
      <dc:creator>jcampbell474</dc:creator>
      <dc:date>2018-05-24T17:37:47Z</dc:date>
    </item>
  </channel>
</rss>

