<?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 Matching 2 columns and deriving third column from other table in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Matching-2-columns-and-deriving-third-column-from-other-table/m-p/54220#M9034</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;HI,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I&amp;nbsp; have a scenario where i have below details in as Fact table:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SalesorderID|TerritoryID||Orderdate&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;and another table with below details:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;TerritoryID|SalespersonID|StartDate|Enddate&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;this second table shows each SalespersonID with history data for each territory he has lived in and is currently associated to,&lt;/P&gt;&lt;P&gt;as in if the End date is nulll that means at the current time he is a salesperson of this territory&amp;nbsp; or for the previous period,he was a salesperson of this territory&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i have to finally check the SalespersonID&amp;nbsp; associated with each SalesOrderID &lt;/P&gt;&lt;P&gt;based on the conditions as :&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;for each territoryID and salesorderID in the first table , if&amp;nbsp; for that territory obtained from first table,the orderdate lies between Start date and End Date,the corrresponfing &lt;SPAN style="font-size: 13.3333px;"&gt;SalespersonID is&amp;nbsp; what the salesperson for that time is.&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;Can&amp;nbsp; any body help me with this?&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;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 04 Apr 2018 11:54:07 GMT</pubDate>
    <dc:creator>vaibhav11</dc:creator>
    <dc:date>2018-04-04T11:54:07Z</dc:date>
    <item>
      <title>Matching 2 columns and deriving third column from other table</title>
      <link>https://community.qlik.com/t5/QlikView/Matching-2-columns-and-deriving-third-column-from-other-table/m-p/54220#M9034</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;HI,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I&amp;nbsp; have a scenario where i have below details in as Fact table:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SalesorderID|TerritoryID||Orderdate&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;and another table with below details:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;TerritoryID|SalespersonID|StartDate|Enddate&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;this second table shows each SalespersonID with history data for each territory he has lived in and is currently associated to,&lt;/P&gt;&lt;P&gt;as in if the End date is nulll that means at the current time he is a salesperson of this territory&amp;nbsp; or for the previous period,he was a salesperson of this territory&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i have to finally check the SalespersonID&amp;nbsp; associated with each SalesOrderID &lt;/P&gt;&lt;P&gt;based on the conditions as :&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;for each territoryID and salesorderID in the first table , if&amp;nbsp; for that territory obtained from first table,the orderdate lies between Start date and End Date,the corrresponfing &lt;SPAN style="font-size: 13.3333px;"&gt;SalespersonID is&amp;nbsp; what the salesperson for that time is.&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;Can&amp;nbsp; any body help me with this?&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;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 04 Apr 2018 11:54:07 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Matching-2-columns-and-deriving-third-column-from-other-table/m-p/54220#M9034</guid>
      <dc:creator>vaibhav11</dc:creator>
      <dc:date>2018-04-04T11:54:07Z</dc:date>
    </item>
    <item>
      <title>Re: Matching 2 columns and deriving third column from other table</title>
      <link>https://community.qlik.com/t5/QlikView/Matching-2-columns-and-deriving-third-column-from-other-table/m-p/54221#M9035</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You need &lt;A href="https://help.qlik.com/en-US/qlikview/November2017/Subsystems/Client/Content/IntervalMatch_(Extended_Syntax).htm" title="https://help.qlik.com/en-US/qlikview/November2017/Subsystems/Client/Content/IntervalMatch_(Extended_Syntax).htm"&gt;Extended Interval Match&lt;/A&gt;‌ here&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 04 Apr 2018 11:56:51 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Matching-2-columns-and-deriving-third-column-from-other-table/m-p/54221#M9035</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2018-04-04T11:56:51Z</dc:date>
    </item>
    <item>
      <title>Re: Matching 2 columns and deriving third column from other table</title>
      <link>https://community.qlik.com/t5/QlikView/Matching-2-columns-and-deriving-third-column-from-other-table/m-p/54222#M9036</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks Sunny!! it worked&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 05 Apr 2018 05:18:26 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Matching-2-columns-and-deriving-third-column-from-other-table/m-p/54222#M9036</guid>
      <dc:creator>vaibhav11</dc:creator>
      <dc:date>2018-04-05T05:18:26Z</dc:date>
    </item>
  </channel>
</rss>

