<?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: Mapping or left Join in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Mapping-or-left-Join/m-p/1544258#M439704</link>
    <description>It sounds to me that you could benefit from using intervalmatch() with extended syntax. Take a look at the Qlik help section. &lt;A href="https://help.qlik.com/en-US/qlikview/November2018/Subsystems/Client/Content/QV_QlikView/IntervalMatch_(Extended_Syntax).htm" target="_blank"&gt;https://help.qlik.com/en-US/qlikview/November2018/Subsystems/Client/Content/QV_QlikView/IntervalMatch_(Extended_Syntax).htm&lt;/A&gt;</description>
    <pubDate>Thu, 14 Feb 2019 11:50:24 GMT</pubDate>
    <dc:creator>Vegar</dc:creator>
    <dc:date>2019-02-14T11:50:24Z</dc:date>
    <item>
      <title>Mapping or left Join</title>
      <link>https://community.qlik.com/t5/QlikView/Mapping-or-left-Join/m-p/1544134#M439686</link>
      <description>&lt;P&gt;Hi All,&lt;/P&gt;&lt;P&gt;I have two tables. In table A&amp;nbsp; i have Equipment and Posting Date.&lt;/P&gt;&lt;P&gt;In table B i have&amp;nbsp;&amp;nbsp;[Sales Document],&lt;BR /&gt;Item ,&lt;BR /&gt;Equipment,&lt;BR /&gt;Start_DT_New,&lt;BR /&gt;End_DT_New,&lt;BR /&gt;MaterialEntered&lt;/P&gt;&lt;P&gt;Now for&amp;nbsp;[Sales Document],Item ,&amp;nbsp; and&amp;nbsp;MaterialEntered the condition is i need to get only records based on the below condition i.e.&lt;/P&gt;&lt;P&gt;if both the table&amp;nbsp; equipments matches and&amp;nbsp;Posting Date&amp;gt;=Start_DT_New and&amp;nbsp;Posting &amp;lt;=End_DT_New.&lt;/P&gt;&lt;P&gt;Can you please tell me how to achieve this and let me know if you need anything more.&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Bharat&lt;/P&gt;</description>
      <pubDate>Thu, 14 Feb 2019 09:28:15 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Mapping-or-left-Join/m-p/1544134#M439686</guid>
      <dc:creator>bharatkishore</dc:creator>
      <dc:date>2019-02-14T09:28:15Z</dc:date>
    </item>
    <item>
      <title>Re: Mapping or left Join</title>
      <link>https://community.qlik.com/t5/QlikView/Mapping-or-left-Join/m-p/1544153#M439688</link>
      <description>&lt;P&gt;Do a mapping load and put a where condition on the resulting table may be.&lt;/P&gt;</description>
      <pubDate>Thu, 14 Feb 2019 09:38:28 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Mapping-or-left-Join/m-p/1544153#M439688</guid>
      <dc:creator>pradosh_thakur</dc:creator>
      <dc:date>2019-02-14T09:38:28Z</dc:date>
    </item>
    <item>
      <title>Re: Mapping or left Join</title>
      <link>https://community.qlik.com/t5/QlikView/Mapping-or-left-Join/m-p/1544157#M439690</link>
      <description>I have tried that but the prob is for Ex:&lt;BR /&gt;i have in Table 1 i have 1 equipment number has record 1A&lt;BR /&gt;in Table 2 i have the same equipment number with two records 1A and 2A the output i will be getting is 1A and 2A even the duplicate reocrds.&lt;BR /&gt;But i need only matching records i.e. 1A no duplicate records..</description>
      <pubDate>Thu, 14 Feb 2019 09:48:56 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Mapping-or-left-Join/m-p/1544157#M439690</guid>
      <dc:creator>bharatkishore</dc:creator>
      <dc:date>2019-02-14T09:48:56Z</dc:date>
    </item>
    <item>
      <title>Re: Mapping or left Join</title>
      <link>https://community.qlik.com/t5/QlikView/Mapping-or-left-Join/m-p/1544168#M439692</link>
      <description>&lt;P&gt;Are you saying Equipment is not the most granular data and something else is?&amp;nbsp;&lt;/P&gt;&lt;P&gt;You need to filter the date condition right? If you need the data that is present in table 1 you can definitely do a left join , apply map will give you the flexibility to enter default value for the non matching rows. At the end you need to see what is feasible for the data set you are using.&lt;/P&gt;</description>
      <pubDate>Thu, 14 Feb 2019 09:57:01 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Mapping-or-left-Join/m-p/1544168#M439692</guid>
      <dc:creator>pradosh_thakur</dc:creator>
      <dc:date>2019-02-14T09:57:01Z</dc:date>
    </item>
    <item>
      <title>Re: Mapping or left Join</title>
      <link>https://community.qlik.com/t5/QlikView/Mapping-or-left-Join/m-p/1544170#M439693</link>
      <description>I need to filter based on two conditions&lt;BR /&gt;1) when both the equipment matches in both the tables&lt;BR /&gt;2) when posting date is &amp;gt;=Startdate and posting date is &amp;lt;=Enddate. Hope i am clear..</description>
      <pubDate>Thu, 14 Feb 2019 10:02:54 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Mapping-or-left-Join/m-p/1544170#M439693</guid>
      <dc:creator>bharatkishore</dc:creator>
      <dc:date>2019-02-14T10:02:54Z</dc:date>
    </item>
    <item>
      <title>Re: Mapping or left Join</title>
      <link>https://community.qlik.com/t5/QlikView/Mapping-or-left-Join/m-p/1544175#M439694</link>
      <description>Do a inner join and put a where condition on the resulting table . I think it will work for your case.</description>
      <pubDate>Thu, 14 Feb 2019 10:12:27 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Mapping-or-left-Join/m-p/1544175#M439694</guid>
      <dc:creator>pradosh_thakur</dc:creator>
      <dc:date>2019-02-14T10:12:27Z</dc:date>
    </item>
    <item>
      <title>Re: Mapping or left Join</title>
      <link>https://community.qlik.com/t5/QlikView/Mapping-or-left-Join/m-p/1544177#M439695</link>
      <description>So mapping is a wrong choice? correct..</description>
      <pubDate>Thu, 14 Feb 2019 10:16:56 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Mapping-or-left-Join/m-p/1544177#M439695</guid>
      <dc:creator>bharatkishore</dc:creator>
      <dc:date>2019-02-14T10:16:56Z</dc:date>
    </item>
    <item>
      <title>Re: Mapping or left Join</title>
      <link>https://community.qlik.com/t5/QlikView/Mapping-or-left-Join/m-p/1544180#M439696</link>
      <description>if the column you are using for mapping is not the least granular then yes it's not a right choice. Again your case seems like it warrants an inner join.</description>
      <pubDate>Thu, 14 Feb 2019 10:19:44 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Mapping-or-left-Join/m-p/1544180#M439696</guid>
      <dc:creator>pradosh_thakur</dc:creator>
      <dc:date>2019-02-14T10:19:44Z</dc:date>
    </item>
    <item>
      <title>Re: Mapping or left Join</title>
      <link>https://community.qlik.com/t5/QlikView/Mapping-or-left-Join/m-p/1544183#M439697</link>
      <description>OK Thanks. let me try and get back up to you..&lt;BR /&gt;I have tried mapping but i am getting duplicate records as well..</description>
      <pubDate>Thu, 14 Feb 2019 10:21:28 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Mapping-or-left-Join/m-p/1544183#M439697</guid>
      <dc:creator>bharatkishore</dc:creator>
      <dc:date>2019-02-14T10:21:28Z</dc:date>
    </item>
    <item>
      <title>Re: Mapping or left Join</title>
      <link>https://community.qlik.com/t5/QlikView/Mapping-or-left-Join/m-p/1544258#M439704</link>
      <description>It sounds to me that you could benefit from using intervalmatch() with extended syntax. Take a look at the Qlik help section. &lt;A href="https://help.qlik.com/en-US/qlikview/November2018/Subsystems/Client/Content/QV_QlikView/IntervalMatch_(Extended_Syntax).htm" target="_blank"&gt;https://help.qlik.com/en-US/qlikview/November2018/Subsystems/Client/Content/QV_QlikView/IntervalMatch_(Extended_Syntax).htm&lt;/A&gt;</description>
      <pubDate>Thu, 14 Feb 2019 11:50:24 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Mapping-or-left-Join/m-p/1544258#M439704</guid>
      <dc:creator>Vegar</dc:creator>
      <dc:date>2019-02-14T11:50:24Z</dc:date>
    </item>
    <item>
      <title>Re: Mapping or left Join</title>
      <link>https://community.qlik.com/t5/QlikView/Mapping-or-left-Join/m-p/1544303#M439707</link>
      <description>&lt;P&gt;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/46628"&gt;@sunny_talwar&lt;/a&gt;&amp;nbsp; any help Sunny Bhai..&lt;/P&gt;</description>
      <pubDate>Thu, 14 Feb 2019 12:41:26 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Mapping-or-left-Join/m-p/1544303#M439707</guid>
      <dc:creator>bharatkishore</dc:creator>
      <dc:date>2019-02-14T12:41:26Z</dc:date>
    </item>
    <item>
      <title>Re: Mapping or left Join</title>
      <link>https://community.qlik.com/t5/QlikView/Mapping-or-left-Join/m-p/1544308#M439708</link>
      <description>&lt;P&gt;Can you share a sample to show what you have?&lt;/P&gt;</description>
      <pubDate>Thu, 14 Feb 2019 12:52:32 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Mapping-or-left-Join/m-p/1544308#M439708</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2019-02-14T12:52:32Z</dc:date>
    </item>
    <item>
      <title>Re: Mapping or left Join</title>
      <link>https://community.qlik.com/t5/QlikView/Mapping-or-left-Join/m-p/1544330#M439713</link>
      <description>&lt;P&gt;PFA qvw&amp;nbsp; Sunny Bhai.&lt;/P&gt;&lt;P&gt;Here if you filter example 10149573 equipment in chart i am getting data for Start date and end date where my posting date condition is not matching.&lt;/P&gt;&lt;P&gt;Here in this case the posting date is not greater than start date and less than end date.&lt;/P&gt;&lt;P&gt;Please let me know if you need anything more.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 14 Feb 2019 13:17:23 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Mapping-or-left-Join/m-p/1544330#M439713</guid>
      <dc:creator>bharatkishore</dc:creator>
      <dc:date>2019-02-14T13:17:23Z</dc:date>
    </item>
    <item>
      <title>Re: Mapping or left Join</title>
      <link>https://community.qlik.com/t5/QlikView/Mapping-or-left-Join/m-p/1544342#M439715</link>
      <description>&lt;P&gt;I am not sure where the join is taking place in the script, but you essentially need an IntervalMatch here just like&amp;nbsp;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/25001"&gt;@Vegar&lt;/a&gt;&amp;nbsp; mentioned in his response above. You can join the table after the intervalmatch to bring them all in a single table&lt;/P&gt;</description>
      <pubDate>Thu, 14 Feb 2019 13:30:19 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Mapping-or-left-Join/m-p/1544342#M439715</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2019-02-14T13:30:19Z</dc:date>
    </item>
    <item>
      <title>Re: Mapping or left Join</title>
      <link>https://community.qlik.com/t5/QlikView/Mapping-or-left-Join/m-p/1544369#M439719</link>
      <description>&lt;P&gt;Can i add the code like the below Sunny Bhai..&lt;/P&gt;&lt;P&gt;left join(Revenue_Calc_2)&lt;BR /&gt;IntervalMatch(Equipment, [Sales Document],Item,Start_DT_New,End_DT_New,MaterialEntered)&lt;BR /&gt;IW75:&lt;BR /&gt;LOAD [Sales Document] as Sales.Document_Contract,&lt;BR /&gt;Item as Item_Contract,&lt;BR /&gt;Equipment,&lt;BR /&gt;Date(Date#(Start_DT_New,'YYYY/MM/DD'),'MM/DD/YYYY') as Start_DT_New,&lt;BR /&gt;Date(Date#(End_DT_New,'YYYY/MM/DD'),'MM/DD/YYYY') as End_DT_New,&lt;BR /&gt;MaterialEntered&lt;BR /&gt;FROM&lt;BR /&gt;[C:\Import\DT_Contract_2_for_code.csv]&lt;BR /&gt;(txt, codepage is 1252, embedded labels, delimiter is ',', msq);&lt;/P&gt;&lt;P&gt;Revenue_Calc_3:&lt;BR /&gt;load *,&lt;/P&gt;&lt;P&gt;if(Posting.Date&amp;gt;=Start_DT_New and Posting.Date&amp;lt;=End_DT_New,'Contract Period','Outside Contract Period' )as Contract_Flag&lt;BR /&gt;Resident Revenue_Calc_2;&lt;BR /&gt;drop Table Revenue_Calc_2;&lt;/P&gt;</description>
      <pubDate>Thu, 14 Feb 2019 13:49:59 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Mapping-or-left-Join/m-p/1544369#M439719</guid>
      <dc:creator>bharatkishore</dc:creator>
      <dc:date>2019-02-14T13:49:59Z</dc:date>
    </item>
    <item>
      <title>Re: Mapping or left Join</title>
      <link>https://community.qlik.com/t5/QlikView/Mapping-or-left-Join/m-p/1544377#M439722</link>
      <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/7503"&gt;@bharatkishore&lt;/a&gt;&amp;nbsp;wrote:&lt;BR /&gt;&lt;P&gt;left join(Revenue_Calc_2)&lt;BR /&gt;&lt;FONT color="#FF0000"&gt;IntervalMatch(Equipment, [Sales Document],Item,Start_DT_New,End_DT_New,MaterialEntered)&lt;/FONT&gt;&lt;BR /&gt;IW75:&lt;BR /&gt;LOAD [Sales Document] as Sales.Document_Contract,&lt;BR /&gt;Item as Item_Contract,&lt;BR /&gt;Equipment,&lt;BR /&gt;Date(Date#(Start_DT_New,'YYYY/MM/DD'),'MM/DD/YYYY') as Start_DT_New,&lt;BR /&gt;Date(Date#(End_DT_New,'YYYY/MM/DD'),'MM/DD/YYYY') as End_DT_New,&lt;BR /&gt;MaterialEntered&lt;BR /&gt;FROM&lt;BR /&gt;[C:\Import\DT_Contract_2_for_code.csv]&lt;BR /&gt;(txt, codepage is 1252, embedded labels, delimiter is ',', msq);&lt;/P&gt;&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;The highlighted part doesn't look right. Where is the Post_date in the interval match here? I think it might be easy if you can provide Excel file with one data source which contain Start_DT and End_DT and another data source which include Post_DT and add all the other necessary columns on which you are joining the two on.&lt;/P&gt;</description>
      <pubDate>Thu, 14 Feb 2019 13:59:22 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Mapping-or-left-Join/m-p/1544377#M439722</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2019-02-14T13:59:22Z</dc:date>
    </item>
  </channel>
</rss>

