<?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: joining tables in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/joining-tables/m-p/1624493#M733749</link>
    <description>&lt;P&gt;you can use the first sorted value function.&lt;/P&gt;&lt;P&gt;&lt;A href="https://help.qlik.com/en-US/qlikview/April2019/Subsystems/Client/Content/QV_QlikView/Scripting/AggregationFunctions/firstsorted.htm" target="_blank"&gt;https://help.qlik.com/en-US/qlikview/April2019/Subsystems/Client/Content/QV_QlikView/Scripting/AggregationFunctions/firstsorted.htm&lt;/A&gt;&lt;/P&gt;</description>
    <pubDate>Tue, 17 Sep 2019 07:30:35 GMT</pubDate>
    <dc:creator>miskinmaz</dc:creator>
    <dc:date>2019-09-17T07:30:35Z</dc:date>
    <item>
      <title>joining tables</title>
      <link>https://community.qlik.com/t5/QlikView/joining-tables/m-p/1624450#M733747</link>
      <description>&lt;P&gt;I have 2 sets of tables which i want to join, but i would like to keep only the maximum leased value out of the two records.&lt;/P&gt;&lt;P&gt;can this be done with a join ?&lt;/P&gt;&lt;P&gt;Date,scope,total,leased&lt;/P&gt;&lt;P&gt;1568683617,60.225.128.0/17,32765,200&lt;BR /&gt;1568683617,101.173.0.0/18,16381,16381&lt;BR /&gt;1568683617,124.180.64.0/20,4093,4093&lt;BR /&gt;1568683617,124.180.112.0/20,4093,0&lt;BR /&gt;1568683617,124.180.176.0/20,4093,0&lt;BR /&gt;1568683617,124.182.96.0/19,8189,0&lt;BR /&gt;1568683617,124.182.208.0/21,2045,2045&lt;BR /&gt;1568683617,124.182.224.0/19,8189,8189&lt;/P&gt;&lt;P&gt;1568684617,60.225.128.0/17,32765,205&lt;BR /&gt;1568684617,101.173.0.0/18,16381,0&lt;BR /&gt;1568684617,124.180.64.0/20,4093,100&lt;BR /&gt;1568684617,124.180.112.0/20,4093,4093&lt;BR /&gt;1568684617,124.180.176.0/20,4093,4093&lt;BR /&gt;1568684617,124.182.96.0/19,8189,8189&lt;BR /&gt;1568684617,124.182.208.0/21,2045,0&lt;BR /&gt;1568684617,124.182.224.0/19,8189,0&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Would like to end up with&lt;/P&gt;&lt;P&gt;1568684617,60.225.128.0/17,32765,205&lt;BR /&gt;1568683617,101.173.0.0/18,16381,16381&lt;BR /&gt;1568683617,124.180.64.0/20,4093,4093&lt;BR /&gt;1568684617,124.180.112.0/20,4093,4093&lt;BR /&gt;1568684617,124.180.176.0/20,4093,4093&lt;BR /&gt;1568684617,124.182.96.0/19,8189,8189&lt;BR /&gt;1568683617,124.182.208.0/21,2045,2045&lt;BR /&gt;1568683617,124.182.224.0/19,8189,8189&lt;/P&gt;</description>
      <pubDate>Wed, 25 Nov 2020 16:16:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/joining-tables/m-p/1624450#M733747</guid>
      <dc:creator>suzzymay</dc:creator>
      <dc:date>2020-11-25T16:16:04Z</dc:date>
    </item>
    <item>
      <title>Re: joining tables</title>
      <link>https://community.qlik.com/t5/QlikView/joining-tables/m-p/1624491#M733748</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;you could try in this way:&lt;/P&gt;&lt;P&gt;1) concatenate the 2nd table (this table will be called TEST in the example)&lt;/P&gt;&lt;P&gt;2) then do something like this:&lt;/P&gt;&lt;P&gt;NoConcatenate&lt;BR /&gt;TABLE:&lt;BR /&gt;LOAD&lt;BR /&gt;scope,&lt;BR /&gt;total,&lt;BR /&gt;Max(leased) AS leased&lt;BR /&gt;Resident TEST&lt;BR /&gt;Group By&lt;BR /&gt;scope,&lt;BR /&gt;total&lt;BR /&gt;;&lt;/P&gt;&lt;P&gt;Left Join&lt;BR /&gt;LOAD&lt;BR /&gt;Date,&lt;BR /&gt;scope,&lt;BR /&gt;total,&lt;BR /&gt;leased&lt;BR /&gt;Resident TEST;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Drop table TEST;&lt;/P&gt;</description>
      <pubDate>Tue, 17 Sep 2019 07:29:12 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/joining-tables/m-p/1624491#M733748</guid>
      <dc:creator>StarinieriG</dc:creator>
      <dc:date>2019-09-17T07:29:12Z</dc:date>
    </item>
    <item>
      <title>Re: joining tables</title>
      <link>https://community.qlik.com/t5/QlikView/joining-tables/m-p/1624493#M733749</link>
      <description>&lt;P&gt;you can use the first sorted value function.&lt;/P&gt;&lt;P&gt;&lt;A href="https://help.qlik.com/en-US/qlikview/April2019/Subsystems/Client/Content/QV_QlikView/Scripting/AggregationFunctions/firstsorted.htm" target="_blank"&gt;https://help.qlik.com/en-US/qlikview/April2019/Subsystems/Client/Content/QV_QlikView/Scripting/AggregationFunctions/firstsorted.htm&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 17 Sep 2019 07:30:35 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/joining-tables/m-p/1624493#M733749</guid>
      <dc:creator>miskinmaz</dc:creator>
      <dc:date>2019-09-17T07:30:35Z</dc:date>
    </item>
    <item>
      <title>Re: joining tables</title>
      <link>https://community.qlik.com/t5/QlikView/joining-tables/m-p/1628809#M733750</link>
      <description>&lt;P&gt;Suzanne, did either of the posts work for you?&amp;nbsp; If one or both did, be sure to give the poster credit and let others know which one worked by using the Accept as Solution button on the appropriate post.&amp;nbsp; If you did something different, consider leaving a post on what you did and then mark that post as the solution.&amp;nbsp; If you are still working on things, leave an update.&lt;/P&gt;
&lt;P&gt;Regards,&lt;BR /&gt;Brett&lt;/P&gt;</description>
      <pubDate>Thu, 26 Sep 2019 20:55:22 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/joining-tables/m-p/1628809#M733750</guid>
      <dc:creator>Brett_Bleess</dc:creator>
      <dc:date>2019-09-26T20:55:22Z</dc:date>
    </item>
  </channel>
</rss>

