<?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: Rangesum with Peek for Timestamp dimension in App Development</title>
    <link>https://community.qlik.com/t5/App-Development/Rangesum-with-Peek-for-Timestamp-dimension/m-p/1929597#M76532</link>
    <description>&lt;P&gt;Hello Everyone,&lt;/P&gt;
&lt;P&gt;Kindly assist on above. Thanks in advance.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Thu, 12 May 2022 06:10:34 GMT</pubDate>
    <dc:creator>SunainaUmberkar</dc:creator>
    <dc:date>2022-05-12T06:10:34Z</dc:date>
    <item>
      <title>Rangesum with Peek for Timestamp dimension</title>
      <link>https://community.qlik.com/t5/App-Development/Rangesum-with-Peek-for-Timestamp-dimension/m-p/1926808#M76320</link>
      <description>&lt;P&gt;Hello All, I need to do a cumulation of a column based on timestamp, servername, licname, groupname. Data is as below. For each timestamp, like for ex 3/14/2022 17:00:12- this timestamp has 2 values in Token column like 1612 and 3824. I want to do cumulation of this 2 and for next 3/14/2022 17:15:11 it should display the cumulation of 1612+3824 etc. So basically based on timestamp column cumulation to be done and then maximum value of that hour must be displayed. The level of hierarchy of data is Timestamp,ServerName,Licname,Groupname. i Tried using below peek with rangesum function in script, but it is not working. A: load * from Table1; B: Noconcatenate Load TimeStamp, ServerName, Licname, GroupName, Token, If(TimeStamp=Peek('TimeStamp') ,Token+Peek('CUMUL'),Token) AS CUMUL Resident A Order by DSLSTimeStamp, DSLSServerName, DSLSLicenseName, DSLSGroupName; Date TimeStamp Hour ServerName Licname Groupname Token 2022-03-14 3/14/2022 17:00:12 17 A K France 1612 2022-03-14 3/14/2022 17:00:12 17 A K France 3824 2022-03-14 3/14/2022 17:15:11 17 A K France 1612 2022-03-14 3/14/2022 17:15:11 17 A K France 3824 2022-03-14 3/14/2022 17:30:11 17 A K France 1612 2022-03-14 3/14/2022 17:30:11 17 A K France 3442 2022-03-14 3/14/2022 17:30:11 17 A K France 3824 2022-03-14 3/14/2022 17:45:11 17 A K France 1612 2022-03-14 3/14/2022 17:45:11 17 A K France 3442 2022-03-14 3/14/2022 17:45:11 17 A K France 3824 Can someone please assist on this. Thanks in advance.&lt;/P&gt;</description>
      <pubDate>Thu, 05 May 2022 11:06:53 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Rangesum-with-Peek-for-Timestamp-dimension/m-p/1926808#M76320</guid>
      <dc:creator>SunainaUmberkar</dc:creator>
      <dc:date>2022-05-05T11:06:53Z</dc:date>
    </item>
    <item>
      <title>Re: Rangesum with Peek for Timestamp dimension</title>
      <link>https://community.qlik.com/t5/App-Development/Rangesum-with-Peek-for-Timestamp-dimension/m-p/1926839#M76324</link>
      <description>&lt;P&gt;can you attach your sample data with output what you want&lt;/P&gt;</description>
      <pubDate>Thu, 05 May 2022 11:57:25 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Rangesum-with-Peek-for-Timestamp-dimension/m-p/1926839#M76324</guid>
      <dc:creator>NitinK7</dc:creator>
      <dc:date>2022-05-05T11:57:25Z</dc:date>
    </item>
    <item>
      <title>Re: Rangesum with Peek for Timestamp dimension</title>
      <link>https://community.qlik.com/t5/App-Development/Rangesum-with-Peek-for-Timestamp-dimension/m-p/1926864#M76325</link>
      <description>&lt;P&gt;Hello Nitin,&lt;/P&gt;
&lt;P&gt;Yes, please find the sample data attached in Excel. The last column Cumulation is the output to be expected.&lt;/P&gt;
&lt;P&gt;Here, the summation is done based on timestamp column. Also, a groupname column has differernt countries, so for the same server, licname for each country summation has to be done.&lt;/P&gt;
&lt;P&gt;Thanks in advance.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 05 May 2022 12:24:58 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Rangesum-with-Peek-for-Timestamp-dimension/m-p/1926864#M76325</guid>
      <dc:creator>SunainaUmberkar</dc:creator>
      <dc:date>2022-05-05T12:24:58Z</dc:date>
    </item>
    <item>
      <title>Re: Rangesum with Peek for Timestamp dimension</title>
      <link>https://community.qlik.com/t5/App-Development/Rangesum-with-Peek-for-Timestamp-dimension/m-p/1928334#M76444</link>
      <description>&lt;P&gt;Please find the attached .QVF file&lt;/P&gt;
