<?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: Loading Historical data into Transactions table issue in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Transactions-table-issue/m-p/1090839#M638185</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Usually, a calendar in QlikView is a continuous range of dates from a starting date (the earliest one in your facts) until a predetermined end date or the last date in your facts. Are you going to use INTERVALMATCH to map each employee period on this continuous timeline? Or what do you plan to do with all these From/To periods?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Peter&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 25 Apr 2016 12:37:37 GMT</pubDate>
    <dc:creator>Peter_Cammaert</dc:creator>
    <dc:date>2016-04-25T12:37:37Z</dc:date>
    <item>
      <title>Transactions table issue</title>
      <link>https://community.qlik.com/t5/QlikView/Transactions-table-issue/m-p/1090831#M638177</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Eveyone,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; I have a transaction table(Employee details) ,which contains Effective date,i have created a calendar in Transaction table .&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;History table contains Effective From and Effective To dates,&lt;SPAN style="font-size: 13.3333px;"&gt;I need to include history table changes to Transaction table.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;History table Contains all the fields same as in Transaction table.&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any Suggestions would be greatly appreciated.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please find the attached sample data for reference.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;A.Harish&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 24 Apr 2016 02:19:09 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Transactions-table-issue/m-p/1090831#M638177</guid>
      <dc:creator>munna1317</dc:creator>
      <dc:date>2016-04-24T02:19:09Z</dc:date>
    </item>
    <item>
      <title>Re: Loading Historical data into Transactions table issue</title>
      <link>https://community.qlik.com/t5/QlikView/Transactions-table-issue/m-p/1090832#M638178</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;If all the fields are common between the two tables, what is the point of joining them? Not sure what you are trying to do?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 24 Apr 2016 02:42:43 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Transactions-table-issue/m-p/1090832#M638178</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2016-04-24T02:42:43Z</dc:date>
    </item>
    <item>
      <title>Re: Loading Historical data into Transactions table issue</title>
      <link>https://community.qlik.com/t5/QlikView/Transactions-table-issue/m-p/1090833#M638179</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;&lt;/P&gt;&lt;P&gt;If these tables are both transaction tables, and are exactly the same, they should automatically "union". &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;If these tables are both transaction tables, and&lt;/SPAN&gt; there is a difference in field names and renaming a field is not an option, you can use "concatenate" between the 2 LOAD statements. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If one table is a"transaction" table and the other is a "header" table you should make a join. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Cheers. &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 24 Apr 2016 04:26:01 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Transactions-table-issue/m-p/1090833#M638179</guid>
      <dc:creator>johngouws</dc:creator>
      <dc:date>2016-04-24T04:26:01Z</dc:date>
    </item>
    <item>
      <title>Re: Loading Historical data into Transactions table issue</title>
      <link>https://community.qlik.com/t5/QlikView/Transactions-table-issue/m-p/1090834#M638180</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Sunny,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Fields are&amp;nbsp; same apart from Effective To date (HISTORY table).History table contains all the changes where as transaction table contains latest change.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For example ,Employee Department changed twice then in History table will have 2 records where as in Transaction table which contains the latest change.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;A.Harish&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 25 Apr 2016 04:39:13 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Transactions-table-issue/m-p/1090834#M638180</guid>
      <dc:creator>munna1317</dc:creator>
      <dc:date>2016-04-25T04:39:13Z</dc:date>
    </item>
    <item>
      <title>Re: Loading Historical data into Transactions table issue</title>
      <link>https://community.qlik.com/t5/QlikView/Transactions-table-issue/m-p/1090835#M638181</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi John,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; I used Concatenate Statement but year ,Month fileds data are&amp;nbsp; coming as Null for History data.&lt;/P&gt;&lt;P&gt;I have created Calendar in Transaction table.&lt;/P&gt;&lt;P&gt;I want to create all the dates,Month and year for History table data,For each employee there are multiples changes.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in Advance.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;A.Harish&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 25 Apr 2016 04:59:03 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Transactions-table-issue/m-p/1090835#M638181</guid>
      <dc:creator>munna1317</dc:creator>
      <dc:date>2016-04-25T04:59:03Z</dc:date>
    </item>
    <item>
      <title>Re: Loading Historical data into Transactions table issue</title>
      <link>https://community.qlik.com/t5/QlikView/Transactions-table-issue/m-p/1090836#M638182</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;If you created Year and Month fields when loading the Transaction table, do the same when adding the data from the History table. Select the proper date field in this table, and calculate calendar fields in the CONCATENATE LOAD.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;A calendar is usually created as a separate table, and only AFTER all your facts are loaded. Otherwise you may end up with an incomplete calendar.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can you post an example document?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Peter&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 25 Apr 2016 09:53:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Transactions-table-issue/m-p/1090836#M638182</guid>
      <dc:creator>Peter_Cammaert</dc:creator>
      <dc:date>2016-04-25T09:53:04Z</dc:date>
    </item>
    <item>
      <title>Re: Loading Historical data into Transactions table issue</title>
      <link>https://community.qlik.com/t5/QlikView/Transactions-table-issue/m-p/1090837#M638183</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Peter,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;As you said I should Create&amp;nbsp; a calendar for History table as well,I am facing issue in Creating a calendar for History data.&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt; &lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please find the attached data.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any Suggestions would be greatly appreciated.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;A.Harish&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 25 Apr 2016 11:10:31 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Transactions-table-issue/m-p/1090837#M638183</guid>
      <dc:creator>munna1317</dc:creator>
      <dc:date>2016-04-25T11:10:31Z</dc:date>
    </item>
    <item>
      <title>Re: Loading Historical data into Transactions table issue</title>
      <link>https://community.qlik.com/t5/QlikView/Transactions-table-issue/m-p/1090838#M638184</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Unfortunately, your Sample Data file doesn't use the Transaciton/History records from your earlier post. Therefor, we cannot easily deduce from the data how the From/To-dates are calculated.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;By lack of usable examples, let me ask you a few questions:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;For each employee you want to calculate the periods during which the modified details are in effect, right?&lt;/LI&gt;&lt;LI&gt;Each period starts with the EFFECTIVE_DATE value of the current record (=From date), but how do you calculate the To Date? Shouldn't it be the From Date of the next records minus one day, instead of begin equal to the From date of the next record? Two sets of values cannot be in effect on the same date, can they?&lt;/LI&gt;&lt;LI&gt;Where does the last period end? With todays date?&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Peter&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 25 Apr 2016 12:33:58 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Transactions-table-issue/m-p/1090838#M638184</guid>
      <dc:creator>Peter_Cammaert</dc:creator>
      <dc:date>2016-04-25T12:33:58Z</dc:date>
    </item>
    <item>
      <title>Re: Loading Historical data into Transactions table issue</title>
      <link>https://community.qlik.com/t5/QlikView/Transactions-table-issue/m-p/1090839#M638185</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Usually, a calendar in QlikView is a continuous range of dates from a starting date (the earliest one in your facts) until a predetermined end date or the last date in your facts. Are you going to use INTERVALMATCH to map each employee period on this continuous timeline? Or what do you plan to do with all these From/To periods?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Peter&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 25 Apr 2016 12:37:37 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Transactions-table-issue/m-p/1090839#M638185</guid>
      <dc:creator>Peter_Cammaert</dc:creator>
      <dc:date>2016-04-25T12:37:37Z</dc:date>
    </item>
    <item>
      <title>Re: Loading Historical data into Transactions table issue</title>
      <link>https://community.qlik.com/t5/QlikView/Transactions-table-issue/m-p/1090840#M638186</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Peter,&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; As u mentioned,Each period starts with the EFFECTIVE_DATE value of the current record (=From date), &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;From Date of the next records minus one day,(=Todate).&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;Qlikview creates dates from Starting to end date.&lt;/SPAN&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px; line-height: 1.5em;"&gt;But in actual data, Each employee has multiple changes For(ex:Emp A has Department Change in Jan -16 as D1 and Again Feb -16 as D3) if i Create a Calendar it is taking only One Department change data From standing to End .&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;So need in help in Creation of dates with Department changes.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;Regards,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;A.Harish&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 25 Apr 2016 13:11:54 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Transactions-table-issue/m-p/1090840#M638186</guid>
      <dc:creator>munna1317</dc:creator>
      <dc:date>2016-04-25T13:11:54Z</dc:date>
    </item>
    <item>
      <title>Re: Loading Historical data into Transactions table issue</title>
      <link>https://community.qlik.com/t5/QlikView/Transactions-table-issue/m-p/1090841#M638187</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I'm still not sure that I understand what you plan to do with the calendar.&lt;/P&gt;&lt;P&gt;This one creates From/To periods from both your transactions and your historical records (example files from OP). The result is:&lt;/P&gt;&lt;P&gt;&lt;IMG alt="Create Periods from TX thread214315.jpg" class="jive-image image-1" height="325" src="/legacyfs/online/122638_Create Periods from TX thread214315.jpg" style="height: 325px; width: 349.277px;" width="349" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;See attachment&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Peter&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 25 Apr 2016 14:07:27 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Transactions-table-issue/m-p/1090841#M638187</guid>
      <dc:creator>Peter_Cammaert</dc:creator>
      <dc:date>2016-04-25T14:07:27Z</dc:date>
    </item>
  </channel>
</rss>

