<?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: Count of 3 Consecutive Days in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Count-of-3-Consecutive-Days/m-p/1007083#M341981</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;PFA&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sun, 13 Dec 2015 15:38:50 GMT</pubDate>
    <dc:creator>maxgro</dc:creator>
    <dc:date>2015-12-13T15:38:50Z</dc:date>
    <item>
      <title>Count of 3 Consecutive Days</title>
      <link>https://community.qlik.com/t5/QlikView/Count-of-3-Consecutive-Days/m-p/1007076#M341974</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope all is well with everyone.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;We are working on requirement to find out 3 consecutive days for a non moving vehicle.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Our table is as follows:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Vehicle No., Date, Moving&lt;/P&gt;&lt;P&gt;111, 01/01/2015, Yes&lt;/P&gt;&lt;P&gt;112, 01/01/2015, No&lt;/P&gt;&lt;P&gt;113, 01/01/2015, Yes&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;111, 01/02/2015, Yes&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;112, 01/02/2015, No&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;113, 01/02/2015, Yes&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;111, 01/03/2015, Yes&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;112, 01/03/2015, No&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;113, 01/03/2015, Yes&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;Vehicle 112 did not travel on 1st, 2nd and 3rd so the count will be 1 in this case.&amp;nbsp; We disregard the other vehicles as they moved.&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;We have to keep in account the working days.&amp;nbsp; The working days from Sun, Mon, Tue, Wed, Thu.&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;So if a car did not move on Sun, Mon, Tue then it would be considered as Count 1&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;Also taking the weekends away - not moving in Wed, Thu, Sun would be considered as Count 1&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;Thanks.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 13 Dec 2015 11:58:08 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Count-of-3-Consecutive-Days/m-p/1007076#M341974</guid>
      <dc:creator>sjhussain</dc:creator>
      <dc:date>2015-12-13T11:58:08Z</dc:date>
    </item>
    <item>
      <title>Re: Count of 3 Consecutive Days</title>
      <link>https://community.qlik.com/t5/QlikView/Count-of-3-Consecutive-Days/m-p/1007077#M341975</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You want this to be done at the script level or the front end of the application?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 13 Dec 2015 12:47:29 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Count-of-3-Consecutive-Days/m-p/1007077#M341975</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2015-12-13T12:47:29Z</dc:date>
    </item>
    <item>
      <title>Re: Count of 3 Consecutive Days</title>
      <link>https://community.qlik.com/t5/QlikView/Count-of-3-Consecutive-Days/m-p/1007078#M341976</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dear Sunny,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;We want to show the count report by the vehicle number to the customer.&amp;nbsp; So either load script or set analysis should be fine.&amp;nbsp; As long as we are able to show it.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;We think script should be easier?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 13 Dec 2015 13:38:46 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Count-of-3-Consecutive-Days/m-p/1007078#M341976</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-12-13T13:38:46Z</dc:date>
    </item>
    <item>
      <title>Re: Count of 3 Consecutive Days</title>
      <link>https://community.qlik.com/t5/QlikView/Count-of-3-Consecutive-Days/m-p/1007079#M341977</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dear Sunny,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;We would like to show the result in form of table.&amp;nbsp; So as long as we get the correct result it can be either load script or set analysis.&amp;nbsp; Does not really matter.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But i think Load script would be much easier?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 13 Dec 2015 13:58:30 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Count-of-3-Consecutive-Days/m-p/1007079#M341977</guid>
      <dc:creator>sjhussain</dc:creator>
      <dc:date>2015-12-13T13:58:30Z</dc:date>
    </item>
    <item>
      <title>Re: Count of 3 Consecutive Days</title>
      <link>https://community.qlik.com/t5/QlikView/Count-of-3-Consecutive-Days/m-p/1007080#M341978</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;That make sense, but I think your sample dates have weekend dates in it as 2nd and 3rd January 2015 were Friday and Saturday. The reason I ask is because I want to make sure that I am reading it correctly &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 13 Dec 2015 14:28:49 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Count-of-3-Consecutive-Days/m-p/1007080#M341978</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2015-12-13T14:28:49Z</dc:date>
    </item>
    <item>
      <title>Re: Count of 3 Consecutive Days</title>
      <link>https://community.qlik.com/t5/QlikView/Count-of-3-Consecutive-Days/m-p/1007081#M341979</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dear Sunny,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Sorry for the sample data - it was just meant to be sample - I did not realize it was fri / sat.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Nevertheless I think you understood what we are looking for &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Awaiting your response.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 13 Dec 2015 14:41:37 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Count-of-3-Consecutive-Days/m-p/1007081#M341979</guid>
      <dc:creator>sjhussain</dc:creator>
      <dc:date>2015-12-13T14:41:37Z</dc:date>
    </item>
    <item>
      <title>Re: Count of 3 Consecutive Days</title>
      <link>https://community.qlik.com/t5/QlikView/Count-of-3-Consecutive-Days/m-p/1007082#M341980</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Tried to add some more data, but was not sure if this is how your data is;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Vehicle No., Date, Moving&lt;/P&gt;&lt;P&gt;111, 01/01/2015, Yes&lt;/P&gt;&lt;P&gt;112, 01/01/2015, No&lt;/P&gt;&lt;P&gt;113, 01/01/2015, Yes&lt;/P&gt;&lt;P&gt;111, 01/02/2015, Yes&lt;/P&gt;&lt;P&gt;112, 01/02/2015, No&lt;/P&gt;&lt;P&gt;113, 01/02/2015, Yes&lt;/P&gt;&lt;P&gt;111, 01/03/2015, Yes&lt;/P&gt;&lt;P&gt;112, 01/03/2015, No&lt;/P&gt;&lt;P&gt;113, 01/03/2015, Yes&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;112, 01/04/2015, No&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;112, 01/05/2015, No&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;112, 01/06/2015, No&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So if the most recent three days, the vehicle hasn't moved then it is Not Moved for Moving Flag.&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/108876_Capture.PNG" style="height: auto;" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 13 Dec 2015 15:12:28 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Count-of-3-Consecutive-Days/m-p/1007082#M341980</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2015-12-13T15:12:28Z</dc:date>
    </item>
    <item>
      <title>Re: Count of 3 Consecutive Days</title>
      <link>https://community.qlik.com/t5/QlikView/Count-of-3-Consecutive-Days/m-p/1007083#M341981</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;PFA&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 13 Dec 2015 15:38:50 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Count-of-3-Consecutive-Days/m-p/1007083#M341981</guid>
      <dc:creator>maxgro</dc:creator>
      <dc:date>2015-12-13T15:38:50Z</dc:date>
    </item>
  </channel>
</rss>

