<?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: How to create one table in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/How-to-create-one-table/m-p/560536#M209217</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;sum instead of avg of course and in the if expression add year(yearmonth)=year(today())&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 02 Sep 2013 12:28:18 GMT</pubDate>
    <dc:creator>michael_maeuser</dc:creator>
    <dc:date>2013-09-02T12:28:18Z</dc:date>
    <item>
      <title>How to create one table</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-create-one-table/m-p/560534#M209215</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;&lt;/P&gt;&lt;P&gt;I have the following 2 tables:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Actual Table:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;YearMonth, Category ,ActualRevenue&lt;/P&gt;&lt;P&gt;2013-1-1, A, 200&lt;/P&gt;&lt;P&gt;2013-2-1,A,300&lt;/P&gt;&lt;P&gt;2013-3-1,A,500&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Focast table:&lt;/P&gt;&lt;P&gt;YearMonth, Category, FocastRevene&lt;/P&gt;&lt;P&gt;2013-4-1,A,0&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Based onthe above 2 tables, I want to focast the revenue for the second table, the logic is Take the average of the last 3 months and the Category is the same.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So for YearMonth=2013-4-1, the Focast revenue (200+300+500)/3&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;How to use scrip to do it?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 02 Sep 2013 12:14:44 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-create-one-table/m-p/560534#M209215</guid>
      <dc:creator />
      <dc:date>2013-09-02T12:14:44Z</dc:date>
    </item>
    <item>
      <title>Re: How to create one table</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-create-one-table/m-p/560535#M209216</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;load&lt;/P&gt;&lt;P&gt;MonthsStart(1, Today(), 0) as YearMonth&lt;/P&gt;&lt;P&gt;avg(if(month(yearmonth)&amp;gt;= month(today())-3, actualrevenue) as ActualRevenue&lt;/P&gt;&lt;P&gt;resident ActualTable ;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 02 Sep 2013 12:20:29 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-create-one-table/m-p/560535#M209216</guid>
      <dc:creator>michael_maeuser</dc:creator>
      <dc:date>2013-09-02T12:20:29Z</dc:date>
    </item>
    <item>
      <title>Re: How to create one table</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-create-one-table/m-p/560536#M209217</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;sum instead of avg of course and in the if expression add year(yearmonth)=year(today())&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 02 Sep 2013 12:28:18 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-create-one-table/m-p/560536#M209217</guid>
      <dc:creator>michael_maeuser</dc:creator>
      <dc:date>2013-09-02T12:28:18Z</dc:date>
    </item>
  </channel>
</rss>

