<?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 with getting the previous month data in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Need-help-with-getting-the-previous-month-data/m-p/363966#M135393</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Please see the attached sample. I have a table that has the following fields. &lt;/P&gt;&lt;P&gt;Department,&lt;/P&gt;&lt;P&gt; AccountNumber,&lt;/P&gt;&lt;P&gt; ReportMonth,&lt;/P&gt;&lt;P&gt; Premium,&lt;/P&gt;&lt;P&gt; Dropped,&lt;/P&gt;&lt;P&gt; TotalDCN&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am trying to calculate previous month (DCN and Dropped). The table has two months april and may. I am using may as the current month. The DCN %calculation is (sum(totalDCN)/ sum(premium) and for Dropped % it is (sum(Drop)/sum(Premium).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I want to be be able to select a month and get the DCN% for that month as the current and for the previous to be able to peek and look at the value for the previous month and do the calculation.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For Current Month Only NTK Premium, the value is the sum of the Dropped field where that account number is not in the previous month data.&amp;nbsp; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can someone help with this.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG __jive_id="18797" class="jive-image-thumbnail jive-image" height="315" onclick="" alt="CaptureCurrent.JPG" src="https://community.qlik.com/legacyfs/online/18797_CaptureCurrent.JPG" width="817" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 23 Jul 2012 21:26:39 GMT</pubDate>
    <dc:creator />
    <dc:date>2012-07-23T21:26:39Z</dc:date>
    <item>
      <title>Need help with getting the previous month data</title>
      <link>https://community.qlik.com/t5/QlikView/Need-help-with-getting-the-previous-month-data/m-p/363966#M135393</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Please see the attached sample. I have a table that has the following fields. &lt;/P&gt;&lt;P&gt;Department,&lt;/P&gt;&lt;P&gt; AccountNumber,&lt;/P&gt;&lt;P&gt; ReportMonth,&lt;/P&gt;&lt;P&gt; Premium,&lt;/P&gt;&lt;P&gt; Dropped,&lt;/P&gt;&lt;P&gt; TotalDCN&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am trying to calculate previous month (DCN and Dropped). The table has two months april and may. I am using may as the current month. The DCN %calculation is (sum(totalDCN)/ sum(premium) and for Dropped % it is (sum(Drop)/sum(Premium).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I want to be be able to select a month and get the DCN% for that month as the current and for the previous to be able to peek and look at the value for the previous month and do the calculation.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For Current Month Only NTK Premium, the value is the sum of the Dropped field where that account number is not in the previous month data.&amp;nbsp; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can someone help with this.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG __jive_id="18797" class="jive-image-thumbnail jive-image" height="315" onclick="" alt="CaptureCurrent.JPG" src="https://community.qlik.com/legacyfs/online/18797_CaptureCurrent.JPG" width="817" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 23 Jul 2012 21:26:39 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Need-help-with-getting-the-previous-month-data/m-p/363966#M135393</guid>
      <dc:creator />
      <dc:date>2012-07-23T21:26:39Z</dc:date>
    </item>
    <item>
      <title>Re: Need help with getting the previous month data</title>
      <link>https://community.qlik.com/t5/QlikView/Need-help-with-getting-the-previous-month-data/m-p/363967#M135394</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi, here is a suggestion attached.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 23 Jul 2012 21:43:39 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Need-help-with-getting-the-previous-month-data/m-p/363967#M135394</guid>
      <dc:creator>cesaraccardi</dc:creator>
      <dc:date>2012-07-23T21:43:39Z</dc:date>
    </item>
    <item>
      <title>Re: Need help with getting the previous month data</title>
      <link>https://community.qlik.com/t5/QlikView/Need-help-with-getting-the-previous-month-data/m-p/363968#M135395</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;it worked, thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 24 Jul 2012 12:39:02 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Need-help-with-getting-the-previous-month-data/m-p/363968#M135395</guid>
      <dc:creator />
      <dc:date>2012-07-24T12:39:02Z</dc:date>
    </item>
  </channel>
</rss>

