<?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 Merge tables in load script in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Merge-tables-in-load-script/m-p/174068#M43030</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;can't get your problem. Tables are correctly connected by keys.&lt;/P&gt;&lt;P&gt;Use Market as dimension, sum(CallsAnswered) and sum(Forecast) as expression and the comparison will show?&lt;/P&gt;&lt;P&gt;I think I missed something?&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Juerg&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 03 Jun 2010 15:34:20 GMT</pubDate>
    <dc:creator />
    <dc:date>2010-06-03T15:34:20Z</dc:date>
    <item>
      <title>Merge tables in load script</title>
      <link>https://community.qlik.com/t5/QlikView/Merge-tables-in-load-script/m-p/174065#M43027</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello all,&lt;/P&gt;&lt;P&gt;I've attached my script - I'm really struggling with this one.&lt;/P&gt;&lt;P&gt;I have my source data showing call volume by day loaded from a .txt file which in table &lt;EM&gt;DAPPLICATIONSTAT.&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;Field ApplicationID is then decoded in the inline table &lt;EM&gt;APPLICATIONID_DECODE&lt;/EM&gt; to get the market that each ApplicationID relates to.&lt;/P&gt;&lt;P&gt;Finally the daily call forecast for each market is then loaded in via the .xls file &lt;EM&gt;CALL_FORECAST&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;As things currently stand I get a loop.&lt;/P&gt;&lt;P&gt;I'm struggling because the call forecast is calculated for each market per day. But the actual call data relates to the ApplicationID and there is more than one ID for each market.......I'm confused!&lt;/P&gt;&lt;P&gt;I think it's possible to merge &lt;EM&gt;DAPPLICATIONSTAT&lt;/EM&gt; and &lt;EM&gt;APPLICATION_ID&lt;/EM&gt; in the load script and then perhaps create a key e.g. Date_Market which I would then link to &lt;EM&gt;CALL_FORECAST&lt;/EM&gt;, but don't know how to do this.........would it even work?&lt;/P&gt;&lt;P&gt;Any assistance is greatly appreciated as always.&lt;/P&gt;&lt;P&gt;APS&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 02 Jun 2010 16:35:32 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Merge-tables-in-load-script/m-p/174065#M43027</guid>
      <dc:creator />
      <dc:date>2010-06-02T16:35:32Z</dc:date>
    </item>
    <item>
      <title>Merge tables in load script</title>
      <link>https://community.qlik.com/t5/QlikView/Merge-tables-in-load-script/m-p/174066#M43028</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I understood that the Application ID is a more detailled level of information. If you want to compare forecast vs. actual you should link the tables through a key in the same level of detail.&lt;/P&gt;&lt;P&gt;You can either aggregate the actual per market then compare with the forecast or bring a more detailed level of the forecast , in application level.&lt;/P&gt;&lt;P&gt;If you just merge them both you will duplicate the forecast if a market has two applications.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 02 Jun 2010 17:50:13 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Merge-tables-in-load-script/m-p/174066#M43028</guid>
      <dc:creator>fernandotoledo</dc:creator>
      <dc:date>2010-06-02T17:50:13Z</dc:date>
    </item>
    <item>
      <title>Merge tables in load script</title>
      <link>https://community.qlik.com/t5/QlikView/Merge-tables-in-load-script/m-p/174067#M43029</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Fernando, thanks for the reply.&lt;/P&gt;&lt;P&gt;You have highlighted the main problem. The forecast is calculated at market level but there is more than one ApplicationID for each market, the result being duplication.&lt;/P&gt;&lt;P&gt;Yes, the intention is to compare actual with forecast at market level.&lt;/P&gt;&lt;P&gt;Does anyone else have any ideas?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 03 Jun 2010 09:07:44 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Merge-tables-in-load-script/m-p/174067#M43029</guid>
      <dc:creator />
      <dc:date>2010-06-03T09:07:44Z</dc:date>
    </item>
    <item>
      <title>Merge tables in load script</title>
      <link>https://community.qlik.com/t5/QlikView/Merge-tables-in-load-script/m-p/174068#M43030</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;can't get your problem. Tables are correctly connected by keys.&lt;/P&gt;&lt;P&gt;Use Market as dimension, sum(CallsAnswered) and sum(Forecast) as expression and the comparison will show?&lt;/P&gt;&lt;P&gt;I think I missed something?&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Juerg&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 03 Jun 2010 15:34:20 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Merge-tables-in-load-script/m-p/174068#M43030</guid>
      <dc:creator />
      <dc:date>2010-06-03T15:34:20Z</dc:date>
    </item>
    <item>
      <title>Merge tables in load script</title>
      <link>https://community.qlik.com/t5/QlikView/Merge-tables-in-load-script/m-p/174069#M43031</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;In my document I have additional data loaded into &lt;EM&gt;DAPPLICATIONSTAT -&lt;/EM&gt; all of which is multiplied becasue of the loop created by my script. This is why I was thinking perhaps merge the tables in the load script and create a key but as has been stated above, the data is at different levels so I don;t think it will work.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 03 Jun 2010 16:51:06 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Merge-tables-in-load-script/m-p/174069#M43031</guid>
      <dc:creator />
      <dc:date>2010-06-03T16:51:06Z</dc:date>
    </item>
  </channel>
</rss>

