<?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 days writing behavior in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Consecutive-days-writing-behavior/m-p/1400821#M424685</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello:&lt;/P&gt;&lt;P&gt;I am using Qlik sense 3.0 SR3 enterprise version. I Want to create a report of Writers (Practitioners/Doctors) who wrote most consecutive days in a given time period.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For example, for month of Jan-2017 (31 days), a Practitioner &lt;STRONG&gt;A&lt;/STRONG&gt; prescribed for 6 consecutive Days (Jan-1st to Jan-6th) and there was a gap of 4 days (Jan-7th to Jan-10th) and then again prescribed for another 9 consecutive days &lt;SPAN style="font-size: 13.3333px;"&gt;(Jan-11th to Jan-19th) &lt;/SPAN&gt; and with another gap of 12 days (Jan-20th to Jan-31st). So for Jan-2017, Practitioner A wrote Max of (6, 9 ) as 9 days consistently.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Practitioner &lt;STRONG&gt;B&lt;/STRONG&gt; wrote for 14 consecutive days (Jan-1st to Jan-14th), followed by a gap of gap of 12 days (Jan-15th to Jan-26th) and wrote for another 4 days (Jan-27th to Jan-31st) consecutively. So for Jan-2017, Practitioner B wrote max of (14,4) as 14 days consistently.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Consecutive days should respect time filter we select (i.e. within 1 Week, 2 weeks, 3 weeks, a month, a quarter or a year etc..). So if user selects a week 1 or week 2 or week 3 or a month or a quarter or a year no practitioners are over 7, 14, 21, (as many days in month), 90 days, 365 consecutive days respectively. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am thinking this needs to occur on the fly in expression. Any help would be appreciated. Thanks. &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 12 Sep 2017 20:16:51 GMT</pubDate>
    <dc:creator>nimeshpa</dc:creator>
    <dc:date>2017-09-12T20:16:51Z</dc:date>
    <item>
      <title>Consecutive days writing behavior</title>
      <link>https://community.qlik.com/t5/QlikView/Consecutive-days-writing-behavior/m-p/1400821#M424685</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello:&lt;/P&gt;&lt;P&gt;I am using Qlik sense 3.0 SR3 enterprise version. I Want to create a report of Writers (Practitioners/Doctors) who wrote most consecutive days in a given time period.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For example, for month of Jan-2017 (31 days), a Practitioner &lt;STRONG&gt;A&lt;/STRONG&gt; prescribed for 6 consecutive Days (Jan-1st to Jan-6th) and there was a gap of 4 days (Jan-7th to Jan-10th) and then again prescribed for another 9 consecutive days &lt;SPAN style="font-size: 13.3333px;"&gt;(Jan-11th to Jan-19th) &lt;/SPAN&gt; and with another gap of 12 days (Jan-20th to Jan-31st). So for Jan-2017, Practitioner A wrote Max of (6, 9 ) as 9 days consistently.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Practitioner &lt;STRONG&gt;B&lt;/STRONG&gt; wrote for 14 consecutive days (Jan-1st to Jan-14th), followed by a gap of gap of 12 days (Jan-15th to Jan-26th) and wrote for another 4 days (Jan-27th to Jan-31st) consecutively. So for Jan-2017, Practitioner B wrote max of (14,4) as 14 days consistently.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Consecutive days should respect time filter we select (i.e. within 1 Week, 2 weeks, 3 weeks, a month, a quarter or a year etc..). So if user selects a week 1 or week 2 or week 3 or a month or a quarter or a year no practitioners are over 7, 14, 21, (as many days in month), 90 days, 365 consecutive days respectively. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am thinking this needs to occur on the fly in expression. Any help would be appreciated. Thanks. &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 12 Sep 2017 20:16:51 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Consecutive-days-writing-behavior/m-p/1400821#M424685</guid>
      <dc:creator>nimeshpa</dc:creator>
      <dc:date>2017-09-12T20:16:51Z</dc:date>
    </item>
  </channel>
</rss>

