<?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: Table update based on another table field in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Table-update-based-on-another-table-field/m-p/1266436#M854514</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Can you share the script you have been trying to do this?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 14 Feb 2017 10:34:41 GMT</pubDate>
    <dc:creator>sunny_talwar</dc:creator>
    <dc:date>2017-02-14T10:34:41Z</dc:date>
    <item>
      <title>Table update based on another table field</title>
      <link>https://community.qlik.com/t5/QlikView/Table-update-based-on-another-table-field/m-p/1266435#M854513</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi experts,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am stuck on this issue from last three days and seems like not reaching anywhere. I am newbie to QlikView and this looks like a complex issue that is difficult to handle for me so need your help.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Scenario: I have a table where every project has group of records showing name, status, dates and steps etc.. Status for every project is based on the steps and my task is to update the status to maximum steps no.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Problem table data:&lt;/P&gt;&lt;P&gt;ProjectStepKey, ProjectKey, Project name, StartDate, EndDate, StepNo, Status&lt;/P&gt;&lt;P&gt;101-2323-2325 ,101, 'Jaba', 01/02/2016,03/02/2016, 1, Start&lt;/P&gt;&lt;P&gt;101-2323-2325 ,101, 'Jaba', 01/02/2016,03/02/2016, 2, Analyse&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;101-2326-2329, 101, 'Jaba', 04/02/2016,'08/02/2016, 3,&amp;nbsp; Build&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;101-2330-2337,101, 'Jaba', 09/02/2016, 10/02/2016,4, Test&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;Expected Output:&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;ProjectStepKey, ProjectKey, Project name, StartDate, EndDate, StepNo, Status&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;101-2323-2325 ,101, 'Jaba', 01/02/2016,03/02/2016, 1, Analyse&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;101-2323-2325 ,101, 'Jaba', 01/02/2016,03/02/2016, 2, Analyse&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;101-2326-2329, 101, 'Jaba', 04/02/2016,'08/02/2016, 3,&amp;nbsp; Test&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;101-2330-2337,101, 'Jaba', 09/02/2016, 10/02/2016,4, Test&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;Objective is for a common dates in projects all status should be updated to maximum step no. To acheive that I created a unique key "ProjectStepKey" using ProjectID+Julian StartDate +Julian End Date. After that I ran Load of table using Max Step no group by ProjectStepKey and resident it in a table0. Now I am trying to update the original table status column using status identified using Max StepNo in table0. I ran for loop for table 0 and inside ran another for loop for all records to be updated using Update statement. Seems like Update only works with UI not script. I am completely lost.. Please help&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 25 Nov 2020 16:16:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Table-update-based-on-another-table-field/m-p/1266435#M854513</guid>
      <dc:creator />
      <dc:date>2020-11-25T16:16:04Z</dc:date>
    </item>
    <item>
      <title>Re: Table update based on another table field</title>
      <link>https://community.qlik.com/t5/QlikView/Table-update-based-on-another-table-field/m-p/1266436#M854514</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Can you share the script you have been trying to do this?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 14 Feb 2017 10:34:41 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Table-update-based-on-another-table-field/m-p/1266436#M854514</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2017-02-14T10:34:41Z</dc:date>
    </item>
    <item>
      <title>Re: Table update based on another table field</title>
      <link>https://community.qlik.com/t5/QlikView/Table-update-based-on-another-table-field/m-p/1266437#M854516</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;Apologies for the delay. Have solved the issue by building a complex script dividing same table in multiple temp tables and joins. Sorry, not able to share the script due to constraint of workplace.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for your help.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 20 Feb 2017 03:52:58 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Table-update-based-on-another-table-field/m-p/1266437#M854516</guid>
      <dc:creator />
      <dc:date>2017-02-20T03:52:58Z</dc:date>
    </item>
  </channel>
</rss>

