<?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: Slowly Changing Dimension Question ( IntervalMatch ) in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Slowly-Changing-Dimension-Question-IntervalMatch/m-p/765484#M1023549</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;There is insufficient data in your example to apply an interval match.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You have an effective date and employee ID and sales territory in the Time table, but your load needs to convert the Eff Date to a start date &amp;amp; end date, so a few more values would help you to test this.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Then you would need other data e.g sales, that has transactions between these start and end dates.&lt;/P&gt;&lt;P&gt;The interval match will then link a date in the sales table to the relevant data range in the Territory Table.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;E.g. in the data below, Interval match can be used to see which employee was responsible for the East Territory on 05-04-2014&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;e.g.&lt;/P&gt;&lt;P&gt;Territory:&lt;/P&gt;&lt;P&gt;LOAD * INLINE [&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; StartDate, EndDate, EmpID, SalesTerritory&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; 1-04-2014, 19-05-2014,5 ,East&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; 20-05-2014, 11-03-2015,5,North&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 1-04-2014, 19-07-2014,3 ,West&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 20-07-2014, 19-07-2014,2 ,West&lt;/P&gt;&lt;P&gt;] ;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Sales&lt;/P&gt;&lt;P&gt;LOAD * INLINE [&lt;/P&gt;&lt;P&gt;Date, Sales Territory, Value&lt;/P&gt;&lt;P&gt; 5-04-2014, East, 1000&lt;/P&gt;&lt;P&gt;] ;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 09 Mar 2015 13:45:53 GMT</pubDate>
    <dc:creator>Colin-Albert</dc:creator>
    <dc:date>2015-03-09T13:45:53Z</dc:date>
    <item>
      <title>Slowly Changing Dimension Question ( IntervalMatch )</title>
      <link>https://community.qlik.com/t5/QlikView/Slowly-Changing-Dimension-Question-IntervalMatch/m-p/765483#M1023548</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello, i am trying to implement SCD type 2 in my qvw,&lt;/P&gt;&lt;P&gt;I am trying to show a Territory change for empid = 5,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;but this doesnt clearly work because the result is that i get the change, but without the EmployeeName on Territory : North&lt;/P&gt;&lt;P&gt;How can i change this ??&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Employees:&lt;/P&gt;&lt;P&gt;LOAD * INLINE [&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Employee, EmpID,SalesTerritory&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Jan, 2, South&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Piet, 3, North&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Klaas, 1, West&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Johan, 8, East&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Harry, 5, East&lt;/P&gt;&lt;P&gt;];&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Time:&lt;/P&gt;&lt;P&gt;LOAD * INLINE [&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; EffDate,EmpID,SalesTerritory&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; 1-04-2014,5 ,East&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; 20-05-2014,5,North&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;P&gt;&amp;nbsp; &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;P&gt;];&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;inner join (Time)&lt;/P&gt;&lt;P&gt;IntervalMatch (EffDate,SalesTerritory)&lt;/P&gt;&lt;P&gt;Load distinct EffDate&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;P&gt;Resident Time;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 20 Nov 2020 18:02:30 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Slowly-Changing-Dimension-Question-IntervalMatch/m-p/765483#M1023548</guid>
      <dc:creator />
      <dc:date>2020-11-20T18:02:30Z</dc:date>
    </item>
    <item>
      <title>Re: Slowly Changing Dimension Question ( IntervalMatch )</title>
      <link>https://community.qlik.com/t5/QlikView/Slowly-Changing-Dimension-Question-IntervalMatch/m-p/765484#M1023549</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;There is insufficient data in your example to apply an interval match.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You have an effective date and employee ID and sales territory in the Time table, but your load needs to convert the Eff Date to a start date &amp;amp; end date, so a few more values would help you to test this.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Then you would need other data e.g sales, that has transactions between these start and end dates.&lt;/P&gt;&lt;P&gt;The interval match will then link a date in the sales table to the relevant data range in the Territory Table.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;E.g. in the data below, Interval match can be used to see which employee was responsible for the East Territory on 05-04-2014&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;e.g.&lt;/P&gt;&lt;P&gt;Territory:&lt;/P&gt;&lt;P&gt;LOAD * INLINE [&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; StartDate, EndDate, EmpID, SalesTerritory&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; 1-04-2014, 19-05-2014,5 ,East&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; 20-05-2014, 11-03-2015,5,North&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 1-04-2014, 19-07-2014,3 ,West&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 20-07-2014, 19-07-2014,2 ,West&lt;/P&gt;&lt;P&gt;] ;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Sales&lt;/P&gt;&lt;P&gt;LOAD * INLINE [&lt;/P&gt;&lt;P&gt;Date, Sales Territory, Value&lt;/P&gt;&lt;P&gt; 5-04-2014, East, 1000&lt;/P&gt;&lt;P&gt;] ;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 09 Mar 2015 13:45:53 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Slowly-Changing-Dimension-Question-IntervalMatch/m-p/765484#M1023549</guid>
      <dc:creator>Colin-Albert</dc:creator>
      <dc:date>2015-03-09T13:45:53Z</dc:date>
    </item>
    <item>
      <title>Re: Slowly Changing Dimension Question ( IntervalMatch )</title>
      <link>https://community.qlik.com/t5/QlikView/Slowly-Changing-Dimension-Question-IntervalMatch/m-p/765485#M1023550</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Have a look at this post for an explanation of how to use Interval Match&lt;/P&gt;&lt;P&gt;&lt;A _jive_internal="true" href="https://community.qlik.com/blogs/qlikviewdesignblog/2013/04/04/intervalmatch"&gt;http://community.qlik.com/blogs/qlikviewdesignblog/2013/04/04/intervalmatch&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Slowly Changing Dimensions &amp;amp; Interval Match&lt;/P&gt;&lt;P&gt;&lt;A _jive_internal="true" href="https://community.qlik.com/docs/DOC-4310"&gt;http://community.qlik.com/docs/DOC-4310&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 09 Mar 2015 13:49:53 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Slowly-Changing-Dimension-Question-IntervalMatch/m-p/765485#M1023550</guid>
      <dc:creator>Colin-Albert</dc:creator>
      <dc:date>2015-03-09T13:49:53Z</dc:date>
    </item>
    <item>
      <title>Re: Slowly Changing Dimension Question ( IntervalMatch )</title>
      <link>https://community.qlik.com/t5/QlikView/Slowly-Changing-Dimension-Question-IntervalMatch/m-p/765486#M1023551</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks Colin for Reply, i have done exatcly as u say, and how does the intervalmatch function look like for the above code?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 09 Mar 2015 13:51:52 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Slowly-Changing-Dimension-Question-IntervalMatch/m-p/765486#M1023551</guid>
      <dc:creator />
      <dc:date>2015-03-09T13:51:52Z</dc:date>
    </item>
    <item>
      <title>Re: Slowly Changing Dimension Question ( IntervalMatch )</title>
      <link>https://community.qlik.com/t5/QlikView/Slowly-Changing-Dimension-Question-IntervalMatch/m-p/765487#M1023552</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi there,&lt;/P&gt;&lt;P&gt;I am facing the almost similar situation. &lt;A href="https://community.qlik.com/qlik-users/172852"&gt;Anakin00&lt;/A&gt; can you please tell us, how you resolved your query?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 02 Jul 2015 08:17:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Slowly-Changing-Dimension-Question-IntervalMatch/m-p/765487#M1023552</guid>
      <dc:creator>umerikhlas</dc:creator>
      <dc:date>2015-07-02T08:17:04Z</dc:date>
    </item>
  </channel>
</rss>

