<?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: Need to join the dimension table with Transaction with Date should be in between Dates from Dimension - Interval Match Join? in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Need-to-join-the-dimension-table-with-Transaction-with-Date/m-p/1803313#M1211892</link>
    <description>&lt;P&gt;try this:&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;trans:
load * inline [
Sold To Customer ID,Sold To Customer Sales Org,DISTRIBUTIONAL CHANNEL,Date,Invoice Number,Invoice Line,MPG
9036376,CAS6,10,4/1/2021,2200000536,1,J7
9036376,CAS6,10,4/1/2021,2200000536,1,J7
9036376,CAS6,10,4/7/2021,2200000537,1,J7O
9036376,CAS6,10,4/7/2021,2200000537,1,J7O
];

left join (trans)
load * inline [
Sold To Number,SALES ORG,DISTRIBUTIONAL CHANNEL,MPG,Partner/Agent Number,Partner/Agent Name,Valid From,Valid To
9036376,CAS6,10,J7O,30003839,PARTS - EMERGENCY LIGHTING AGENT,04/01/2005,12/31/9999
9036376,CAS6,10,J7O,30003424,PAUL LEWANDOWSKI-CA,04/01/2005,12/31/9999
9036376,CAS6,10,J7O,30003424,SATYA JAN LEE,04/01/2005,12/31/9999
9036376,CAS6,10,J8V,30003839,PARTS - EMERGENCY LIGHTING AGENT,02/24/2010,12/31/9999
9036376,CAS6,10,JFG,30003839,PARTS - EMERGENCY LIGHTING AGENT,02/24/2010,12/31/9999
9036376,CAS6,10,J4,30003440,OMNILUMEN - EG,11/02/2020,12/31/9999
9036376,CAS6,10,J5,30003440,OMNILUMEN - EG,11/02/2020,12/31/9999
9036376,CAS6,10,J6,30003440,OMNILUMEN - EG,11/02/2020,12/31/9999
9036376,CAS6,10,J7,30003440,OMNILUMEN - EG,11/02/2020,04/05/2021
9036376,CAS6,10,J7,30003839,PARTS - EMERGENCY LIGHTING AGENT,04/06/2021,04/08/2021
9036376,CAS6,10,J7,30003424,PAUL LEWANDOWSKI-CA,04/09/2021,12/31/9999
];


NoConcatenate
newTrans:
load * Resident trans where Date &amp;gt;= [Valid From] and Date &amp;lt;= [Valid To];&lt;/LI-CODE&gt;</description>
    <pubDate>Tue, 27 Apr 2021 21:30:37 GMT</pubDate>
    <dc:creator>edwin</dc:creator>
    <dc:date>2021-04-27T21:30:37Z</dc:date>
    <item>
      <title>Need to join the dimension table with Transaction with Date should be in between Dates from Dimension - Interval Match Join?</title>
      <link>https://community.qlik.com/t5/QlikView/Need-to-join-the-dimension-table-with-Transaction-with-Date/m-p/1802805#M1211846</link>
      <description>&lt;P&gt;Hi All,&lt;/P&gt;&lt;P&gt;I have some typical scenario of my requirement.&lt;/P&gt;&lt;P&gt;I make this as simple to understand.&lt;/P&gt;&lt;P&gt;Have to join the transaction table to with Dimension table with left join. I need all the records from transaction table and to get the records many from the dimension We have a key.&lt;/P&gt;&lt;P&gt;Joining is not a big problem, but while joining the transaction date(Date (MM/DD/YYYY)) should falls in between of two dates of&amp;nbsp;Valid From &amp;amp;&amp;nbsp;Valid To Dates of the dimension.&lt;/P&gt;&lt;P&gt;Please see the Tables along with the expected output table screenshot.&lt;/P&gt;&lt;P&gt;Attached Excel for test purpose.&lt;/P&gt;</description>
      <pubDate>Mon, 26 Apr 2021 17:13:45 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Need-to-join-the-dimension-table-with-Transaction-with-Date/m-p/1802805#M1211846</guid>
      <dc:creator>chandu441</dc:creator>
      <dc:date>2021-04-26T17:13:45Z</dc:date>
    </item>
    <item>
      <title>Re: Need to join the dimension table with Transaction with Date should be in between Dates from Dimension - Interval Match Join?</title>
      <link>https://community.qlik.com/t5/QlikView/Need-to-join-the-dimension-table-with-Transaction-with-Date/m-p/1803313#M1211892</link>
      <description>&lt;P&gt;try this:&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;trans:
load * inline [
Sold To Customer ID,Sold To Customer Sales Org,DISTRIBUTIONAL CHANNEL,Date,Invoice Number,Invoice Line,MPG
9036376,CAS6,10,4/1/2021,2200000536,1,J7
9036376,CAS6,10,4/1/2021,2200000536,1,J7
9036376,CAS6,10,4/7/2021,2200000537,1,J7O
9036376,CAS6,10,4/7/2021,2200000537,1,J7O
];

left join (trans)
load * inline [
Sold To Number,SALES ORG,DISTRIBUTIONAL CHANNEL,MPG,Partner/Agent Number,Partner/Agent Name,Valid From,Valid To
9036376,CAS6,10,J7O,30003839,PARTS - EMERGENCY LIGHTING AGENT,04/01/2005,12/31/9999
9036376,CAS6,10,J7O,30003424,PAUL LEWANDOWSKI-CA,04/01/2005,12/31/9999
9036376,CAS6,10,J7O,30003424,SATYA JAN LEE,04/01/2005,12/31/9999
9036376,CAS6,10,J8V,30003839,PARTS - EMERGENCY LIGHTING AGENT,02/24/2010,12/31/9999
9036376,CAS6,10,JFG,30003839,PARTS - EMERGENCY LIGHTING AGENT,02/24/2010,12/31/9999
9036376,CAS6,10,J4,30003440,OMNILUMEN - EG,11/02/2020,12/31/9999
9036376,CAS6,10,J5,30003440,OMNILUMEN - EG,11/02/2020,12/31/9999
9036376,CAS6,10,J6,30003440,OMNILUMEN - EG,11/02/2020,12/31/9999
9036376,CAS6,10,J7,30003440,OMNILUMEN - EG,11/02/2020,04/05/2021
9036376,CAS6,10,J7,30003839,PARTS - EMERGENCY LIGHTING AGENT,04/06/2021,04/08/2021
9036376,CAS6,10,J7,30003424,PAUL LEWANDOWSKI-CA,04/09/2021,12/31/9999
];


NoConcatenate
newTrans:
load * Resident trans where Date &amp;gt;= [Valid From] and Date &amp;lt;= [Valid To];&lt;/LI-CODE&gt;</description>
      <pubDate>Tue, 27 Apr 2021 21:30:37 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Need-to-join-the-dimension-table-with-Transaction-with-Date/m-p/1803313#M1211892</guid>
      <dc:creator>edwin</dc:creator>
      <dc:date>2021-04-27T21:30:37Z</dc:date>
    </item>
  </channel>
</rss>

