<?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 need help in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/need-help/m-p/995714#M977470</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;i have a table with data like&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ServerName , Timestamp, Service,Status&lt;/P&gt;&lt;P&gt;abcd,25/07/2015 10:12:45 AM,service1,stopped&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333330154419px;"&gt;abcd,25/07/2015 10:12:45 AM,&lt;SPAN style="font-size: 13.3333330154419px;"&gt;service2&lt;/SPAN&gt;,running&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333330154419px;"&gt;abcd,25/07/2015 10:12:47 AM,&lt;SPAN style="font-size: 13.3333330154419px;"&gt;service3&lt;/SPAN&gt;,running&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333330154419px;"&gt;abcd,25/07/2015 10:12:48 AM,&lt;SPAN style="font-size: 13.3333330154419px;"&gt;service4&lt;/SPAN&gt;,running&lt;/SPAN&gt;&lt;SPAN style="font-size: 13.3333330154419px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333330154419px;"&gt;efgh,25/07/2015 10:12:55 AM,&lt;SPAN style="font-size: 13.3333330154419px;"&gt;service1&lt;/SPAN&gt;,running&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333330154419px;"&gt;&lt;SPAN style="font-size: 13.3333330154419px;"&gt;efgh&lt;/SPAN&gt;,25/07/2015 10:12:55 AM,&lt;SPAN style="font-size: 13.3333330154419px;"&gt;service2&lt;/SPAN&gt;,running&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333330154419px;"&gt;&lt;SPAN style="font-size: 13.3333330154419px;"&gt;efgh&lt;/SPAN&gt;,25/07/2015 10:12:56 AM,&lt;SPAN style="font-size: 13.3333330154419px;"&gt;service3&lt;/SPAN&gt;,stopped&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333330154419px;"&gt;&lt;SPAN style="font-size: 13.3333330154419px;"&gt;efgh&lt;/SPAN&gt;&lt;SPAN style="font-size: 13.3333330154419px;"&gt;,25/07/2015 10:12:57 AM,&lt;/SPAN&gt;&lt;SPAN style="font-size: 13.3333330154419px;"&gt;service4&lt;/SPAN&gt;&lt;SPAN style="font-size: 13.3333330154419px;"&gt;,running&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333330154419px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333330154419px;"&gt;Now my requirement is if the Service service1 is not running then i want to add a new column as OVERALLSTATUS in this table like below&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333330154419px;"&gt;ServerName , Timestamp, Service,Status,&lt;SPAN style="font-size: 13.3333330154419px;"&gt;OVERALLSTATUS &lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333330154419px;"&gt;abcd,25/07/2015 10:12:45 AM,service1,stopped,0&lt;/P&gt;&lt;P style="font-size: 13.3333330154419px;"&gt;&lt;SPAN style="font-size: 13.3333330154419px;"&gt;abcd,25/07/2015 10:12:45 AM,&lt;SPAN style="font-size: 13.3333330154419px;"&gt;service2&lt;/SPAN&gt;,running,0&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333330154419px;"&gt;&lt;SPAN style="font-size: 13.3333330154419px;"&gt;abcd,25/07/2015 10:12:47 AM,&lt;SPAN style="font-size: 13.3333330154419px;"&gt;service3&lt;/SPAN&gt;,running,0&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333330154419px;"&gt;&lt;SPAN style="font-size: 13.3333330154419px;"&gt;abcd,25/07/2015 10:12:48 AM,&lt;SPAN style="font-size: 13.3333330154419px;"&gt;service4&lt;/SPAN&gt;,running,0&lt;/SPAN&gt;&lt;SPAN style="font-size: 13.3333330154419px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333330154419px;"&gt;&lt;SPAN style="font-size: 13.3333330154419px;"&gt;efgh,25/07/2015 10:12:55 AM,&lt;SPAN style="font-size: 13.3333330154419px;"&gt;service1&lt;/SPAN&gt;,running,1&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333330154419px;"&gt;&lt;SPAN style="font-size: 13.3333330154419px;"&gt;&lt;SPAN style="font-size: 13.3333330154419px;"&gt;efgh&lt;/SPAN&gt;,25/07/2015 10:12:55 AM,&lt;SPAN style="font-size: 13.3333330154419px;"&gt;service2&lt;/SPAN&gt;,running,1&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333330154419px;"&gt;&lt;SPAN style="font-size: 13.3333330154419px;"&gt;&lt;SPAN style="font-size: 13.3333330154419px;"&gt;efgh&lt;/SPAN&gt;,25/07/2015 10:12:56 AM,&lt;SPAN style="font-size: 13.3333330154419px;"&gt;service3&lt;/SPAN&gt;,stopped,1&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333330154419px;"&gt;&lt;SPAN style="font-size: 13.3333330154419px;"&gt;&lt;SPAN style="font-size: 13.3333330154419px;"&gt;efgh&lt;/SPAN&gt;&lt;SPAN style="font-size: 13.3333330154419px;"&gt;,25/07/2015 10:12:57 AM,&lt;/SPAN&gt;&lt;SPAN style="font-size: 13.3333330154419px;"&gt;service4&lt;/SPAN&gt;&lt;SPAN style="font-size: 13.3333330154419px;"&gt;,running,1&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333330154419px;"&gt;&lt;SPAN style="font-size: 13.3333330154419px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333330154419px;"&gt;&lt;SPAN style="font-size: 13.3333330154419px;"&gt;basically if service1 is running then &lt;SPAN style="font-size: 13.3333330154419px;"&gt;OVERALLSTATUS &lt;/SPAN&gt; will be 1 for all the other services for the server and if its not running then &lt;SPAN style="font-size: 13.3333330154419px;"&gt;OVERALLSTATUS &lt;/SPAN&gt; should be 0. &lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333330154419px;"&gt;&lt;SPAN style="font-size: 13.3333330154419px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333330154419px;"&gt;&lt;SPAN style="font-size: 13.3333330154419px;"&gt;Please suggest a way to do in load script as well as data will be huge &lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333330154419px;"&gt;&lt;SPAN style="font-size: 13.3333330154419px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333330154419px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333330154419px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333330154419px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333330154419px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333330154419px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333330154419px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333330154419px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333330154419px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 26 Aug 2015 04:07:06 GMT</pubDate>
    <dc:creator />
    <dc:date>2015-08-26T04:07:06Z</dc:date>
    <item>
      <title>need help</title>
      <link>https://community.qlik.com/t5/QlikView/need-help/m-p/995714#M977470</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;i have a table with data like&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ServerName , Timestamp, Service,Status&lt;/P&gt;&lt;P&gt;abcd,25/07/2015 10:12:45 AM,service1,stopped&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333330154419px;"&gt;abcd,25/07/2015 10:12:45 AM,&lt;SPAN style="font-size: 13.3333330154419px;"&gt;service2&lt;/SPAN&gt;,running&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333330154419px;"&gt;abcd,25/07/2015 10:12:47 AM,&lt;SPAN style="font-size: 13.3333330154419px;"&gt;service3&lt;/SPAN&gt;,running&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333330154419px;"&gt;abcd,25/07/2015 10:12:48 AM,&lt;SPAN style="font-size: 13.3333330154419px;"&gt;service4&lt;/SPAN&gt;,running&lt;/SPAN&gt;&lt;SPAN style="font-size: 13.3333330154419px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333330154419px;"&gt;efgh,25/07/2015 10:12:55 AM,&lt;SPAN style="font-size: 13.3333330154419px;"&gt;service1&lt;/SPAN&gt;,running&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333330154419px;"&gt;&lt;SPAN style="font-size: 13.3333330154419px;"&gt;efgh&lt;/SPAN&gt;,25/07/2015 10:12:55 AM,&lt;SPAN style="font-size: 13.3333330154419px;"&gt;service2&lt;/SPAN&gt;,running&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333330154419px;"&gt;&lt;SPAN style="font-size: 13.3333330154419px;"&gt;efgh&lt;/SPAN&gt;,25/07/2015 10:12:56 AM,&lt;SPAN style="font-size: 13.3333330154419px;"&gt;service3&lt;/SPAN&gt;,stopped&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333330154419px;"&gt;&lt;SPAN style="font-size: 13.3333330154419px;"&gt;efgh&lt;/SPAN&gt;&lt;SPAN style="font-size: 13.3333330154419px;"&gt;,25/07/2015 10:12:57 AM,&lt;/SPAN&gt;&lt;SPAN style="font-size: 13.3333330154419px;"&gt;service4&lt;/SPAN&gt;&lt;SPAN style="font-size: 13.3333330154419px;"&gt;,running&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333330154419px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333330154419px;"&gt;Now my requirement is if the Service service1 is not running then i want to add a new column as OVERALLSTATUS in this table like below&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333330154419px;"&gt;ServerName , Timestamp, Service,Status,&lt;SPAN style="font-size: 13.3333330154419px;"&gt;OVERALLSTATUS &lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333330154419px;"&gt;abcd,25/07/2015 10:12:45 AM,service1,stopped,0&lt;/P&gt;&lt;P style="font-size: 13.3333330154419px;"&gt;&lt;SPAN style="font-size: 13.3333330154419px;"&gt;abcd,25/07/2015 10:12:45 AM,&lt;SPAN style="font-size: 13.3333330154419px;"&gt;service2&lt;/SPAN&gt;,running,0&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333330154419px;"&gt;&lt;SPAN style="font-size: 13.3333330154419px;"&gt;abcd,25/07/2015 10:12:47 AM,&lt;SPAN style="font-size: 13.3333330154419px;"&gt;service3&lt;/SPAN&gt;,running,0&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333330154419px;"&gt;&lt;SPAN style="font-size: 13.3333330154419px;"&gt;abcd,25/07/2015 10:12:48 AM,&lt;SPAN style="font-size: 13.3333330154419px;"&gt;service4&lt;/SPAN&gt;,running,0&lt;/SPAN&gt;&lt;SPAN style="font-size: 13.3333330154419px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333330154419px;"&gt;&lt;SPAN style="font-size: 13.3333330154419px;"&gt;efgh,25/07/2015 10:12:55 AM,&lt;SPAN style="font-size: 13.3333330154419px;"&gt;service1&lt;/SPAN&gt;,running,1&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333330154419px;"&gt;&lt;SPAN style="font-size: 13.3333330154419px;"&gt;&lt;SPAN style="font-size: 13.3333330154419px;"&gt;efgh&lt;/SPAN&gt;,25/07/2015 10:12:55 AM,&lt;SPAN style="font-size: 13.3333330154419px;"&gt;service2&lt;/SPAN&gt;,running,1&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333330154419px;"&gt;&lt;SPAN style="font-size: 13.3333330154419px;"&gt;&lt;SPAN style="font-size: 13.3333330154419px;"&gt;efgh&lt;/SPAN&gt;,25/07/2015 10:12:56 AM,&lt;SPAN style="font-size: 13.3333330154419px;"&gt;service3&lt;/SPAN&gt;,stopped,1&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333330154419px;"&gt;&lt;SPAN style="font-size: 13.3333330154419px;"&gt;&lt;SPAN style="font-size: 13.3333330154419px;"&gt;efgh&lt;/SPAN&gt;&lt;SPAN style="font-size: 13.3333330154419px;"&gt;,25/07/2015 10:12:57 AM,&lt;/SPAN&gt;&lt;SPAN style="font-size: 13.3333330154419px;"&gt;service4&lt;/SPAN&gt;&lt;SPAN style="font-size: 13.3333330154419px;"&gt;,running,1&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333330154419px;"&gt;&lt;SPAN style="font-size: 13.3333330154419px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333330154419px;"&gt;&lt;SPAN style="font-size: 13.3333330154419px;"&gt;basically if service1 is running then &lt;SPAN style="font-size: 13.3333330154419px;"&gt;OVERALLSTATUS &lt;/SPAN&gt; will be 1 for all the other services for the server and if its not running then &lt;SPAN style="font-size: 13.3333330154419px;"&gt;OVERALLSTATUS &lt;/SPAN&gt; should be 0. &lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333330154419px;"&gt;&lt;SPAN style="font-size: 13.3333330154419px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333330154419px;"&gt;&lt;SPAN style="font-size: 13.3333330154419px;"&gt;Please suggest a way to do in load script as well as data will be huge &lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333330154419px;"&gt;&lt;SPAN style="font-size: 13.3333330154419px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333330154419px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333330154419px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333330154419px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333330154419px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333330154419px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333330154419px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333330154419px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333330154419px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 26 Aug 2015 04:07:06 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/need-help/m-p/995714#M977470</guid>
      <dc:creator />
      <dc:date>2015-08-26T04:07:06Z</dc:date>
    </item>
    <item>
      <title>Re: need help</title>
      <link>https://community.qlik.com/t5/QlikView/need-help/m-p/995715#M977471</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Try like&lt;/P&gt;&lt;P&gt;LOAD *, rangesum(if(Service = 'service1' and Status = 'running', 1, 0), Peek(OVERALLSTATUS)) as OVERALLSTATUS&amp;nbsp; Inline [&lt;/P&gt;&lt;P&gt;ServerName , Timestamp, Service,Status&lt;/P&gt;&lt;P&gt;abcd,25/07/2015 10:12:45 AM,service1,stopped&lt;/P&gt;&lt;P&gt;abcd,25/07/2015 10:12:45 AM,service2,running&lt;/P&gt;&lt;P&gt;abcd,25/07/2015 10:12:47 AM,service3,running&lt;/P&gt;&lt;P&gt;abcd,25/07/2015 10:12:48 AM,service4,running&lt;/P&gt;&lt;P&gt;efgh,25/07/2015 10:12:55 AM,service1,running&lt;/P&gt;&lt;P&gt;efgh,25/07/2015 10:12:55 AM,service2,running&lt;/P&gt;&lt;P&gt;efgh,25/07/2015 10:12:56 AM,service3,stopped&lt;/P&gt;&lt;P&gt;efgh,25/07/2015 10:12:57 AM,service4,running&lt;/P&gt;&lt;P&gt;];&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 26 Aug 2015 04:30:44 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/need-help/m-p/995715#M977471</guid>
      <dc:creator>senpradip007</dc:creator>
      <dc:date>2015-08-26T04:30:44Z</dc:date>
    </item>
    <item>
      <title>Re: need help</title>
      <link>https://community.qlik.com/t5/QlikView/need-help/m-p/995716#M977472</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;use a if condition as &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Load &lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="color: #000000; font-size: 13.3333330154419px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;ServerName , Timestamp, Service,Status,&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="color: #000000; font-size: 13.3333330154419px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;if(&lt;SPAN style="color: #000000; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;Service ='&lt;SPAN style="color: #000000; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;service1&lt;/SPAN&gt;'&lt;/SPAN&gt;&amp;nbsp; and&amp;nbsp; &lt;SPAN style="color: #000000; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13.3333330154419px;"&gt;Service='&lt;/SPAN&gt;&lt;SPAN style="color: #000000; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13.3333330154419px;"&gt;running',1,0) as &lt;/SPAN&gt;&amp;nbsp;&amp;nbsp; &lt;/STRONG&gt;&lt;SPAN style="font-size: 13.3333330154419px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #000000;"&gt;&lt;STRONG&gt;OVERALLSTATUS&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 26 Aug 2015 04:33:53 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/need-help/m-p/995716#M977472</guid>
      <dc:creator>sujeetsingh</dc:creator>
      <dc:date>2015-08-26T04:33:53Z</dc:date>
    </item>
    <item>
      <title>Re: need help</title>
      <link>https://community.qlik.com/t5/QlikView/need-help/m-p/995717#M977473</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Sujeet,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Your expression generates only 0. Please check the expected out asked Binod.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 26 Aug 2015 04:46:20 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/need-help/m-p/995717#M977473</guid>
      <dc:creator>senpradip007</dc:creator>
      <dc:date>2015-08-26T04:46:20Z</dc:date>
    </item>
    <item>
      <title>Re: need help</title>
      <link>https://community.qlik.com/t5/QlikView/need-help/m-p/995718#M977474</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Assuming your data source is sorted by Server and the first service is always service1, then:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;LOAD ServerName, &lt;/P&gt;&lt;P&gt;&amp;nbsp; Timestamp, &lt;/P&gt;&lt;P&gt;&amp;nbsp; Service,&lt;/P&gt;&lt;P&gt;&amp;nbsp; Status,&lt;/P&gt;&lt;P&gt;&amp;nbsp; If(ServerName = Previous(ServerName), Peek(OVERALLSTATUS), If(Service = 'service1' And Status = 'running', 1, 0)) As OVERALLSTATUS&lt;/P&gt;&lt;P&gt;FROM ...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you source data is not sorted, or the service might not be the first, then you will not be able to do this in one pass. (you said your data set was huge).&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 26 Aug 2015 05:07:26 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/need-help/m-p/995718#M977474</guid>
      <dc:creator>jonathandienst</dc:creator>
      <dc:date>2015-08-26T05:07:26Z</dc:date>
    </item>
    <item>
      <title>Re: need help</title>
      <link>https://community.qlik.com/t5/QlikView/need-help/m-p/995719#M977475</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;This is not right solution if i add a new set of server and services its simply adding up with previous i want only 0 and 1 as value not the cumulative sum&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;LOAD *, rangesum(if(Service = 'service1' and Status = 'running', 1, 0), Peek(OVERALLSTATUS)) as OVERALLSTATUS&amp;nbsp; Inline [&lt;/P&gt;&lt;P&gt;ServerName , Timestamp, Service,Status&lt;/P&gt;&lt;P&gt;abcd,25/07/2015 10:12:45 AM,service1,stopped&lt;/P&gt;&lt;P&gt;abcd,25/07/2015 10:12:45 AM,service2,running&lt;/P&gt;&lt;P&gt;abcd,25/07/2015 10:12:47 AM,service3,running&lt;/P&gt;&lt;P&gt;abcd,25/07/2015 10:12:48 AM,service4,running&lt;/P&gt;&lt;P&gt;efgh,25/07/2015 10:12:55 AM,service1,running&lt;/P&gt;&lt;P&gt;efgh,25/07/2015 10:12:55 AM,service2,running&lt;/P&gt;&lt;P&gt;efgh,25/07/2015 10:12:56 AM,service3,stopped&lt;/P&gt;&lt;P&gt;efgh,25/07/2015 10:12:57 AM,service4,running&lt;/P&gt;&lt;P&gt;efgh,26/07/2015 10:12:55 AM,service1,running&lt;/P&gt;&lt;P&gt;efgh,26/07/2015 10:12:55 AM,service2,running&lt;/P&gt;&lt;P&gt;efgh,26/07/2015 10:12:56 AM,service3,stopped&lt;/P&gt;&lt;P&gt;efgh,26/07/2015 10:12:57 AM,service4,running&lt;/P&gt;&lt;P&gt;];&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 26 Aug 2015 05:13:28 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/need-help/m-p/995719#M977475</guid>
      <dc:creator />
      <dc:date>2015-08-26T05:13:28Z</dc:date>
    </item>
    <item>
      <title>Re: need help</title>
      <link>https://community.qlik.com/t5/QlikView/need-help/m-p/995720#M977476</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yes the service might not be sorted also the same server will get repeated with different time stamp&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 26 Aug 2015 05:17:43 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/need-help/m-p/995720#M977476</guid>
      <dc:creator />
      <dc:date>2015-08-26T05:17:43Z</dc:date>
    </item>
    <item>
      <title>Re: need help</title>
      <link>https://community.qlik.com/t5/QlikView/need-help/m-p/995721#M977477</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Then you can do this through a mapping table:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;MapStatus:&lt;/P&gt;&lt;P&gt;Mapping LOAD ServerName &amp;amp; '-' &amp;amp; Timestamp, &lt;/P&gt;&lt;P&gt;&amp;nbsp; If(Status = 'running', 1, 0) &lt;/P&gt;&lt;P&gt;FROM ....&lt;/P&gt;&lt;P&gt;WHERE Service = 'service1';&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;LOAD ServerName, &lt;/P&gt;&lt;P&gt;&amp;nbsp; Timestamp, &lt;/P&gt;&lt;P&gt;&amp;nbsp; Service,&lt;/P&gt;&lt;P&gt;&amp;nbsp; Status,&lt;/P&gt;&lt;P&gt;&amp;nbsp; ApplyMap('MapStatus', ServerName &amp;amp; '-' &amp;amp; Timestamp, 0) As OVERALLSTATUS&lt;/P&gt;&lt;P&gt;FROM ...;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I think this will give the best possible performance for a large data set.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 26 Aug 2015 05:41:00 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/need-help/m-p/995721#M977477</guid>
      <dc:creator>jonathandienst</dc:creator>
      <dc:date>2015-08-26T05:41:00Z</dc:date>
    </item>
    <item>
      <title>Re: need help</title>
      <link>https://community.qlik.com/t5/QlikView/need-help/m-p/995722#M977478</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Try something like this&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Data:&lt;/P&gt;&lt;P&gt;LOAD *,Timestamp#(Timestamp,'DD/MM/YYYY hh:mm:ss TT') as Time Inline [&lt;/P&gt;&lt;P&gt;ServerName, Timestamp, Service, Status&lt;/P&gt;&lt;P&gt;abcd,25/07/2015 10:12:45 AM,service1,stopped&lt;/P&gt;&lt;P&gt;abcd,25/07/2015 10:12:45 AM,service2,running&lt;/P&gt;&lt;P&gt;abcd,25/07/2015 10:12:47 AM,service3,running&lt;/P&gt;&lt;P&gt;abcd,25/07/2015 10:12:48 AM,service4,running&lt;/P&gt;&lt;P&gt;abcd,25/07/2015 10:12:49 AM,service4,running&lt;/P&gt;&lt;P&gt;efgh,25/07/2015 10:12:55 AM,service1,running&lt;/P&gt;&lt;P&gt;efgh,25/07/2015 10:12:55 AM,service2,running&lt;/P&gt;&lt;P&gt;efgh,25/07/2015 10:12:56 AM,service3,stopped&lt;/P&gt;&lt;P&gt;efgh,25/07/2015 10:12:57 AM,service4,running ];&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;New:&lt;/P&gt;&lt;P&gt;NoConcatenate&lt;/P&gt;&lt;P&gt;LOAD *,&lt;/P&gt;&lt;P&gt;if(RowNo()=1 and lower(trim(Status))='stopped',0,&lt;/P&gt;&lt;P&gt;if(RowNo()=1 and lower(trim(Status))='running',1,&lt;/P&gt;&lt;P&gt;if(ServerName&amp;lt;&amp;gt;Previous(ServerName) and lower(trim(Status))='stopped',0,&lt;/P&gt;&lt;P&gt;if(ServerName&amp;lt;&amp;gt;Previous(ServerName) and lower(trim(Status))='running',1,&lt;/P&gt;&lt;P&gt;if(ServerName=Previous(ServerName),Peek('&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;OVERALLSTATUS &lt;/SPAN&gt;')))))) as &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;OVERALLSTATUS&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;Resident Data&lt;/P&gt;&lt;P&gt;Order by ServerName,Service,Timestamp asc;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DROP Table Data;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;or you can do just &lt;STRONG&gt;Order by ServerName,Timestamp asc;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;Please see the attached&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 26 Aug 2015 05:50:24 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/need-help/m-p/995722#M977478</guid>
      <dc:creator>Kushal_Chawda</dc:creator>
      <dc:date>2015-08-26T05:50:24Z</dc:date>
    </item>
    <item>
      <title>Re: need help</title>
      <link>https://community.qlik.com/t5/QlikView/need-help/m-p/995723#M977479</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dear &lt;A href="https://community.qlik.com/qlik-users/13229"&gt;jontydkpi&lt;/A&gt;&lt;/P&gt;&lt;P&gt;I was thinking if this gives big mapping table due to timestamp, is it ok to have mapping tables with thousands of records. In this case equal to the no of fact table records. &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 26 Aug 2015 06:00:22 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/need-help/m-p/995723#M977479</guid>
      <dc:creator>Digvijay_Singh</dc:creator>
      <dc:date>2015-08-26T06:00:22Z</dc:date>
    </item>
    <item>
      <title>Re: need help</title>
      <link>https://community.qlik.com/t5/QlikView/need-help/m-p/995724#M977480</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I would not expect that to be a problem. The size would be limited only by your system memory -- and it is much faster than trying to sort a very large data set.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;gt;&amp;gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;In this case equal to the no of fact table records.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I did not notice that the time stamps differ for each service. What granularity can we apply to the timestamps?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If its daily, then truncate the time stamp to the date portion only:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;MapStatus:&lt;/P&gt;&lt;P&gt;Mapping LOAD ServerName &amp;amp; '-' &amp;amp; Date(Floor(Timestamp)),&lt;/P&gt;&lt;P&gt;&amp;nbsp; Status&lt;/P&gt;&lt;P&gt;FROM ....&lt;/P&gt;&lt;P&gt;WHERE Service = 'service1';&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;LOAD ServerName, &lt;/P&gt;&lt;P&gt;&amp;nbsp; Timestamp, &lt;/P&gt;&lt;P&gt;&amp;nbsp; Service,&lt;/P&gt;&lt;P&gt;&amp;nbsp; Status,&lt;/P&gt;&lt;P&gt;&amp;nbsp; ApplyMap('MapStatus', ServerName &amp;amp; '-' &amp;amp; Date(Floor(Timestamp)), 0) As OVERALLSTATUS&lt;/P&gt;&lt;P&gt;FROM ...;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now the mapping will have one record per server per day...&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 26 Aug 2015 06:06:14 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/need-help/m-p/995724#M977480</guid>
      <dc:creator>jonathandienst</dc:creator>
      <dc:date>2015-08-26T06:06:14Z</dc:date>
    </item>
    <item>
      <title>Re: need help</title>
      <link>https://community.qlik.com/t5/QlikView/need-help/m-p/995725#M977481</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;i have currently 5 million records and it will grow exponentially .. memory is 64 gb .. will that be fine&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 26 Aug 2015 06:09:49 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/need-help/m-p/995725#M977481</guid>
      <dc:creator />
      <dc:date>2015-08-26T06:09:49Z</dc:date>
    </item>
    <item>
      <title>Re: need help</title>
      <link>https://community.qlik.com/t5/QlikView/need-help/m-p/995726#M977482</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi this is sample in actual data every 10 mins we wil be getting the data for servers with same set of services status.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 26 Aug 2015 07:01:58 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/need-help/m-p/995726#M977482</guid>
      <dc:creator />
      <dc:date>2015-08-26T07:01:58Z</dc:date>
    </item>
  </channel>
</rss>