&lt;P&gt;may be that will help to you&lt;/P&gt;</description>
      <pubDate>Tue, 10 May 2022 07:11:32 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Rangesum-with-Peek-for-Timestamp-dimension/m-p/1928334#M76444</guid>
      <dc:creator>NitinK7</dc:creator>
      <dc:date>2022-05-10T07:11:32Z</dc:date>
    </item>
    <item>
      <title>Re: Rangesum with Peek for Timestamp dimension</title>
      <link>https://community.qlik.com/t5/App-Development/Rangesum-with-Peek-for-Timestamp-dimension/m-p/1929281#M76507</link>
      <description>&lt;P&gt;Hello Nitin,&lt;/P&gt;
&lt;P&gt;The solution is working perfectly fine.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I just need one more help wrt to below scenario.&lt;/P&gt;
&lt;P&gt;The scenario is same as above, But i need to cumulative based on GroupName. I have attached the excel with sample data. Like for a timestamp, a servername, a licensename, there are various Group Names.&lt;/P&gt;
&lt;P&gt;So the cumulation should be done on Group Level. Like for France and germany we have values as in Excel. It should cumulate the 2 values of france and germany. Although capacity for each timestamp, each servername,licname,groupname is same. At different group name levels, the capacity value is different.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;For example, in the excel, for&amp;nbsp;3/14/2022 5:45:11 PM timestamp, Servername A, Licname K, Group name France has a value 2 and germany 5, so basically cumulation shld be 2+5 which 7.&lt;/P&gt;
&lt;P&gt;Please assist on this.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 11 May 2022 13:56:57 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Rangesum-with-Peek-for-Timestamp-dimension/m-p/1929281#M76507</guid>
      <dc:creator>SunainaUmberkar</dc:creator>
      <dc:date>2022-05-11T13:56:57Z</dc:date>
    </item>
    <item>
      <title>Re: Rangesum with Peek for Timestamp dimension</title>
      <link>https://community.qlik.com/t5/App-Development/Rangesum-with-Peek-for-Timestamp-dimension/m-p/1929597#M76532</link>
      <description>&lt;P&gt;Hello Everyone,&lt;/P&gt;
&lt;P&gt;Kindly assist on above. Thanks in advance.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 12 May 2022 06:10:34 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Rangesum-with-Peek-for-Timestamp-dimension/m-p/1929597#M76532</guid>
      <dc:creator>SunainaUmberkar</dc:creator>
      <dc:date>2022-05-12T06:10:34Z</dc:date>
    </item>
    <item>
      <title>Re: Rangesum with Peek for Timestamp dimension</title>
      <link>https://community.qlik.com/t5/App-Development/Rangesum-with-Peek-for-Timestamp-dimension/m-p/1930322#M76630</link>
      <description>&lt;P&gt;please find the attached .QVF file&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="NitinK7_0-1652436885928.png" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/79355iE90A77B9DB52BC39/image-size/medium?v=v2&amp;amp;px=400" role="button" title="NitinK7_0-1652436885928.png" alt="NitinK7_0-1652436885928.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 13 May 2022 10:15:14 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Rangesum-with-Peek-for-Timestamp-dimension/m-p/1930322#M76630</guid>
      <dc:creator>NitinK7</dc:creator>
      <dc:date>2022-05-13T10:15:14Z</dc:date>
    </item>
    <item>
      <title>Re: Rangesum with Peek for Timestamp dimension</title>
      <link>https://community.qlik.com/t5/App-Development/Rangesum-with-Peek-for-Timestamp-dimension/m-p/1930921#M76700</link>
      <description>&lt;P&gt;Hello Nitin,&lt;/P&gt;
&lt;P&gt;Thanks for your response. Above solution is working fine.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 16 May 2022 08:52:52 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Rangesum-with-Peek-for-Timestamp-dimension/m-p/1930921#M76700</guid>
      <dc:creator>SunainaUmberkar</dc:creator>
      <dc:date>2022-05-16T08:52:52Z</dc:date>
    </item>
  </channel>
</rss>

