<?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: Actual vs Forecast negative values in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Actual-vs-Forecast-negative-values/m-p/1021071#M345444</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Definitely I will be getting your book. Is it available on Packt Publisher or just Amazon?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 13 Apr 2016 00:30:58 GMT</pubDate>
    <dc:creator>clondono</dc:creator>
    <dc:date>2016-04-13T00:30:58Z</dc:date>
    <item>
      <title>Actual vs Forecast negative values</title>
      <link>https://community.qlik.com/t5/QlikView/Actual-vs-Forecast-negative-values/m-p/1021068#M345441</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have a chart to show Actual vs Forecast amounts (see attached sample).&amp;nbsp; The issue I am having is that the forecast data is showing negative values for future months when in reality it should not contain any negative values for future months.&amp;nbsp; We have a flag for current forecast (IS_CURRENT_FORECAST), all values flagged 'Y' should be future months (in this case March-June 2016 because data for March has not been consolidated yet).&lt;/P&gt;&lt;P&gt;&lt;IMG alt="1.png" class="jive-image image-1" height="139" src="https://community.qlik.com/legacyfs/online/121444_1.png" style="height: 138.607px; width: 362px;" width="362" /&gt;&lt;/P&gt;&lt;P style="margin-bottom: .0001pt;"&gt;Dimension Year/Month:&amp;nbsp; &lt;/P&gt;&lt;P style="margin-bottom: .0001pt;"&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: black;"&gt;=&lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: blue;"&gt;Date&lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: black;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: maroon;"&gt;FISCAL_MONTH_YEAR&lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: black;"&gt;, 'YYYY-MMM') &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Expressions:&lt;/P&gt;&lt;P&gt;Forecast:&lt;/P&gt;&lt;P style="margin-bottom: .0001pt;"&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: blue;"&gt;round&lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: black;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: blue;"&gt;sum&lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: black;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: maroon;"&gt;FORECAST_AMOUNT&lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: black;"&gt;), 1000)/1000&amp;nbsp; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Actual:&lt;/P&gt;&lt;P style="margin-bottom: .0001pt;"&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: blue;"&gt;round&lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: black;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: blue;"&gt;sum&lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: black;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: maroon;"&gt;ACTUAL_AMOUNT&lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: black;"&gt;), 1000)/1000&amp;nbsp; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for your help!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 12 Apr 2016 23:25:17 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Actual-vs-Forecast-negative-values/m-p/1021068#M345441</guid>
      <dc:creator>clondono</dc:creator>
      <dc:date>2016-04-12T23:25:17Z</dc:date>
    </item>
    <item>
      <title>Re: Actual vs Forecast negative values</title>
      <link>https://community.qlik.com/t5/QlikView/Actual-vs-Forecast-negative-values/m-p/1021069#M345442</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Carlos,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;the data clearly shows a huge negative amount for June. It's marked as not current. Maybe you need to add a Set Analysis filter and only select "current" forecast? Something like this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;round(sum({&amp;lt;IS_CURRENT_FORECAST = {'Y'}&amp;gt;} FORECAST_AMOUNT), 1000)/1000&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;See attached solution.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;cheers,&lt;/P&gt;&lt;P&gt;Oleg Troyansky&lt;/P&gt;&lt;P&gt;Check out my new book &lt;A href="http://www.amazon.com/gp/product/1118949552/ref=as_li_tl?ie=UTF8&amp;amp;camp=1789&amp;amp;creative=9325&amp;amp;creativeASIN=1118949552&amp;amp;linkCode=as2&amp;amp;tag=natursyner0f-20&amp;amp;linkId=IN55M5EPRHLRBWIQ"&gt;QlikView Your Business - The Expert Guide for QlikView and Qlik Sense&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 12 Apr 2016 23:48:28 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Actual-vs-Forecast-negative-values/m-p/1021069#M345442</guid>
      <dc:creator>Oleg_Troyansky</dc:creator>
      <dc:date>2016-04-12T23:48:28Z</dc:date>
    </item>
    <item>
      <title>Re: Actual vs Forecast negative values</title>
      <link>https://community.qlik.com/t5/QlikView/Actual-vs-Forecast-negative-values/m-p/1021070#M345443</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yes Oleg, set analysis did the trick!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Awesome, thanks for your help!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Carlos&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 13 Apr 2016 00:29:14 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Actual-vs-Forecast-negative-values/m-p/1021070#M345443</guid>
      <dc:creator>clondono</dc:creator>
      <dc:date>2016-04-13T00:29:14Z</dc:date>
    </item>
    <item>
      <title>Re: Actual vs Forecast negative values</title>
      <link>https://community.qlik.com/t5/QlikView/Actual-vs-Forecast-negative-values/m-p/1021071#M345444</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Definitely I will be getting your book. Is it available on Packt Publisher or just Amazon?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 13 Apr 2016 00:30:58 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Actual-vs-Forecast-negative-values/m-p/1021071#M345444</guid>
      <dc:creator>clondono</dc:creator>
      <dc:date>2016-04-13T00:30:58Z</dc:date>
    </item>
    <item>
      <title>Re: Actual vs Forecast negative values</title>
      <link>https://community.qlik.com/t5/QlikView/Actual-vs-Forecast-negative-values/m-p/1021072#M345445</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Carlos,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It's published by Wiley, so it wouldn't be available from Packt, but other than that - any common book store has it in a variety of formats.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;enjoy!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Oleg Troyansky&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 13 Apr 2016 17:53:33 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Actual-vs-Forecast-negative-values/m-p/1021072#M345445</guid>
      <dc:creator>Oleg_Troyansky</dc:creator>
      <dc:date>2016-04-13T17:53:33Z</dc:date>
    </item>
  </channel>
</rss>

