<?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 Future invoice amount in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Future-invoice-amount/m-p/172588#M42086</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I suspect that you'll be best off just converting the contracts to data points in the script, like you appear to have been thinking. Aggregating a calculation across a thousand contracts every time someone looks at the chart sounds a lot worse to me than just creating data points for a thousand contracts for each month for a few years. Now, if those contracts are daily, or hourly, or every tenth of a second, I could see how it could be an enormous table, and you might want to go with a calculation. But as described, the table doesn't sound very big to me.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 02 Sep 2009 02:47:06 GMT</pubDate>
    <dc:creator>johnw</dc:creator>
    <dc:date>2009-09-02T02:47:06Z</dc:date>
    <item>
      <title>Future invoice amount</title>
      <link>https://community.qlik.com/t5/QlikView/Future-invoice-amount/m-p/172586#M42084</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi all,&lt;/P&gt;&lt;P&gt;My challenge is as follows.. My financial department wants an overview of the amount of money they can invoice our customers in the future.&lt;/P&gt;&lt;P&gt;For example :&lt;/P&gt;&lt;P&gt;Customer A has a Contract for 3 years paying 1.000€ each month. At the start of this contract the total restworth of this contract is 36 K€. When i set my date to 1,5 years (18 Months) in the future It should state that the restworth of that contract is 18 K€.&lt;/P&gt;&lt;P&gt;Offcourse we have mulitiple contracts all with different Start and end dates. But i think the principle is the same for 1 contract or a thousand.&lt;/P&gt;&lt;P&gt;I was thinking i had to create a calender object and make a table witch contains all the future invoices. and just count them.. But that table will be enourmous and i think (hope) that there will be a better way..&lt;/P&gt;&lt;P&gt;Anyone have any ideas on the subject? Or perhaps has created something similar?&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;&lt;P&gt;Laurens&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 01 Sep 2009 19:25:07 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Future-invoice-amount/m-p/172586#M42084</guid>
      <dc:creator />
      <dc:date>2009-09-01T19:25:07Z</dc:date>
    </item>
    <item>
      <title>Future invoice amount</title>
      <link>https://community.qlik.com/t5/QlikView/Future-invoice-amount/m-p/172587#M42085</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;When you are loading the script have you a contract end date. If yes then you can use the following in your expression&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=sum(((date(month(contract_end_date),'MMM-YYYY') - date(month(today()),'MMM-YYYY'))) *Mth_Contract_Price)&lt;/P&gt;&lt;BR /&gt;&lt;BR /&gt; &lt;P&gt;//&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;sum((date(month(contract_end_date),'MMM-YYYY') - date(month(today()),'MMM-YYYY') calculates the difference in months between today and the contract end.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;you can substitute today() for something else if your anchor date is not today&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;BR /&gt;&lt;BR /&gt; &lt;BR /&gt;&lt;BR /&gt; &lt;P&gt;&lt;/P&gt;&lt;BR /&gt;&lt;BR /&gt; &lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;BR /&gt;&lt;BR /&gt; &lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 01 Sep 2009 21:23:17 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Future-invoice-amount/m-p/172587#M42085</guid>
      <dc:creator />
      <dc:date>2009-09-01T21:23:17Z</dc:date>
    </item>
    <item>
      <title>Future invoice amount</title>
      <link>https://community.qlik.com/t5/QlikView/Future-invoice-amount/m-p/172588#M42086</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I suspect that you'll be best off just converting the contracts to data points in the script, like you appear to have been thinking. Aggregating a calculation across a thousand contracts every time someone looks at the chart sounds a lot worse to me than just creating data points for a thousand contracts for each month for a few years. Now, if those contracts are daily, or hourly, or every tenth of a second, I could see how it could be an enormous table, and you might want to go with a calculation. But as described, the table doesn't sound very big to me.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 02 Sep 2009 02:47:06 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Future-invoice-amount/m-p/172588#M42086</guid>
      <dc:creator>johnw</dc:creator>
      <dc:date>2009-09-02T02:47:06Z</dc:date>
    </item>
  </channel>
</rss>

