<?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: Matching forecast with sales in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Matching-forecast-with-sales/m-p/687978#M249228</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I understood, that you compare equal week numbers across multiple years while getting your sales data per date (mondays) not per week.&lt;/P&gt;&lt;P&gt;It's due to your sample data, that 8/4/14, 8/5/13 and 8/6/12 are not in the same week number und thus can't be compared.&lt;/P&gt;&lt;P&gt;Maybe you can extend your sample data to clarifiy?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Marco&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 15 Aug 2014 22:43:15 GMT</pubDate>
    <dc:creator>MarcoWedel</dc:creator>
    <dc:date>2014-08-15T22:43:15Z</dc:date>
    <item>
      <title>Matching forecast with sales</title>
      <link>https://community.qlik.com/t5/QlikView/Matching-forecast-with-sales/m-p/687970#M249220</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I need some help with figuring out how to display a forecast with older sales. I have future forecasts that I want to display next to sales from the previous year. I have some small files attached. If anyone could help with this, I would appreciate it&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;TABLE border="1" class="jiveBorder" height="74" style="border: 1px solid rgb(0, 0, 0); width: 206px; height: 57px;"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TH style="text-align: center; background-color: #6690bc; color: #ffffff; padding: 2px;" valign="middle"&gt;Week&lt;/TH&gt;&lt;TH style="text-align: center; background-color: #6690bc; color: #ffffff; padding: 2px;" valign="middle"&gt;Product&lt;/TH&gt;&lt;TH style="text-align: center; background-color: #6690bc; color: #ffffff; padding: 2px;" valign="middle"&gt;Forecast&lt;/TH&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px;"&gt;201431&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;A&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;150,000&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px;"&gt;201430&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;B&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;300,000&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;TABLE border="1" class="jiveBorder" height="74" style="border: 1px solid rgb(0, 0, 0); width: 205px; height: 76px;"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TH style="text-align: center; background-color: #6690bc; color: #ffffff; padding: 2px;" valign="middle"&gt;Week&lt;/TH&gt;&lt;TH style="text-align: center; background-color: #6690bc; color: #ffffff; padding: 2px;" valign="middle"&gt;&lt;STRONG&gt;Product&lt;/STRONG&gt;&lt;/TH&gt;&lt;TH style="text-align: center; background-color: #6690bc; color: #ffffff; padding: 2px;" valign="middle"&gt;Sales&lt;/TH&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px;"&gt;201331&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;A&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;142,200&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px;"&gt;201330&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;B&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;535,000&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px;"&gt;201231&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;A&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;112,200&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px;"&gt;201230&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;B&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;300,000&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I want it to display like this: &lt;/P&gt;&lt;TABLE border="1" class="jiveBorder" height="89" style="border: 1px solid rgb(0, 0, 0); width: 341px; height: 91px;"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TH style="text-align: center; background-color: #6690bc; color: #ffffff; padding: 2px;" valign="middle"&gt;Week&lt;/TH&gt;&lt;TH style="text-align: center; background-color: #6690bc; color: #ffffff; padding: 2px;" valign="middle"&gt;Product&lt;/TH&gt;&lt;TH style="text-align: center; background-color: #6690bc; color: #ffffff; padding: 2px;" valign="middle"&gt;&lt;STRONG&gt;Forecast&lt;/STRONG&gt;&lt;/TH&gt;&lt;TH style="text-align: center; background-color: #6690bc; color: #ffffff; padding: 2px;" valign="middle"&gt;&lt;STRONG&gt;Sales in 2013&lt;/STRONG&gt;&lt;/TH&gt;&lt;TH style="text-align: center; background-color: #6690bc; color: #ffffff; padding: 2px;" valign="middle"&gt;&lt;STRONG&gt;Sales in 2012&lt;/STRONG&gt;&lt;/TH&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px;"&gt;201431&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;A&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;150,000&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;142,200&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;112,200&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px;"&gt;201430&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;B&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;300,000&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;535,000&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;300,000&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 15 Aug 2014 16:15:45 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Matching-forecast-with-sales/m-p/687970#M249220</guid>
      <dc:creator />
      <dc:date>2014-08-15T16:15:45Z</dc:date>
    </item>
    <item>
      <title>Re: Matching forecast with sales</title>
      <link>https://community.qlik.com/t5/QlikView/Matching-forecast-with-sales/m-p/687971#M249221</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;see attachment&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 15 Aug 2014 16:27:55 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Matching-forecast-with-sales/m-p/687971#M249221</guid>
      <dc:creator>maxgro</dc:creator>
      <dc:date>2014-08-15T16:27:55Z</dc:date>
    </item>
    <item>
      <title>Re: Matching forecast with sales</title>
      <link>https://community.qlik.com/t5/QlikView/Matching-forecast-with-sales/m-p/687972#M249222</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;See attached example&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 15 Aug 2014 16:34:09 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Matching-forecast-with-sales/m-p/687972#M249222</guid>
      <dc:creator>Gysbert_Wassenaar</dc:creator>
      <dc:date>2014-08-15T16:34:09Z</dc:date>
    </item>
    <item>
      <title>Re: Matching forecast with sales</title>
      <link>https://community.qlik.com/t5/QlikView/Matching-forecast-with-sales/m-p/687973#M249223</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;This is almost perfect!!! I do have one issue though.. all my sales are coming in as the monday dates... so instead of 2014/32 .. it shows up as 8/4/2014.. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What is a way to go about this?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 15 Aug 2014 16:45:02 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Matching-forecast-with-sales/m-p/687973#M249223</guid>
      <dc:creator />
      <dc:date>2014-08-15T16:45:02Z</dc:date>
    </item>
    <item>
      <title>Re: Matching forecast with sales</title>
      <link>https://community.qlik.com/t5/QlikView/Matching-forecast-with-sales/m-p/687974#M249224</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;to change a date in&amp;nbsp;&amp;nbsp; year/week&lt;/P&gt;&lt;P&gt;=Year(yourdatefield) &amp;amp; '/' &amp;amp; num(Week(yourdatefield), '00')&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 15 Aug 2014 16:59:36 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Matching-forecast-with-sales/m-p/687974#M249224</guid>
      <dc:creator>maxgro</dc:creator>
      <dc:date>2014-08-15T16:59:36Z</dc:date>
    </item>
    <item>
      <title>Re: Re: Matching forecast with sales</title>
      <link>https://community.qlik.com/t5/QlikView/Matching-forecast-with-sales/m-p/687975#M249225</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I'm having trouble changing the dates and then making it work. Can you make an example using the new sample sales file?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Also - since the dates for this year and last year won't match up... what can we do about it? is there any way we can add 1+ day ? (i.e 8/4/2014 is a Monday but 8/4/2013 is a Sunday...)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 15 Aug 2014 18:42:40 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Matching-forecast-with-sales/m-p/687975#M249225</guid>
      <dc:creator />
      <dc:date>2014-08-15T18:42:40Z</dc:date>
    </item>
    <item>
      <title>Re: Matching forecast with sales</title>
      <link>https://community.qlik.com/t5/QlikView/Matching-forecast-with-sales/m-p/687976#M249226</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;one more possible solution:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="QlikCommunity_Thread_129627_Pic1.JPG.jpg" class="jive-image" src="https://community.qlik.com/legacyfs/online/64545_QlikCommunity_Thread_129627_Pic1.JPG.jpg" /&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="QlikCommunity_Thread_129627_Pic3.JPG.jpg" class="jive-image" src="https://community.qlik.com/legacyfs/online/64556_QlikCommunity_Thread_129627_Pic3.JPG.jpg" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="QlikCommunity_Thread_129627_Pic4.JPG.jpg" class="jive-image" src="https://community.qlik.com/legacyfs/online/64557_QlikCommunity_Thread_129627_Pic4.JPG.jpg" /&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="QlikCommunity_Thread_129627_Pic2.JPG.jpg" class="jive-image" src="https://community.qlik.com/legacyfs/online/64546_QlikCommunity_Thread_129627_Pic2.JPG.jpg" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE __default_attr="plain" __jive_macro_name="code" class="jive_text_macro jive_macro_code _jivemacro_uid_14081396998403523" jivemacro_uid="_14081396998403523"&gt;
