<?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: Interval match and syntethic table in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Interval-match-and-syntethic-table/m-p/907408#M653322</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;Synthetic table is recommended in interval match scenarios. At least I recommend through my experience &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt; Best possible performance because if you join it into the bridge table (which you can) it multiplies the table and creates a huge one, slowing the performance eventually. As long as the result is correct, this model is best practice.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can try joining it; you can see yourself. Just write "join" before the bridge table.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;BR&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Serhan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 21 Jul 2015 06:40:58 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2015-07-21T06:40:58Z</dc:date>
    <item>
      <title>Interval match and syntethic table</title>
      <link>https://community.qlik.com/t5/QlikView/Interval-match-and-syntethic-table/m-p/907407#M653321</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hallo,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I hope that you guys can help me or at least give a hint.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I was about to create the 'bridge table' with the help of IntervalMatch:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;events:&lt;/P&gt;&lt;P&gt;LOAD * INLINE [&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; event, eventdate&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; a, 12.03.2014&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; b, 12.03.2015&lt;/P&gt;&lt;P&gt;];&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Interval:&lt;/P&gt;&lt;P&gt;LOAD * INLINE [&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; intervalId, begin, end, preis&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; 1, 01.01.2013, 01.05.2014, 65&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; 2, 01.01.2013, 01.05.2014, 55&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; 3, 02.05.2014, 31.12.2015, 75&lt;/P&gt;&lt;P&gt;];&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;bridge:&lt;/P&gt;&lt;P&gt;IntervalMatch (eventdate)&lt;/P&gt;&lt;P&gt;load begin, end&lt;/P&gt;&lt;P&gt;Resident Interval; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Nevertheless I constantly get the synthetic table. &lt;/P&gt;&lt;P&gt;I have found other discussion where the similar example is shown but without synth table...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;here is the data model:&lt;/P&gt;&lt;P&gt;&lt;IMG alt="export.png" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/93431_export.png" style="height: 371px; width: 620px;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank You in advance!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 21 Jul 2015 06:36:35 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Interval-match-and-syntethic-table/m-p/907407#M653321</guid>
      <dc:creator />
      <dc:date>2015-07-21T06:36:35Z</dc:date>
    </item>
    <item>
      <title>Re: Interval match and syntethic table</title>
      <link>https://community.qlik.com/t5/QlikView/Interval-match-and-syntethic-table/m-p/907408#M653322</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;Synthetic table is recommended in interval match scenarios. At least I recommend through my experience &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt; Best possible performance because if you join it into the bridge table (which you can) it multiplies the table and creates a huge one, slowing the performance eventually. As long as the result is correct, this model is best practice.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can try joining it; you can see yourself. Just write "join" before the bridge table.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;BR&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Serhan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 21 Jul 2015 06:40:58 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Interval-match-and-syntethic-table/m-p/907408#M653322</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-07-21T06:40:58Z</dc:date>
    </item>
    <item>
      <title>Re: Interval match and syntethic table</title>
      <link>https://community.qlik.com/t5/QlikView/Interval-match-and-syntethic-table/m-p/907409#M653330</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Include a left join before intervalmatch to get rid of the synthetic dimension.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;bridge:&lt;/P&gt;&lt;P&gt;LEFT JOIN (Interval)&lt;/P&gt;&lt;P&gt;IntervalMatch (eventdate)&lt;/P&gt;&lt;P&gt;load begin, end&lt;/P&gt;&lt;P&gt;Resident Interval; &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 21 Jul 2015 06:46:25 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Interval-match-and-syntethic-table/m-p/907409#M653330</guid>
      <dc:creator>jfkinspari</dc:creator>
      <dc:date>2015-07-21T06:46:25Z</dc:date>
    </item>
    <item>
      <title>Re: Interval match and syntethic table</title>
      <link>https://community.qlik.com/t5/QlikView/Interval-match-and-syntethic-table/m-p/907410#M653332</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Ira,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;IntervalMatch is a two-step process in fact:&lt;/P&gt;&lt;P&gt;- First you use the function to join the intervals (start_date and end_date) to the distinct event_dates;&lt;/P&gt;&lt;P&gt;- Then you can use those two fields (plus a key_field, optionally) to join in the price_data from the intervals_table.&lt;/P&gt;&lt;P&gt;=&amp;gt; The synthetic key after the first step is normal (you haven't yet joined) (think about it, the tables have two fields which are named the&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; same and&amp;nbsp; QlikView automatically links those, so of course you'd get a synthetic key)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Serhan is completely right. Write a JOIN (or I would recommend adding the name of the table you want that to be joined to in brackets like &amp;gt;&amp;gt; JOIN (events) &amp;lt;&amp;lt; before the IntervalMatch() to join that to the events_table and the synthetic key will be gone.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=&amp;gt; Then you can, in a second step, join the price_data from the intervals_table to that.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;HTH&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 21 Jul 2015 06:47:00 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Interval-match-and-syntethic-table/m-p/907410#M653332</guid>
      <dc:creator>datanibbler</dc:creator>
      <dc:date>2015-07-21T06:47:00Z</dc:date>
    </item>
    <item>
      <title>Re: Interval match and syntethic table</title>
      <link>https://community.qlik.com/t5/QlikView/Interval-match-and-syntethic-table/m-p/907411#M653333</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Gurus,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Not only that, I claim it would work better with syn table &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/wink.png" /&gt; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please note that and tell me your own experience &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt; I claim syn table is life-saver in many real-life scenarios with proper data. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;BR&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Serhan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 21 Jul 2015 07:01:05 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Interval-match-and-syntethic-table/m-p/907411#M653333</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-07-21T07:01:05Z</dc:date>
    </item>
    <item>
      <title>Re: Interval match and syntethic table</title>
      <link>https://community.qlik.com/t5/QlikView/Interval-match-and-syntethic-table/m-p/907412#M653334</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I can understand your argument.&lt;/P&gt;&lt;P&gt;I have not made my own experience with huge interval tables, where it could affect performance.&lt;/P&gt;&lt;P&gt;In this case the keyfield is data, so it will probably newer get huge. In this case a clean data model might be preferable &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 21 Jul 2015 07:10:37 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Interval-match-and-syntethic-table/m-p/907412#M653334</guid>
      <dc:creator>jfkinspari</dc:creator>
      <dc:date>2015-07-21T07:10:37Z</dc:date>
    </item>
    <item>
      <title>Re: Interval match and syntethic table</title>
      <link>https://community.qlik.com/t5/QlikView/Interval-match-and-syntethic-table/m-p/907413#M653335</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you for your answers &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt; But I have one more question... How can one avoid synthetic table, when slowly changing dimension is a case? In the example above appears synthetic table...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you in advance &lt;SPAN class="emoticon-inline emoticon_happy"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;events:&lt;/P&gt;&lt;P&gt;LOAD * INLINE [&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; event, eventdate, intervalId&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; a, 12.03.2014, 1&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; b, 12.03.2015, 3&lt;/P&gt;&lt;P&gt;];&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Interval:&lt;/P&gt;&lt;P&gt;LOAD * INLINE [&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; intervalId, begin, end, preis&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; 1, 01.01.2013, 01.05.2014, 65&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; 2, 01.01.2016, 01.05.2016, 55&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; 3, 02.05.2014, 31.12.2015, 75&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; 4, 02.05.2014, 31.12.2015, 85&lt;/P&gt;&lt;P&gt;];&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;bridge:&lt;/P&gt;&lt;P&gt;right join&lt;/P&gt;&lt;P&gt;IntervalMatch (eventdate, intervalId)&lt;/P&gt;&lt;P&gt;load begin, end, intervalId&lt;/P&gt;&lt;P&gt;Resident Interval;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 21 Jul 2015 11:09:22 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Interval-match-and-syntethic-table/m-p/907413#M653335</guid>
      <dc:creator />
      <dc:date>2015-07-21T11:09:22Z</dc:date>
    </item>
  </channel>
</rss>

