<?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: Cumulative data in App Development</title>
    <link>https://community.qlik.com/t5/App-Development/Cumulative-data/m-p/1806842#M65640</link>
    <description>&lt;P&gt;Please try this in you script-&lt;/P&gt;&lt;P&gt;Add these 2 below lines in your Load&amp;nbsp; statement&amp;nbsp;&lt;/P&gt;&lt;P&gt;1) RowNo() as Row&lt;/P&gt;&lt;P&gt;2)IF(RowNo() = 1,Confirmed, (Confirmed - peek(Confirmed,-1))) as Actual&lt;/P&gt;&lt;P&gt;and after reloading add&lt;STRONG&gt; sum(Actual)&lt;/STRONG&gt; in your expression&lt;/P&gt;&lt;P&gt;Hope this helps you!&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Saloni&lt;/P&gt;</description>
    <pubDate>Tue, 11 May 2021 08:15:22 GMT</pubDate>
    <dc:creator>salonicdk28</dc:creator>
    <dc:date>2021-05-11T08:15:22Z</dc:date>
    <item>
      <title>Cumulative data</title>
      <link>https://community.qlik.com/t5/App-Development/Cumulative-data/m-p/1806808#M65636</link>
      <description>&lt;P&gt;Hi All,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am trying to get data on a daily level but I am not able to as I have raw data in cumulative format.&lt;/P&gt;&lt;P&gt;PLS find data for your reference. In this data, I am getting confirmed cases for a date but it is cumulative in nature, I would like to get my data in such a way that when I select the date as 02-05-2021 it will give me covid cases for that specific date only, For example, if I select data from the filter is&amp;nbsp;02-05-2021 then confirmed cases will be a number of cases on&amp;nbsp;02-05-2021 subtracted number of cases on the previous date which is 01-05-2021.&lt;/P&gt;&lt;P&gt;if I select data from the filter as&amp;nbsp;02-05-2021 then the output will be&amp;nbsp; 655997-652368 equals 3629&lt;/P&gt;&lt;P&gt;Pls help me to write the logic for the same&lt;/P&gt;&lt;TABLE&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;Date&lt;/TD&gt;&lt;TD&gt;State&lt;/TD&gt;&lt;TD&gt;District&lt;/TD&gt;&lt;TD&gt;Confirmed&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;01-05-2021&lt;/TD&gt;&lt;TD&gt;Maharashtra&lt;/TD&gt;&lt;TD&gt;Mumbai&lt;/TD&gt;&lt;TD&gt;652368&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;02-05-2021&lt;/TD&gt;&lt;TD&gt;Maharashtra&lt;/TD&gt;&lt;TD&gt;Mumbai&lt;/TD&gt;&lt;TD&gt;655997&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;03-05-2021&lt;/TD&gt;&lt;TD&gt;Maharashtra&lt;/TD&gt;&lt;TD&gt;Mumbai&lt;/TD&gt;&lt;TD&gt;658621&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;04-05-2021&lt;/TD&gt;&lt;TD&gt;Maharashtra&lt;/TD&gt;&lt;TD&gt;Mumbai&lt;/TD&gt;&lt;TD&gt;661175&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;05-05-2021&lt;/TD&gt;&lt;TD&gt;Maharashtra&lt;/TD&gt;&lt;TD&gt;Mumbai&lt;/TD&gt;&lt;TD&gt;665057&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;06-05-2021&lt;/TD&gt;&lt;TD&gt;Maharashtra&lt;/TD&gt;&lt;TD&gt;Mumbai&lt;/TD&gt;&lt;TD&gt;668085&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;</description>
      <pubDate>Tue, 11 May 2021 06:58:17 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Cumulative-data/m-p/1806808#M65636</guid>
      <dc:creator>vishavb007</dc:creator>
      <dc:date>2021-05-11T06:58:17Z</dc:date>
    </item>
    <item>
      <title>Re: Cumulative data</title>
      <link>https://community.qlik.com/t5/App-Development/Cumulative-data/m-p/1806842#M65640</link>
      <description>&lt;P&gt;Please try this in you script-&lt;/P&gt;&lt;P&gt;Add these 2 below lines in your Load&amp;nbsp; statement&amp;nbsp;&lt;/P&gt;&lt;P&gt;1) RowNo() as Row&lt;/P&gt;&lt;P&gt;2)IF(RowNo() = 1,Confirmed, (Confirmed - peek(Confirmed,-1))) as Actual&lt;/P&gt;&lt;P&gt;and after reloading add&lt;STRONG&gt; sum(Actual)&lt;/STRONG&gt; in your expression&lt;/P&gt;&lt;P&gt;Hope this helps you!&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Saloni&lt;/P&gt;</description>
      <pubDate>Tue, 11 May 2021 08:15:22 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Cumulative-data/m-p/1806842#M65640</guid>
      <dc:creator>salonicdk28</dc:creator>
      <dc:date>2021-05-11T08:15:22Z</dc:date>
    </item>
    <item>
      <title>Re: Cumulative data</title>
      <link>https://community.qlik.com/t5/App-Development/Cumulative-data/m-p/1811132#M66113</link>
      <description>&lt;P&gt;Thanks a lot for your help.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Best,&lt;/P&gt;&lt;P&gt;Vishav Bhatia&lt;/P&gt;</description>
      <pubDate>Thu, 27 May 2021 16:44:53 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Cumulative-data/m-p/1811132#M66113</guid>
      <dc:creator>vishavb007</dc:creator>
      <dc:date>2021-05-27T16:44:53Z</dc:date>
    </item>
  </channel>
</rss>

