<?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 calculate forecast data in straight table in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/How-to-calculate-forecast-data-in-straight-table/m-p/1049415#M931431</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Is the forecast field available in the database or is this a calculation?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 10 Mar 2016 14:21:26 GMT</pubDate>
    <dc:creator>sunny_talwar</dc:creator>
    <dc:date>2016-03-10T14:21:26Z</dc:date>
    <item>
      <title>How to calculate forecast data in straight table</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-calculate-forecast-data-in-straight-table/m-p/1049413#M931429</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I want to calculate forecast value based on user selection.I am using master calendar where I have month , Year as filter&lt;/P&gt;&lt;P&gt;so if user selects year=15 and month =Jan, then from Feb-15 to May-15 it should come as forecast data.how to calculate that field in expression.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;TABLE border="0" cellpadding="0" cellspacing="0" style="width: 116px;"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD height="20" width="52"&gt;Date&lt;/TD&gt;&lt;TD width="64"&gt;Value&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD align="right" class="xl63" height="20"&gt;Oct-14&lt;/TD&gt;&lt;TD align="right"&gt;10&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD align="right" class="xl63" height="20"&gt;Nov-14&lt;/TD&gt;&lt;TD align="right"&gt;34&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD align="right" class="xl63" height="20"&gt;Dec-14&lt;/TD&gt;&lt;TD align="right"&gt;32&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD align="right" class="xl63" height="20"&gt;Jan-15&lt;/TD&gt;&lt;TD align="right"&gt;10&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD align="right" class="xl63" height="20"&gt;Feb-15&lt;/TD&gt;&lt;TD align="right"&gt;0&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD align="right" class="xl63" height="20"&gt;Mar-15&lt;/TD&gt;&lt;TD align="right"&gt;23&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD align="right" class="xl63" height="20"&gt;Apr-15&lt;/TD&gt;&lt;TD align="right"&gt;0&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD align="right" class="xl63" height="20"&gt;May-15&lt;/TD&gt;&lt;TD align="right"&gt;67&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 25 Nov 2020 16:16:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-calculate-forecast-data-in-straight-table/m-p/1049413#M931429</guid>
      <dc:creator>abc_18</dc:creator>
      <dc:date>2020-11-25T16:16:04Z</dc:date>
    </item>
    <item>
      <title>Re: How to calculate forecast data in straight table</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-calculate-forecast-data-in-straight-table/m-p/1049414#M931430</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Maybe sum({&amp;lt;Date={'&amp;gt;$(=Max(Date))'}&amp;gt;}Value)&lt;/P&gt;&lt;P&gt;If not, please post a small qlikview document that demonstrates the problem.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 10 Mar 2016 14:18:51 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-calculate-forecast-data-in-straight-table/m-p/1049414#M931430</guid>
      <dc:creator>Gysbert_Wassenaar</dc:creator>
      <dc:date>2016-03-10T14:18:51Z</dc:date>
    </item>
    <item>
      <title>Re: How to calculate forecast data in straight table</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-calculate-forecast-data-in-straight-table/m-p/1049415#M931431</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Is the forecast field available in the database or is this a calculation?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 10 Mar 2016 14:21:26 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-calculate-forecast-data-in-straight-table/m-p/1049415#M931431</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2016-03-10T14:21:26Z</dc:date>
    </item>
    <item>
      <title>Re: How to calculate forecast data in straight table</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-calculate-forecast-data-in-straight-table/m-p/1049416#M931432</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;See if it works for you -&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="Capture.JPG" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/117621_Capture.JPG" style="height: auto;" /&gt;&lt;/P&gt;&lt;P&gt;same expression as suggested by &lt;A href="https://community.qlik.com/qlik-users/96544"&gt;gwassenaar&lt;/A&gt; ,removed zeros from Present Column.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 10 Mar 2016 15:38:31 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-calculate-forecast-data-in-straight-table/m-p/1049416#M931432</guid>
      <dc:creator>Digvijay_Singh</dc:creator>
      <dc:date>2016-03-10T15:38:31Z</dc:date>
    </item>
    <item>
      <title>Re: How to calculate forecast data in straight table</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-calculate-forecast-data-in-straight-table/m-p/1049417#M931433</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Forecast filed I need to calculate based on value and date&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 10 Mar 2016 15:46:05 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-calculate-forecast-data-in-straight-table/m-p/1049417#M931433</guid>
      <dc:creator>abc_18</dc:creator>
      <dc:date>2016-03-10T15:46:05Z</dc:date>
    </item>
    <item>
      <title>Re: How to calculate forecast data in straight table</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-calculate-forecast-data-in-straight-table/m-p/1049418#M931434</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: 12px;"&gt;HI Digvijay&lt;/SPAN&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 12px; line-height: 1.5em;"&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: 12px; line-height: 1.5em;"&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: 12px; line-height: 1.5em;"&gt;How to apply same forecast logic in below condition:&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: 12px; line-height: 1.5em;"&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: 12px;"&gt;if(DIVISION='PUMA',sum({&amp;lt;FYEAR=&amp;gt;})Value,&lt;/SPAN&gt;&lt;SPAN style="font-size: 13.3333px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;sum({&amp;lt;Year=&amp;gt;})Value&lt;/SPAN&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 12px;"&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: 12px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-size: 12px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;Date filed linking is with master calendar (FYEAR,Year values&amp;nbsp; are from Master calendar)&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 10 Mar 2016 16:26:46 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-calculate-forecast-data-in-straight-table/m-p/1049418#M931434</guid>
      <dc:creator>abc_18</dc:creator>
      <dc:date>2016-03-10T16:26:46Z</dc:date>
    </item>
    <item>
      <title>Re: How to calculate forecast data in straight table</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-calculate-forecast-data-in-straight-table/m-p/1049419#M931435</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="font-size: 12px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Try like this - you should verify the result by not changing label of expression, it will show if set expression is failing.&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 12px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;if(DIVISION='PUMA',sum({1&amp;lt;FYEAR=,&lt;SPAN style="font-size: 13.3333px;"&gt;Date={'&amp;gt;$(=Max(Date))'}&lt;/SPAN&gt;&amp;gt;}Value),&lt;/SPAN&gt;&lt;SPAN style="font-size: 13.3333px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;sum({&amp;lt;Year=&amp;gt;}Value&lt;/SPAN&gt;&lt;SPAN style="font-size: 12px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;))&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 12px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 10 Mar 2016 17:04:25 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-calculate-forecast-data-in-straight-table/m-p/1049419#M931435</guid>
      <dc:creator>Digvijay_Singh</dc:creator>
      <dc:date>2016-03-10T17:04:25Z</dc:date>
    </item>
    <item>
      <title>Re: How to calculate forecast data in straight table</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-calculate-forecast-data-in-straight-table/m-p/1049420#M931436</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Gysbert,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I tried your expression to get previous year value.&lt;/P&gt;&lt;P&gt;=if(DIVISION='PUMA',sum({&amp;lt;FYear={$(=(FYear)-1)}&amp;gt;}Value),sum({&amp;lt;Year={$(=(Year)-1)}&amp;gt;}Value))&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;but I am getting '0' value&amp;nbsp; in previous year column.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 11 Mar 2016 06:54:02 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-calculate-forecast-data-in-straight-table/m-p/1049420#M931436</guid>
      <dc:creator>abc_18</dc:creator>
      <dc:date>2016-03-11T06:54:02Z</dc:date>
    </item>
    <item>
      <title>Re: How to calculate forecast data in straight table</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-calculate-forecast-data-in-straight-table/m-p/1049421#M931437</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;As I posted earlier: &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;&lt;STRONG&gt;If not, please post a small qlikview document that demonstrates the problem.&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 11 Mar 2016 13:19:35 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-calculate-forecast-data-in-straight-table/m-p/1049421#M931437</guid>
      <dc:creator>Gysbert_Wassenaar</dc:creator>
      <dc:date>2016-03-11T13:19:35Z</dc:date>
    </item>
  </channel>
</rss>

