<?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 Comparison between actual sales and forecast using a script in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Comparison-between-actual-sales-and-forecast-using-a-script/m-p/482580#M687266</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;How can i compar between "forecast amount" in the forecast table&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;to "amount" in sales amount table?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;the common fields are: mont in forecast table. invoicedate&lt;BR /&gt;in sales amount table.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sun, 24 Nov 2013 12:48:11 GMT</pubDate>
    <dc:creator />
    <dc:date>2013-11-24T12:48:11Z</dc:date>
    <item>
      <title>Comparison between actual sales and forecast using a script</title>
      <link>https://community.qlik.com/t5/QlikView/Comparison-between-actual-sales-and-forecast-using-a-script/m-p/482580#M687266</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;How can i compar between "forecast amount" in the forecast table&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;to "amount" in sales amount table?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;the common fields are: mont in forecast table. invoicedate&lt;BR /&gt;in sales amount table.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 24 Nov 2013 12:48:11 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Comparison-between-actual-sales-and-forecast-using-a-script/m-p/482580#M687266</guid>
      <dc:creator />
      <dc:date>2013-11-24T12:48:11Z</dc:date>
    </item>
    <item>
      <title>Re: Comparison between actual sales and forecast using a script</title>
      <link>https://community.qlik.com/t5/QlikView/Comparison-between-actual-sales-and-forecast-using-a-script/m-p/482581#M687267</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;STRONG&gt;Alon&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;First you need to join your two tables in the load script, by adding the lines below in &lt;SPAN style="color: #993300;"&gt;&lt;STRONG&gt;bold brown&lt;/STRONG&gt;&lt;/SPAN&gt;.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Give that a go &amp;amp; if needed post the revised qvw and ask for suggestions.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;Sales_Actual:&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;LOAD InvoiceID,&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; InvoiceDate,&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&lt;SPAN style="color: #993300;"&gt;&lt;STRONG&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Monthname( InvoiceDate ) as [YearMonth] ,&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; CustomerID,&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; ProductID,&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Quantity,&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Amount,&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; RequiredDate,&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; ShippedDate,&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; TakingDays,&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; ShipVia,&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Cancel_Flag&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;FROM&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;data.xlsx&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;(ooxml, embedded labels, table is [Sales Actual]);&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;Forecast:&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;LOAD&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Year,&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Month,&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&lt;SPAN style="color: #993300;"&gt;&lt;STRONG&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; monthname ( date ( date# ( text (num ( Month , '00' ))&amp;nbsp; &amp;amp; Year , 'MMYYYY') ) ) as [YearMonth] ,&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&lt;SPAN style="color: #993300;"&gt;&lt;STRONG&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/STRONG&gt;&lt;SPAN style="color: #000000;"&gt;CategoryID&lt;/SPAN&gt;&lt;STRONG&gt;,&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; CategoryName,&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Forecast_Amount&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;FROM&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;data.xlsx&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;(ooxml, embedded labels, table is Forecast);&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best Regards,&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;STRONG&gt;Bill&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 24 Nov 2013 13:45:25 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Comparison-between-actual-sales-and-forecast-using-a-script/m-p/482581#M687267</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2013-11-24T13:45:25Z</dc:date>
    </item>
    <item>
      <title>Re: Comparison between actual sales and forecast using a script</title>
      <link>https://community.qlik.com/t5/QlikView/Comparison-between-actual-sales-and-forecast-using-a-script/m-p/482582#M687268</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you for the ansuer. works good.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;How can i make group by on the sales?&lt;/P&gt;&lt;P&gt;&lt;SPAN class="hps"&gt;I want&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;to compare&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;total&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;sales&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;by month&lt;/SPAN&gt;-&lt;/P&gt;&lt;P&gt; to compare the total sales&amp;nbsp; of january to the total forecast of january e&lt;SPAN class="hps"&gt;tc.&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 24 Nov 2013 16:43:27 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Comparison-between-actual-sales-and-forecast-using-a-script/m-p/482582#M687268</guid>
      <dc:creator />
      <dc:date>2013-11-24T16:43:27Z</dc:date>
    </item>
    <item>
      <title>Re: Comparison between actual sales and forecast using a script</title>
      <link>https://community.qlik.com/t5/QlikView/Comparison-between-actual-sales-and-forecast-using-a-script/m-p/482583#M687269</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;STRONG&gt;Alon&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Glad to hear you are on the road.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For your question above, why not you start a new discussion and attach your revised qvw to it.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best Regards,&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;STRONG&gt;Bill&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 24 Nov 2013 17:01:59 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Comparison-between-actual-sales-and-forecast-using-a-script/m-p/482583#M687269</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2013-11-24T17:01:59Z</dc:date>
    </item>
  </channel>
</rss>

