<?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: Data Analysis in groups/blocks - for vehicle tracking system in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Data-Analysis-in-groups-blocks-for-vehicle-tracking-system/m-p/1081101#M360226</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Are you looking some thing like bellow..&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;if you are looking some thing different, specify the expected output and provide the data...&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="Test.png" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/115457_Test.png" style="height: auto;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Pradeep&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 22 Feb 2016 11:14:32 GMT</pubDate>
    <dc:creator>PradeepReddy</dc:creator>
    <dc:date>2016-02-22T11:14:32Z</dc:date>
    <item>
      <title>Data Analysis in groups/blocks - for vehicle tracking system</title>
      <link>https://community.qlik.com/t5/QlikView/Data-Analysis-in-groups-blocks-for-vehicle-tracking-system/m-p/1081097#M360222</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello All,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope everyone is well.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;We are working on a problem in which we have large data ~ 10G and would like to do some data analysis on it.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;We are working with Vehicle Tracking System data.&amp;nbsp;&amp;nbsp; We have a table by the name of DataLog in which we have the following fields:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;log_id&lt;/P&gt;&lt;P&gt;log_tun_id - vehicle id&lt;/P&gt;&lt;P&gt;log_dateintime - datetime&lt;/P&gt;&lt;P&gt;log_di1 - event&lt;/P&gt;&lt;P&gt;log_port - communication port&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Each minute there is a record inserted in the Datalog table for each vehicle in the above table.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What we want to do is to measure the number of packets received on each port when the vehicle engine is on.&amp;nbsp; The way we measure this is the following&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;log_di1 = 1 - Ignition ON&lt;/P&gt;&lt;P&gt;log_di1 = 0 - Ignition OFF&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;we want to find out the number of packets received between Ignition ON and Ignition OFF for each vehicle.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For example&lt;/P&gt;&lt;P&gt;log_dateintime, log_tun_id, di1, log_port&lt;/P&gt;&lt;P&gt;Jan 10, 2016 10:00 am , 1200, 1, UDP-1&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;Jan 10, 2016 10:03 am , 1200, 1, UDP-2&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;Jan 10, 2016 10:04 am , 1200, 1, UDP-1&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;Jan 10, 2016 10:07 am , 1200, 1, UDP-4&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;Jan 10, 2016 10:10 am , 1200, 0, UDP-2&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;Now in the above example we get to know that the vehicle engine was "ON" from 10:00am to 10:10 am - for 10 minutes but we received only 5 packets where as we should have received 10 packets (1 packet per minute).&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;How can i group by the log_tun_id and get the first instance of di1=1 and then the next instance of di1=0 to make it a block that the vehicle engine is "ON".&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px; line-height: 1.5em;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px; line-height: 1.5em;"&gt;After that I can do the analysis on the port number , dates etc.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px; line-height: 1.5em;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px; line-height: 1.5em;"&gt;Sample Data - &lt;A href="https://www.dropbox.com/s/en2j7mohe94dfq6/portanalysis.csv?dl=0" title="https://www.dropbox.com/s/en2j7mohe94dfq6/portanalysis.csv?dl=0"&gt;https://www.dropbox.com/s/en2j7mohe94dfq6/portanalysis.csv?dl=0&lt;/A&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px; line-height: 1.5em;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;Resultant Data - &lt;A href="https://www.dropbox.com/s/s9phja7tkh0stdn/portanalysis-result.xlsx?dl=0" title="https://www.dropbox.com/s/s9phja7tkh0stdn/portanalysis-result.xlsx?dl=0"&gt;https://www.dropbox.com/s/s9phja7tkh0stdn/portanalysis-result.xlsx?dl=0&lt;/A&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;Will appreciate if someone can assist.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;Thanks.&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Message was edited by: Syed Hussain&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 22 Feb 2016 07:51:22 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Data-Analysis-in-groups-blocks-for-vehicle-tracking-system/m-p/1081097#M360222</guid>
      <dc:creator>sjhussain</dc:creator>
      <dc:date>2016-02-22T07:51:22Z</dc:date>
    </item>
    <item>
      <title>Re: Data Analysis in groups/blocks - for vehicle tracking system</title>
      <link>https://community.qlik.com/t5/QlikView/Data-Analysis-in-groups-blocks-for-vehicle-tracking-system/m-p/1081098#M360223</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;HI,&lt;/P&gt;&lt;P&gt;Can you please share your sample data to work on?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 22 Feb 2016 08:16:52 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Data-Analysis-in-groups-blocks-for-vehicle-tracking-system/m-p/1081098#M360223</guid>
      <dc:creator>sasikanth</dc:creator>
      <dc:date>2016-02-22T08:16:52Z</dc:date>
    </item>
    <item>
      <title>Re: Data Analysis in groups/blocks - for vehicle tracking system</title>
      <link>https://community.qlik.com/t5/QlikView/Data-Analysis-in-groups-blocks-for-vehicle-tracking-system/m-p/1081099#M360224</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Sasi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please find below the link to the sample data to work with.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://www.dropbox.com/s/en2j7mohe94dfq6/portanalysis.csv?dl=0" title="https://www.dropbox.com/s/en2j7mohe94dfq6/portanalysis.csv?dl=0"&gt;Dropbox - portanalysis.csv&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 22 Feb 2016 09:31:00 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Data-Analysis-in-groups-blocks-for-vehicle-tracking-system/m-p/1081099#M360224</guid>
      <dc:creator>sjhussain</dc:creator>
      <dc:date>2016-02-22T09:31:00Z</dc:date>
    </item>
    <item>
      <title>Re: Data Analysis in groups/blocks - for vehicle tracking system</title>
      <link>https://community.qlik.com/t5/QlikView/Data-Analysis-in-groups-blocks-for-vehicle-tracking-system/m-p/1081100#M360225</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;not able to access the data set.. can you attach the sample data? &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 22 Feb 2016 10:29:25 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Data-Analysis-in-groups-blocks-for-vehicle-tracking-system/m-p/1081100#M360225</guid>
      <dc:creator>PradeepReddy</dc:creator>
      <dc:date>2016-02-22T10:29:25Z</dc:date>
    </item>
    <item>
      <title>Re: Data Analysis in groups/blocks - for vehicle tracking system</title>
      <link>https://community.qlik.com/t5/QlikView/Data-Analysis-in-groups-blocks-for-vehicle-tracking-system/m-p/1081101#M360226</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Are you looking some thing like bellow..&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;if you are looking some thing different, specify the expected output and provide the data...&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="Test.png" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/115457_Test.png" style="height: auto;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Pradeep&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 22 Feb 2016 11:14:32 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Data-Analysis-in-groups-blocks-for-vehicle-tracking-system/m-p/1081101#M360226</guid>
      <dc:creator>PradeepReddy</dc:creator>
      <dc:date>2016-02-22T11:14:32Z</dc:date>
    </item>
  </channel>
</rss>