&lt;P&gt;tabForecastSales:&lt;/P&gt;
&lt;P&gt;LOAD WeekName(MakeWeekDate(Left(@1,4), Right(@1, Len(@1)-4))) as Week,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Right(@1, Len(@1)-4) as WeekNum,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Left(@1, 4) as Year,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; @2 as Product,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Money(@3,'#,##0 €;-#,##0 €') as Amount,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; 'Forecast' as Type&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;FROM [&lt;/SPAN&gt;&lt;A class="" data-containerid="-1" data-containertype="-1" data-objectid="120409" data-objecttype="13" href="http://community.qlik.com/servlet/JiveServlet/download/2051-129627-589519-120409/forecast+sample.xls"&gt;http://community.qlik.com/servlet/JiveServlet/download/589519-120409/forecast%20sample.xls&lt;/A&gt;&lt;SPAN&gt;]&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;(biff, no labels, table is Sheet1$);&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;LOAD WeekName(Week) as Week,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Week(Week) as WeekNum,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Year(Week) as Year,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Product,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Money(Sales,'#,##0 €;-#,##0 €') as Amount,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; 'Sales' as Type&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;//FROM [&lt;/SPAN&gt;&lt;A class="" data-containerid="-1" data-containertype="-1" data-objectid="120408" data-objecttype="13" href="http://community.qlik.com/servlet/JiveServlet/download/2051-129627-589519-120408/sales+sample.xls"&gt;http://community.qlik.com/servlet/JiveServlet/download/589519-120408/sales%20sample.xls&lt;/A&gt;&lt;SPAN&gt;]&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;//(biff, embedded labels, table is Sheet1$);&lt;/P&gt;
&lt;P&gt;//&lt;/P&gt;
&lt;P&gt;//Inline Load due to wrong years in sample data&lt;/P&gt;
&lt;P&gt;INLINE [&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Week, Product, Sales&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; 08/04/2013, A, 142200&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; 07/28/2013, B, 535000&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; 08/04/2012, A, 112200&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; 07/28/2012, B, 300000&lt;/P&gt;
&lt;P&gt;];&lt;/P&gt;
&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;hope this helps&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Marco&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 15 Aug 2014 21:59:24 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Matching-forecast-with-sales/m-p/687976#M249226</guid>
      <dc:creator>MarcoWedel</dc:creator>
      <dc:date>2014-08-15T21:59:24Z</dc:date>
    </item>
    <item>
      <title>Re: Matching forecast with sales</title>
      <link>https://community.qlik.com/t5/QlikView/Matching-forecast-with-sales/m-p/687977#M249227</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Does this address the date issue? &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;This year and last year won't match up... what can we do about it? &lt;/SPAN&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 10pt; line-height: 1.5em;"&gt;Is there any way we can add 1+ day ? &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 10pt; line-height: 1.5em;"&gt;(i.e Week 32 - 8/4/2014 is a Monday but 8/4/2013 is a Sunday...so I would need 8/5 for year 2013 and 8/6 for 2012 in order for the weeks to match up, that is be Week 32. &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: 10pt; 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: 10pt; line-height: 1.5em;"&gt;Does this make sense?&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: 10pt; line-height: 1.5em;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 15 Aug 2014 22:14:06 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Matching-forecast-with-sales/m-p/687977#M249227</guid>
      <dc:creator />
      <dc:date>2014-08-15T22:14:06Z</dc:date>
    </item>
    <item>
      <title>Re: Matching forecast with sales</title>
      <link>https://community.qlik.com/t5/QlikView/Matching-forecast-with-sales/m-p/687978#M249228</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I understood, that you compare equal week numbers across multiple years while getting your sales data per date (mondays) not per week.&lt;/P&gt;&lt;P&gt;It's due to your sample data, that 8/4/14, 8/5/13 and 8/6/12 are not in the same week number und thus can't be compared.&lt;/P&gt;&lt;P&gt;Maybe you can extend your sample data to clarifiy?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Marco&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 15 Aug 2014 22:43:15 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Matching-forecast-with-sales/m-p/687978#M249228</guid>
      <dc:creator>MarcoWedel</dc:creator>
      <dc:date>2014-08-15T22:43:15Z</dc:date>
    </item>
    <item>
      <title>Re: Re: Matching forecast with sales</title>
      <link>https://community.qlik.com/t5/QlikView/Matching-forecast-with-sales/m-p/687979#M249229</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Data set is now fixed to help with this particular problem. Thank you, your help is appreciated&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Note: Forecast is by week numbers and Sales is by Monday dates.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 16 Aug 2014 15:12:41 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Matching-forecast-with-sales/m-p/687979#M249229</guid>
      <dc:creator />
      <dc:date>2014-08-16T15:12:41Z</dc:date>
    </item>
    <item>
      <title>Re: Re: Re: Matching forecast with sales</title>
      <link>https://community.qlik.com/t5/QlikView/Matching-forecast-with-sales/m-p/687980#M249230</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;for those sales dates that match the forecast weeks, the solution delivers this result:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="QlikCommunity_Thread_129627_Pic5.JPG.jpg" class="jive-image" src="https://community.qlik.com/legacyfs/online/64576_QlikCommunity_Thread_129627_Pic5.JPG.jpg" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;As your sample data doesn't contain values for all products in all weeks and all years, there are blank fields in the pivot table though.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;hope this helps&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Marco&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 17 Aug 2014 12:05:59 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Matching-forecast-with-sales/m-p/687980#M249230</guid>
      <dc:creator>MarcoWedel</dc:creator>
      <dc:date>2014-08-17T12:05:59Z</dc:date>
    </item>
    <item>
      <title>Re: Matching forecast with sales</title>
      <link>https://community.qlik.com/t5/QlikView/Matching-forecast-with-sales/m-p/687981#M249231</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I'm having an "allocated memory exceeded" error....&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm also looking at the expressions and I only see one for amount. How did you do the expressions forecast 2014, sales 2013, etc?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 17 Aug 2014 14:18:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Matching-forecast-with-sales/m-p/687981#M249231</guid>
      <dc:creator />
      <dc:date>2014-08-17T14:18:04Z</dc:date>
    </item>
    <item>
      <title>Re: Matching forecast with sales</title>
      <link>https://community.qlik.com/t5/QlikView/Matching-forecast-with-sales/m-p/687982#M249232</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;there is only one expression "amount".&lt;/P&gt;&lt;P&gt;The period columns are a dimension dragged to the top like this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="QlikCommunity_Thread_129627_Pic6.JPG.jpg" class="jive-image" src="https://community.qlik.com/legacyfs/online/64598_QlikCommunity_Thread_129627_Pic6.JPG.jpg" /&gt;&lt;/P&gt;&lt;P&gt;and defined as:&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;=Dual(Type&amp;amp;' '&amp;amp;Year,Year)&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I did not exactly understand your requirement about which dates and weeks are to be compared and thus expected to be in one row.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can you clarify with further examples?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanks&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Marco&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 17 Aug 2014 21:41:31 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Matching-forecast-with-sales/m-p/687982#M249232</guid>
      <dc:creator>MarcoWedel</dc:creator>
      <dc:date>2014-08-17T21:41:31Z</dc:date>
    </item>
    <item>
      <title>Re: Re: Matching forecast with sales</title>
      <link>https://community.qlik.com/t5/QlikView/Matching-forecast-with-sales/m-p/687983#M249233</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Marco,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I've attached a new excel file that includes both forecasts and sales data in the tabs. It's smaller so it's easier to understand when looking at it. The sample layout is what I would like to see in QV. The chart below is a good example of what I want to see but instead of WeekNum, I want to see the Monday date (example: 08/04/2014)&amp;nbsp; and the forecast and the sales from previous years.&lt;/P&gt;&lt;P&gt;&lt;IMG alt="QlikCommunity_Thread_129627_Pic5.JPG.jpg" class="jiveImage" src="https://community.qlik.com/legacyfs/online/64601_QlikCommunity_Thread_129627_Pic5.JPG.jpg" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I think we need to convert the sales history field "Week" from Monday date (08/05/2013) in the excel file to the week number which would be week 32 (201332).... so we ignore the 2013 so that we can do a side by side comparison of future forecast vs sales from previous years... &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please let me know if you need any other clarifications. Thank you so much for your help&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 17 Aug 2014 22:48:01 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Matching-forecast-with-sales/m-p/687983#M249233</guid>
      <dc:creator />
      <dc:date>2014-08-17T22:48:01Z</dc:date>
    </item>
  </channel>
</rss>

