<?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: Re: Intervalmatch help needed in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Intervalmatch-help-needed/m-p/708738#M667968</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Not that I recommend it but, this should do it:&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_14145085642886524" jivemacro_uid="_14145085642886524"&gt;
&lt;P&gt;ActualDemand:&lt;/P&gt;
&lt;P&gt;LOAD WarehouseItem,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Date_ActualDemand,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Qty_ActualDemand&lt;/P&gt;
&lt;P&gt;FROM [ActualDemand.qvd] (qvd);&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;Tmp:&lt;/P&gt;
&lt;P&gt;LOAD WarehouseItem,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; [Shipped Qty],&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; PeriodFromDate,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; PeriodToDate&lt;/P&gt;
&lt;P&gt;FROM [ActualDeliveries.qvd] (qvd);&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;join(ActualDemand)&lt;/P&gt;
&lt;P&gt;IntervalMatch(Date_ActualDemand,WarehouseItem)&lt;/P&gt;
&lt;P&gt;LOAD PeriodFromDate,PeriodToDate,WarehouseItem&lt;/P&gt;
&lt;P&gt;Resident Tmp;&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;join(ActualDemand)&lt;/P&gt;
&lt;P&gt;LOAD * Resident Tmp;&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;Drop Table Tmp;&lt;/P&gt;
&lt;/PRE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 28 Oct 2014 15:03:01 GMT</pubDate>
    <dc:creator>Gysbert_Wassenaar</dc:creator>
    <dc:date>2014-10-28T15:03:01Z</dc:date>
    <item>
      <title>Intervalmatch help needed</title>
      <link>https://community.qlik.com/t5/QlikView/Intervalmatch-help-needed/m-p/708731#M667961</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 need to combine two tables into one to analyze actual demand vs shipped qty but I have not found a good way to do this yet.&lt;/P&gt;&lt;P&gt;Hope somebody could help me with this.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The challenge is that table for actual demand is aggregated by date (timestamp) while shipped qty is aggregated by period with a from - to timestamp. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This shows the intended result:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="Demand_ShipptedQty.JPG.jpg" class="jive-image" src="https://community.qlik.com/legacyfs/online/69831_Demand_ShipptedQty.JPG.jpg" style="width: 620px; height: 239px;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have attached the qvd file for this simplified example.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 28 Oct 2014 08:08:02 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Intervalmatch-help-needed/m-p/708731#M667961</guid>
      <dc:creator />
      <dc:date>2014-10-28T08:08:02Z</dc:date>
    </item>
    <item>
      <title>Re: Intervalmatch help needed</title>
      <link>https://community.qlik.com/t5/QlikView/Intervalmatch-help-needed/m-p/708732#M667962</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;See attached qvw. &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 28 Oct 2014 08:28:45 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Intervalmatch-help-needed/m-p/708732#M667962</guid>
      <dc:creator>Gysbert_Wassenaar</dc:creator>
      <dc:date>2014-10-28T08:28:45Z</dc:date>
    </item>
    <item>
      <title>Re: Intervalmatch help needed</title>
      <link>https://community.qlik.com/t5/QlikView/Intervalmatch-help-needed/m-p/708733#M667963</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks Gysbert,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The actual data contains many million rows. Do you recommend this solution in this case, or is there a different method to sum(ActualDemandQty) in the script?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 28 Oct 2014 08:44:25 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Intervalmatch-help-needed/m-p/708733#M667963</guid>
      <dc:creator />
      <dc:date>2014-10-28T08:44:25Z</dc:date>
    </item>
    <item>
      <title>Re: Intervalmatch help needed</title>
      <link>https://community.qlik.com/t5/QlikView/Intervalmatch-help-needed/m-p/708734#M667964</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Surely you don't intend to show &lt;EM&gt;all&lt;/EM&gt; the millions of rows in a sheet object at the lowest level of detail?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 28 Oct 2014 08:48:29 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Intervalmatch-help-needed/m-p/708734#M667964</guid>
      <dc:creator>Gysbert_Wassenaar</dc:creator>
      <dc:date>2014-10-28T08:48:29Z</dc:date>
    </item>
    <item>
      <title>Re: Intervalmatch help needed</title>
      <link>https://community.qlik.com/t5/QlikView/Intervalmatch-help-needed/m-p/708735#M667965</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The table showing the ship qty also contains other information such as forecast for the period. &lt;/P&gt;&lt;P&gt;So what I really want to do is to analyze Forecast vs Actual Demand vs Shipped Qty over different time intervals.&lt;/P&gt;&lt;P&gt;Actual demand I need to get from a different table and this is showing demand per date, not per period. &lt;/P&gt;&lt;P&gt;So I have about 30.000 items and 150 periods per item. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I need to show this data for every item and then I will have to aggregate periods to show e.g. YTD, LY, Quarters etc. and calculate forecast accuracy over the time interval and highlight items with low accuracy. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Ideally (I think..) I would want the sum(actual demand qty) joined into the shipqty table. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Not sure if the explanation helps? &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 28 Oct 2014 08:58:14 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Intervalmatch-help-needed/m-p/708735#M667965</guid>
      <dc:creator />
      <dc:date>2014-10-28T08:58:14Z</dc:date>
    </item>
    <item>
      <title>Re: Intervalmatch help needed</title>
      <link>https://community.qlik.com/t5/QlikView/Intervalmatch-help-needed/m-p/708736#M667966</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;If you want you can join all the data in the script into one table. Or you can create additional summary tables. But I'd start with giving the users options to make selections so they're not confronted with non-performing sheet objects that try to show 30.000 items over 150 periods at the same time.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 28 Oct 2014 09:05:21 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Intervalmatch-help-needed/m-p/708736#M667966</guid>
      <dc:creator>Gysbert_Wassenaar</dc:creator>
      <dc:date>2014-10-28T09:05:21Z</dc:date>
    </item>
    <item>
      <title>Re: Intervalmatch help needed</title>
      <link>https://community.qlik.com/t5/QlikView/Intervalmatch-help-needed/m-p/708737#M667967</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I agree.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;How would you do it if we were to join all data into one table in the example attached?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;BR /&gt;Freddy&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 28 Oct 2014 09:07:47 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Intervalmatch-help-needed/m-p/708737#M667967</guid>
      <dc:creator />
      <dc:date>2014-10-28T09:07:47Z</dc:date>
    </item>
    <item>
      <title>Re: Re: Intervalmatch help needed</title>
      <link>https://community.qlik.com/t5/QlikView/Intervalmatch-help-needed/m-p/708738#M667968</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Not that I recommend it but, this should do it:&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_14145085642886524" jivemacro_uid="_14145085642886524"&gt;
