<?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 Trying to get values from two tables in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Trying-to-get-values-from-two-tables/m-p/81105#M786539</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello. I am fairly new to QlikView.&amp;nbsp; Here is my scenario.&lt;/P&gt;&lt;P&gt;I have two tables.&amp;nbsp; Employee table and AccessRequest table.&amp;nbsp; AccessRequest table will contain details about what Access Requests that an employee put and AccessCompletionDate field will have the date that a request has been completed for an employee.&lt;/P&gt;&lt;P&gt;I also want the latest date that an access request has been completed for an employee.&lt;/P&gt;&lt;P&gt;Let us say, Employee-A has access requested on Jan 1, 2018 and Feb 1, 2018.&amp;nbsp; I want to pull the latest "DateCompleted".&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Here is the pictorial representation of the scenario&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Employee Table&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;TABLE border="1" class="jiveBorder" height="124" style="border: 1px solid #000000; border-image: none; width: 800px; height: 126px;"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TH style="text-align: center; background-color: #6690bc; color: #ffffff; padding: 2px;" valign="middle"&gt;&lt;STRONG&gt;EmployeeID&lt;/STRONG&gt;&lt;/TH&gt;&lt;TH style="text-align: center; background-color: #6690bc; color: #ffffff; padding: 2px;" valign="middle"&gt;&lt;STRONG&gt;Employee Name&lt;/STRONG&gt;&lt;/TH&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px;"&gt;E001&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;Employee-A&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px;"&gt;E002&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;Employee-B&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px;"&gt;E003&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;Employee-C&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;AccessRequest Table&lt;/P&gt;&lt;TABLE border="1" class="jiveBorder" style="border: 1px solid #000000; border-image: none; width: 100%;"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TH style="text-align: center; background-color: #6690bc; color: #ffffff; padding: 2px;" valign="middle"&gt;&lt;STRONG&gt;EmployeeID&lt;/STRONG&gt;&lt;/TH&gt;&lt;TH style="text-align: center; background-color: #6690bc; color: #ffffff; padding: 2px;" valign="middle"&gt;&lt;STRONG&gt;AccessCompletionDate&lt;/STRONG&gt;&lt;/TH&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px;"&gt;E001&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;Jan 1, 2017&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px;"&gt;E001&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;March 1, 2017&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px;"&gt;E001&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;May 1, 2017&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px;"&gt;E002&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;Jan 5, 2018&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px;"&gt;E002&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;Feb 10, 2018&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have created the dashboard scripts to load the data from the qvd.&lt;/P&gt;&lt;P&gt;All I want to do is in the dash board, I want to bring the EmployeeID, Employee Name and the most recent AccessCompletionDate.&lt;/P&gt;&lt;P&gt;Any help is highly appreciated.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 25 Nov 2020 16:16:04 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2020-11-25T16:16:04Z</dc:date>
    <item>
      <title>Trying to get values from two tables</title>
      <link>https://community.qlik.com/t5/QlikView/Trying-to-get-values-from-two-tables/m-p/81105#M786539</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello. I am fairly new to QlikView.&amp;nbsp; Here is my scenario.&lt;/P&gt;&lt;P&gt;I have two tables.&amp;nbsp; Employee table and AccessRequest table.&amp;nbsp; AccessRequest table will contain details about what Access Requests that an employee put and AccessCompletionDate field will have the date that a request has been completed for an employee.&lt;/P&gt;&lt;P&gt;I also want the latest date that an access request has been completed for an employee.&lt;/P&gt;&lt;P&gt;Let us say, Employee-A has access requested on Jan 1, 2018 and Feb 1, 2018.&amp;nbsp; I want to pull the latest "DateCompleted".&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Here is the pictorial representation of the scenario&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Employee Table&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;TABLE border="1" class="jiveBorder" height="124" style="border: 1px solid #000000; border-image: none; width: 800px; height: 126px;"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TH style="text-align: center; background-color: #6690bc; color: #ffffff; padding: 2px;" valign="middle"&gt;&lt;STRONG&gt;EmployeeID&lt;/STRONG&gt;&lt;/TH&gt;&lt;TH style="text-align: center; background-color: #6690bc; color: #ffffff; padding: 2px;" valign="middle"&gt;&lt;STRONG&gt;Employee Name&lt;/STRONG&gt;&lt;/TH&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px;"&gt;E001&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;Employee-A&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px;"&gt;E002&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;Employee-B&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px;"&gt;E003&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;Employee-C&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;AccessRequest Table&lt;/P&gt;&lt;TABLE border="1" class="jiveBorder" style="border: 1px solid #000000; border-image: none; width: 100%;"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TH style="text-align: center; background-color: #6690bc; color: #ffffff; padding: 2px;" valign="middle"&gt;&lt;STRONG&gt;EmployeeID&lt;/STRONG&gt;&lt;/TH&gt;&lt;TH style="text-align: center; background-color: #6690bc; color: #ffffff; padding: 2px;" valign="middle"&gt;&lt;STRONG&gt;AccessCompletionDate&lt;/STRONG&gt;&lt;/TH&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px;"&gt;E001&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;Jan 1, 2017&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px;"&gt;E001&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;March 1, 2017&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px;"&gt;E001&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;May 1, 2017&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px;"&gt;E002&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;Jan 5, 2018&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px;"&gt;E002&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;Feb 10, 2018&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have created the dashboard scripts to load the data from the qvd.&lt;/P&gt;&lt;P&gt;All I want to do is in the dash board, I want to bring the EmployeeID, Employee Name and the most recent AccessCompletionDate.&lt;/P&gt;&lt;P&gt;Any help is highly appreciated.&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/Trying-to-get-values-from-two-tables/m-p/81105#M786539</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2020-11-25T16:16:04Z</dc:date>
    </item>
    <item>
      <title>Re: Trying to get values from two tables</title>
      <link>https://community.qlik.com/t5/QlikView/Trying-to-get-values-from-two-tables/m-p/81106#M786540</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Magesh ...May be this ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="RecentAccess.png" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/194451_RecentAccess.png" style="height: 349px; width: 620px;" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 24 Feb 2018 12:16:34 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Trying-to-get-values-from-two-tables/m-p/81106#M786540</guid>
      <dc:creator>kakani87</dc:creator>
      <dc:date>2018-02-24T12:16:34Z</dc:date>
    </item>
    <item>
      <title>Re: Trying to get values from two tables</title>
      <link>https://community.qlik.com/t5/QlikView/Trying-to-get-values-from-two-tables/m-p/81107#M786541</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you Kakani Saikishore.&amp;nbsp; Now, introducing further complexity.&amp;nbsp; My date values are with the time stamp.&amp;nbsp; For example, here are some date values I have.&lt;/P&gt;&lt;P&gt;Mon, Apr 4 11:18:27 EDT 2016&lt;/P&gt;&lt;P&gt;Thu, Aug 25 12:04:54 EDT 2016&lt;/P&gt;&lt;P&gt;Thu, Feb 22 13:33:51 EDT 2018.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now out of the above list, I was the latest date, which is Thu, Feb 22 13:33:51 EDT 2018..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any help on this is highly appreciated.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 26 Feb 2018 19:40:07 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Trying-to-get-values-from-two-tables/m-p/81107#M786541</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2018-02-26T19:40:07Z</dc:date>
    </item>
    <item>
      <title>Re: Trying to get values from two tables</title>
      <link>https://community.qlik.com/t5/QlikView/Trying-to-get-values-from-two-tables/m-p/81108#M786542</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Share some sample data in a excel file &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 27 Feb 2018 04:59:17 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Trying-to-get-values-from-two-tables/m-p/81108#M786542</guid>
      <dc:creator>kakani87</dc:creator>
      <dc:date>2018-02-27T04:59:17Z</dc:date>
    </item>
    <item>
      <title>Re: Trying to get values from two tables</title>
      <link>https://community.qlik.com/t5/QlikView/Trying-to-get-values-from-two-tables/m-p/81109#M786543</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Are you looking for this? You can use firstsortedvalue function to get max date for each employee&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="community1.PNG" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/194660_community1.PNG" style="height: 118px; width: 620px;" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 27 Feb 2018 05:20:14 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Trying-to-get-values-from-two-tables/m-p/81109#M786543</guid>
      <dc:creator>shilpan</dc:creator>
      <dc:date>2018-02-27T05:20:14Z</dc:date>
    </item>
    <item>
      <title>Re: Trying to get values from two tables</title>
      <link>https://community.qlik.com/t5/QlikView/Trying-to-get-values-from-two-tables/m-p/81110#M786544</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dear Shilpan,&lt;/P&gt;&lt;P&gt;how to get Maxdate field from&amp;nbsp; this type of data where &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 12px; background-color: #f2f2f2;"&gt;Thu, Feb 22 13:33:51 EDT 2018 is the max date&amp;nbsp; to show in date format&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 12px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d; background-color: #f2f2f2;"&gt;Mon, Apr 4 11:18:27 EDT 2016&lt;/P&gt;&lt;P style="font-size: 12px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d; background-color: #f2f2f2;"&gt;Thu, Aug 25 12:04:54 EDT 2016&lt;/P&gt;&lt;P style="font-size: 12px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d; background-color: #f2f2f2;"&gt;Thu, Feb 22 13:33:51 EDT 2018.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 27 Feb 2018 05:44:50 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Trying-to-get-values-from-two-tables/m-p/81110#M786544</guid>
      <dc:creator>kakani87</dc:creator>
      <dc:date>2018-02-27T05:44:50Z</dc:date>
    </item>
    <item>
      <title>Re: Trying to get values from two tables</title>
      <link>https://community.qlik.com/t5/QlikView/Trying-to-get-values-from-two-tables/m-p/81111#M786545</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Saikishore,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;FirstSortedValue(&lt;STRONG&gt;Date&lt;/STRONG&gt;, -Date#(Replace(Mid(&lt;SPAN style="font-size: 13.3333px;"&gt;&lt;STRONG&gt;Date&lt;/STRONG&gt;&lt;/SPAN&gt;,6,15) &amp;amp;' '&amp;amp; Right(&lt;SPAN style="font-size: 13.3333px;"&gt;&lt;STRONG&gt;Date&lt;/STRONG&gt;&lt;/SPAN&gt;,4),'&amp;nbsp; ',' '),'MMM DD hh:mm:ss YYYY'))&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 27 Feb 2018 06:02:33 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Trying-to-get-values-from-two-tables/m-p/81111#M786545</guid>
      <dc:creator>tamilarasu</dc:creator>
      <dc:date>2018-02-27T06:02:33Z</dc:date>
    </item>
    <item>
      <title>Re: Trying to get values from two tables</title>
      <link>https://community.qlik.com/t5/QlikView/Trying-to-get-values-from-two-tables/m-p/81112#M786546</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you Tamil, but, the solution you provided just shows the date.&amp;nbsp; Here is the screen shot&lt;/P&gt;&lt;P&gt;&lt;IMG class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/194753_pastedImage_0.png" style="max-height: 900px; max-width: 1200px;" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 27 Feb 2018 16:32:32 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Trying-to-get-values-from-two-tables/m-p/81112#M786546</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2018-02-27T16:32:32Z</dc:date>
    </item>
    <item>
      <title>Re: Trying to get values from two tables</title>
      <link>https://community.qlik.com/t5/QlikView/Trying-to-get-values-from-two-tables/m-p/81113#M786547</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Magesh,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Sorry for the delayed response. Why are you taking completed date as dimension? If you take competed date as dimension then it will show all the dates. Your requirement was to show latest access date for specific employee, right? Have a look at the attached file.&lt;/P&gt;&lt;P&gt;&lt;IMG alt="Capture.PNG" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/194932_Capture.PNG" style="height: auto;" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 28 Feb 2018 18:15:18 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Trying-to-get-values-from-two-tables/m-p/81113#M786547</guid>
      <dc:creator>tamilarasu</dc:creator>
      <dc:date>2018-02-28T18:15:18Z</dc:date>
    </item>
    <item>
      <title>Re: Trying to get values from two tables</title>
      <link>https://community.qlik.com/t5/QlikView/Trying-to-get-values-from-two-tables/m-p/81114#M786548</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Chart Properties - Sort - Numeric Value - Descending&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 28 Feb 2018 18:58:32 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Trying-to-get-values-from-two-tables/m-p/81114#M786548</guid>
      <dc:creator>isingh30</dc:creator>
      <dc:date>2018-02-28T18:58:32Z</dc:date>
    </item>
  </channel>
</rss>

