<?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: Calculate Trend Line in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Calculate-Trend-Line/m-p/244922#M580830</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Will the above function still work since I am calling ending inventory from the previous week, even though ending inventory from that week is calculated from the one before that?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 02 Feb 2012 02:23:57 GMT</pubDate>
    <dc:creator />
    <dc:date>2012-02-02T02:23:57Z</dc:date>
    <item>
      <title>Calculate Trend Line</title>
      <link>https://community.qlik.com/t5/QlikView/Calculate-Trend-Line/m-p/244920#M580828</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi, I have been trying for weeks to figure this out but still have not succeeded.&amp;nbsp; I created a chart to show supply and demand side-by-side with weeks as my dimension.&amp;nbsp; I want to add a trend line to the graph that displays ending inventory from the week before.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The calculation for this week's ending inventory is [Last Week's Ending Inventory] + [Supply] - [Demand].&amp;nbsp; It seems simple but I can't figure it out.&amp;nbsp; How would I write the calculation for ending inventory by week?&amp;nbsp; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Here is a picture of what I am trying to accomplish:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="inventory.JPG" class="jive-image-thumbnail jive-image" onclick="" src="https://community.qlik.com/legacyfs/online/10876_inventory.JPG" width="450" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 01 Feb 2012 20:25:55 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Calculate-Trend-Line/m-p/244920#M580828</guid>
      <dc:creator />
      <dc:date>2012-02-01T20:25:55Z</dc:date>
    </item>
    <item>
      <title>Calculate Trend Line</title>
      <link>https://community.qlik.com/t5/QlikView/Calculate-Trend-Line/m-p/244921#M580829</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;One option is you use above([End Inventory]) to call the previous ending inventory, but you have to view all weeks for it to work.&amp;nbsp; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Another option is the AsOf table.&amp;nbsp; You can find examples in the community allows you to accumulate values over time when you are using time as your dimension.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Karl&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 01 Feb 2012 21:49:44 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Calculate-Trend-Line/m-p/244921#M580829</guid>
      <dc:creator>pover</dc:creator>
      <dc:date>2012-02-01T21:49:44Z</dc:date>
    </item>
    <item>
      <title>Re: Calculate Trend Line</title>
      <link>https://community.qlik.com/t5/QlikView/Calculate-Trend-Line/m-p/244922#M580830</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Will the above function still work since I am calling ending inventory from the previous week, even though ending inventory from that week is calculated from the one before that?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 02 Feb 2012 02:23:57 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Calculate-Trend-Line/m-p/244922#M580830</guid>
      <dc:creator />
      <dc:date>2012-02-02T02:23:57Z</dc:date>
    </item>
    <item>
      <title>Re: Calculate Trend Line</title>
      <link>https://community.qlik.com/t5/QlikView/Calculate-Trend-Line/m-p/244923#M580831</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yes, you can refer to a column in the above row that refers to the row above it.&amp;nbsp; I attached a simple example.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Karl&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 03 Feb 2012 18:34:39 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Calculate-Trend-Line/m-p/244923#M580831</guid>
      <dc:creator>pover</dc:creator>
      <dc:date>2012-02-03T18:34:39Z</dc:date>
    </item>
  </channel>
</rss>