&lt;P&gt;ActualDemand:&lt;/P&gt;
&lt;P&gt;LOAD WarehouseItem,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Date_ActualDemand,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Qty_ActualDemand&lt;/P&gt;
&lt;P&gt;FROM [ActualDemand.qvd] (qvd);&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;Tmp:&lt;/P&gt;
&lt;P&gt;LOAD WarehouseItem,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; [Shipped Qty],&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; PeriodFromDate,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; PeriodToDate&lt;/P&gt;
&lt;P&gt;FROM [ActualDeliveries.qvd] (qvd);&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;join(ActualDemand)&lt;/P&gt;
&lt;P&gt;IntervalMatch(Date_ActualDemand,WarehouseItem)&lt;/P&gt;
&lt;P&gt;LOAD PeriodFromDate,PeriodToDate,WarehouseItem&lt;/P&gt;
&lt;P&gt;Resident Tmp;&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;join(ActualDemand)&lt;/P&gt;
&lt;P&gt;LOAD * Resident Tmp;&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;Drop Table Tmp;&lt;/P&gt;
&lt;/PRE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 28 Oct 2014 15:03:01 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Intervalmatch-help-needed/m-p/708738#M667968</guid>
      <dc:creator>Gysbert_Wassenaar</dc:creator>
      <dc:date>2014-10-28T15:03:01Z</dc:date>
    </item>
  </channel>
</rss>

