<?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 How to bind 2 tables data and sum from third table in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/How-to-bind-2-tables-data-and-sum-from-third-table/m-p/291073#M1203070</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi friends,&lt;BR /&gt;I have data source in following format:&lt;BR /&gt;&lt;BR /&gt;table "ProjectData":&lt;BR /&gt; IDMyProject MyProjectName&lt;BR /&gt; 1 project 01&lt;BR /&gt; 1 project 02&lt;BR /&gt; ...&lt;BR /&gt;&lt;BR /&gt;table "DeliverableData":&lt;BR /&gt; IDMyProject IDMyDeliverable IDMyProjectDeliverable MyDeliverableName MyDeliverableStartDate MyDeliverableEndDate&lt;BR /&gt; 1 1 1 deliverable P01-01 1.1.2010 31.1.2010&lt;BR /&gt; 1 2 2 deliverable P01-02 15.1.2010 15.2.2010&lt;BR /&gt; ...&lt;BR /&gt;&lt;BR /&gt;table "DeliverableRealWorkingActivity":&lt;BR /&gt; IDMyProject IDMyDeliverable IDMyProjectDeliverable IDWorkingJob WorkingDate DurationOfWorking MyDeliverableSource&lt;BR /&gt; 1 1 1 1 1.1.2010 45 JC&lt;BR /&gt; 1 1 1 2 5.1.2010 60 JC&lt;BR /&gt; 1 1 1 3 3.1.2010 100 AB&lt;BR /&gt; 1 1 1 4 4.1.2010 120 AB&lt;BR /&gt; ...&lt;BR /&gt;&lt;BR /&gt;I would like to build following data:&lt;BR /&gt; IDMyProject MyProjectName IDMyDeliverable IDMyProjectDeliverable MyDeliverableName MyDeliverableStartDate MyDeliverableEndDate SumOfWorkingDurationForAllSources&lt;BR /&gt; 1 project 01 1 1 deliverable P01-01 1.1.2010 31.1.2010 325&lt;BR /&gt; 1 project 01 2 2 deliverable P01-02 15.1.2010 15.2.2010 ...&lt;BR /&gt; ...&lt;BR /&gt;&lt;BR /&gt;where last column "SumOfWorkingDurationForAllSources" would be calculated sum of all rows (values "DurationOfWorking") of table "DeliverableRealWorkingActivity" for each "IDMyProject" and "IDMyDeliverable".&lt;BR /&gt;&lt;BR /&gt;Does anybody have some idea, how can I write script to load these data and create mentioned structure of data?&lt;/P&gt;&lt;P&gt;very thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 29 Nov 2010 11:47:50 GMT</pubDate>
    <dc:creator />
    <dc:date>2010-11-29T11:47:50Z</dc:date>
    <item>
      <title>How to bind 2 tables data and sum from third table</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-bind-2-tables-data-and-sum-from-third-table/m-p/291073#M1203070</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi friends,&lt;BR /&gt;I have data source in following format:&lt;BR /&gt;&lt;BR /&gt;table "ProjectData":&lt;BR /&gt; IDMyProject MyProjectName&lt;BR /&gt; 1 project 01&lt;BR /&gt; 1 project 02&lt;BR /&gt; ...&lt;BR /&gt;&lt;BR /&gt;table "DeliverableData":&lt;BR /&gt; IDMyProject IDMyDeliverable IDMyProjectDeliverable MyDeliverableName MyDeliverableStartDate MyDeliverableEndDate&lt;BR /&gt; 1 1 1 deliverable P01-01 1.1.2010 31.1.2010&lt;BR /&gt; 1 2 2 deliverable P01-02 15.1.2010 15.2.2010&lt;BR /&gt; ...&lt;BR /&gt;&lt;BR /&gt;table "DeliverableRealWorkingActivity":&lt;BR /&gt; IDMyProject IDMyDeliverable IDMyProjectDeliverable IDWorkingJob WorkingDate DurationOfWorking MyDeliverableSource&lt;BR /&gt; 1 1 1 1 1.1.2010 45 JC&lt;BR /&gt; 1 1 1 2 5.1.2010 60 JC&lt;BR /&gt; 1 1 1 3 3.1.2010 100 AB&lt;BR /&gt; 1 1 1 4 4.1.2010 120 AB&lt;BR /&gt; ...&lt;BR /&gt;&lt;BR /&gt;I would like to build following data:&lt;BR /&gt; IDMyProject MyProjectName IDMyDeliverable IDMyProjectDeliverable MyDeliverableName MyDeliverableStartDate MyDeliverableEndDate SumOfWorkingDurationForAllSources&lt;BR /&gt; 1 project 01 1 1 deliverable P01-01 1.1.2010 31.1.2010 325&lt;BR /&gt; 1 project 01 2 2 deliverable P01-02 15.1.2010 15.2.2010 ...&lt;BR /&gt; ...&lt;BR /&gt;&lt;BR /&gt;where last column "SumOfWorkingDurationForAllSources" would be calculated sum of all rows (values "DurationOfWorking") of table "DeliverableRealWorkingActivity" for each "IDMyProject" and "IDMyDeliverable".&lt;BR /&gt;&lt;BR /&gt;Does anybody have some idea, how can I write script to load these data and create mentioned structure of data?&lt;/P&gt;&lt;P&gt;very thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 29 Nov 2010 11:47:50 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-bind-2-tables-data-and-sum-from-third-table/m-p/291073#M1203070</guid>
      <dc:creator />
      <dc:date>2010-11-29T11:47:50Z</dc:date>
    </item>
    <item>
      <title>How to bind 2 tables data and sum from third table</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-bind-2-tables-data-and-sum-from-third-table/m-p/291074#M1203071</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi friends,&lt;/P&gt;&lt;P&gt;voila! I find solution! Loading script may be following:&lt;/P&gt;&lt;P&gt;TempCostsProjectData:&lt;BR /&gt;LOAD IDMyProject,&lt;BR /&gt; MyProjectName&lt;BR /&gt;FROM Test.xls (biff, embedded labels, table is ProjectData$);&lt;BR /&gt;JOIN LOAD&lt;BR /&gt; IDMyProject,&lt;BR /&gt; IDMyDeliverable,&lt;BR /&gt; IDMyProjectDeliverable,&lt;BR /&gt; MyDeliverableName,&lt;BR /&gt; MyDeliverableStartDate,&lt;BR /&gt; MyDeliverableEndDate&lt;BR /&gt;FROM Test.xls (biff, embedded labels, table is DeliverableData$);&lt;BR /&gt;JOIN LOAD&lt;BR /&gt; IDMyProject,&lt;BR /&gt; IDMyDeliverable,&lt;BR /&gt; IDMyProjectDeliverable,&lt;BR /&gt; &lt;B&gt;Sum(DurationOfWorking) AS SumDurationOfWorking&lt;BR /&gt;&lt;/B&gt;FROM Test.xls (biff, embedded labels, table is DeliverableRealWorkingActivity$)&lt;BR /&gt;&lt;B&gt;GROUP BY IDMyProject, IDMyDeliverable, IDMyProjectDeliverable&lt;/B&gt;;&lt;BR /&gt;&lt;BR /&gt;CostsProjectData:&lt;BR /&gt;LOAD IDMyProject,&lt;BR /&gt; MyProjectName,&lt;BR /&gt; IDMyDeliverable,&lt;BR /&gt; IDMyProjectDeliverable,&lt;BR /&gt; MyDeliverableName,&lt;BR /&gt; MyDeliverableStartDate,&lt;BR /&gt; MyDeliverableEndDate,&lt;BR /&gt; SumDurationOfWorking&lt;BR /&gt;Resident TempCostsProjectData;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 29 Nov 2010 14:27:53 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-bind-2-tables-data-and-sum-from-third-table/m-p/291074#M1203071</guid>
      <dc:creator />
      <dc:date>2010-11-29T14:27:53Z</dc:date>
    </item>
  </channel>
</rss>

