<?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 Comparing totals on different dates in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Comparing-totals-on-different-dates/m-p/1074404#M524067</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;Hope you can help - I have a data set that is used(amongst other things) to calculate the size of a telephony customer base as at a date in time with the output being:&lt;/P&gt;&lt;P&gt; sum(total number of customers connected)-sum(total number of customers disconnected).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Each day the data refreshes to add in the number of customers connected on that date and the number of customers disconnected on that date i.e. so a new figure is calculated each day.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What I'm trying to achieve is how to compare the 2 most recent dates to indicate whether the customer base has increased/decreased since the data last refreshed.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any views on how to achieve this?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in anticipation.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Kevin&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 08 Feb 2016 18:08:05 GMT</pubDate>
    <dc:creator>kevinstanfield</dc:creator>
    <dc:date>2016-02-08T18:08:05Z</dc:date>
    <item>
      <title>Comparing totals on different dates</title>
      <link>https://community.qlik.com/t5/QlikView/Comparing-totals-on-different-dates/m-p/1074404#M524067</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;Hope you can help - I have a data set that is used(amongst other things) to calculate the size of a telephony customer base as at a date in time with the output being:&lt;/P&gt;&lt;P&gt; sum(total number of customers connected)-sum(total number of customers disconnected).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Each day the data refreshes to add in the number of customers connected on that date and the number of customers disconnected on that date i.e. so a new figure is calculated each day.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What I'm trying to achieve is how to compare the 2 most recent dates to indicate whether the customer base has increased/decreased since the data last refreshed.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any views on how to achieve this?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in anticipation.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Kevin&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 08 Feb 2016 18:08:05 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Comparing-totals-on-different-dates/m-p/1074404#M524067</guid>
      <dc:creator>kevinstanfield</dc:creator>
      <dc:date>2016-02-08T18:08:05Z</dc:date>
    </item>
    <item>
      <title>Re: Comparing totals on different dates</title>
      <link>https://community.qlik.com/t5/QlikView/Comparing-totals-on-different-dates/m-p/1074405#M524068</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;Perhaps like this:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;=sum({&amp;lt;MyDate={$(=Max(MyDate))}&amp;gt;}total number of customers connected)-sum(&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;{&amp;lt;MyDate={$(=Max(MyDate))}&amp;gt;}&lt;/SPAN&gt;total number of customers disconnected) - &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;sum({&amp;lt;MyDate={$(=Max(MyDate)-1)}&amp;gt;}total number of customers connected) + sum(&lt;/SPAN&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;{&amp;lt;MyDate={$(=Max(MyDate)-1)}&amp;gt;}&lt;/SPAN&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;total number of customers disconnected)&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 08 Feb 2016 18:18:30 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Comparing-totals-on-different-dates/m-p/1074405#M524068</guid>
      <dc:creator>Gysbert_Wassenaar</dc:creator>
      <dc:date>2016-02-08T18:18:30Z</dc:date>
    </item>
    <item>
      <title>Re: Comparing totals on different dates</title>
      <link>https://community.qlik.com/t5/QlikView/Comparing-totals-on-different-dates/m-p/1074406#M524069</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks, I'll give it a go and get back to you.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 09 Feb 2016 10:31:44 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Comparing-totals-on-different-dates/m-p/1074406#M524069</guid>
      <dc:creator>kevinstanfield</dc:creator>
      <dc:date>2016-02-09T10:31:44Z</dc:date>
    </item>
  </channel>
</rss>

