<?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 Merging/Matching table with critieria in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Merging-Matching-table-with-critieria/m-p/210546#M65096</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Kevin,&lt;/P&gt;&lt;P&gt;As per my understanding, this can be achive using intervalmatch. Just try..&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Ravi...&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 12 Apr 2010 11:07:52 GMT</pubDate>
    <dc:creator />
    <dc:date>2010-04-12T11:07:52Z</dc:date>
    <item>
      <title>Merging/Matching table with critieria</title>
      <link>https://community.qlik.com/t5/QlikView/Merging-Matching-table-with-critieria/m-p/210545#M65095</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hey everybody,&lt;/P&gt;&lt;P&gt;I've got this situation, 2 tables which I've to merge/match.&lt;/P&gt;&lt;P&gt;The first one with a status and a value :&lt;/P&gt;&lt;P&gt;Contract:&lt;BR /&gt;LOAD *&lt;BR /&gt;INLINE [&lt;BR /&gt;Status,Value&lt;BR /&gt;'Signed',60&lt;BR /&gt;'Pipe',90&lt;BR /&gt;'StoF',100&lt;BR /&gt;];&lt;/P&gt;&lt;P&gt;The second one with a week and an objective value&lt;/P&gt;&lt;P&gt;Week:&lt;BR /&gt;LOAD *&lt;BR /&gt;INLINE [&lt;BR /&gt; Week, Objective_value&lt;BR /&gt; S1, 10&lt;BR /&gt; S2, 20&lt;BR /&gt; S3, 30&lt;BR /&gt; S4, 40&lt;BR /&gt; S5, 50&lt;BR /&gt; S6, 60&lt;BR /&gt; S7, 70&lt;BR /&gt; S8, 80&lt;BR /&gt; S9, 90&lt;BR /&gt; S10, 100&lt;BR /&gt;];&lt;/P&gt;&lt;P&gt;What I want is for each week, the status of the week : signed/pipe/StoF&lt;/P&gt;&lt;P&gt;Table:&lt;BR /&gt;LOAD *&lt;BR /&gt;INLINE [&lt;BR /&gt; Week, Status,Objective_value&lt;BR /&gt; S1,'Signed', 10&lt;BR /&gt; S2,'Signed',20&lt;BR /&gt; S3,'Signed', 30&lt;BR /&gt; S4,'Signed', 40&lt;BR /&gt; S5,'Signed', 50&lt;BR /&gt; S6,'Signed', 60&lt;BR /&gt; S7,'Pipe', 70&lt;BR /&gt; S8,'Pipe', 80&lt;BR /&gt; S9,'Pipe', 90&lt;BR /&gt; S10,'StoF', 100&lt;BR /&gt;];&lt;/P&gt;&lt;P&gt;The match criteria is : Objective_value (Week) &amp;lt;= Value (Contract)&lt;/P&gt;&lt;P&gt;If anybody has a idea how I can get from from the 2 first tables to the last one&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 12 Apr 2010 10:39:38 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Merging-Matching-table-with-critieria/m-p/210545#M65095</guid>
      <dc:creator />
      <dc:date>2010-04-12T10:39:38Z</dc:date>
    </item>
    <item>
      <title>Merging/Matching table with critieria</title>
      <link>https://community.qlik.com/t5/QlikView/Merging-Matching-table-with-critieria/m-p/210546#M65096</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Kevin,&lt;/P&gt;&lt;P&gt;As per my understanding, this can be achive using intervalmatch. Just try..&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Ravi...&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 12 Apr 2010 11:07:52 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Merging-Matching-table-with-critieria/m-p/210546#M65096</guid>
      <dc:creator />
      <dc:date>2010-04-12T11:07:52Z</dc:date>
    </item>
    <item>
      <title>Merging/Matching table with critieria</title>
      <link>https://community.qlik.com/t5/QlikView/Merging-Matching-table-with-critieria/m-p/210547#M65097</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;Check the attached application.&lt;/P&gt;&lt;P&gt;Hope this will help you.&lt;/P&gt;&lt;P&gt;- Sridhar&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 12 Apr 2010 11:40:27 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Merging-Matching-table-with-critieria/m-p/210547#M65097</guid>
      <dc:creator />
      <dc:date>2010-04-12T11:40:27Z</dc:date>
    </item>
    <item>
      <title>Re. :Re: Merging/Matching table with critieria</title>
      <link>https://community.qlik.com/t5/QlikView/Merging-Matching-table-with-critieria/m-p/210548#M65098</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks guys,&lt;/P&gt;&lt;P&gt;Yes Ravi, I think that could work.&lt;/P&gt;&lt;P&gt;Sridhar, I'm using QV Personnal so I can't open ur file&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 12 Apr 2010 12:11:34 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Merging-Matching-table-with-critieria/m-p/210548#M65098</guid>
      <dc:creator />
      <dc:date>2010-04-12T12:11:34Z</dc:date>
    </item>
    <item>
      <title>Merging/Matching table with critieria</title>
      <link>https://community.qlik.com/t5/QlikView/Merging-Matching-table-with-critieria/m-p/210549#M65099</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;ok, then find below code for you query and find the o/p as image.&lt;/P&gt;&lt;P&gt;Contract:&lt;BR /&gt;&lt;BR /&gt;LOAD *&lt;BR /&gt;INLINE [&lt;BR /&gt;Status,Value&lt;BR /&gt;'Signed',60&lt;BR /&gt;'Pipe',90&lt;BR /&gt;'StoF',100&lt;BR /&gt;];&lt;BR /&gt;&lt;BR /&gt;join&lt;BR /&gt;Load Week,Objective_value as Value;&lt;BR /&gt;LOAD *&lt;BR /&gt;INLINE [&lt;BR /&gt; Week, Objective_value&lt;BR /&gt; S1, 10&lt;BR /&gt; S2, 20&lt;BR /&gt; S3, 30&lt;BR /&gt; S4, 40&lt;BR /&gt; S5, 50&lt;BR /&gt; S6, 60&lt;BR /&gt; S7, 70&lt;BR /&gt; S8, 80&lt;BR /&gt; S9, 90&lt;BR /&gt; S10, 100&lt;BR /&gt;];&lt;BR /&gt;&lt;BR /&gt;noconcatenate&lt;BR /&gt;&lt;BR /&gt;Contract1:&lt;BR /&gt;Load * Resident Contract order by Value Desc;&lt;BR /&gt;&lt;BR /&gt;Drop table Contract;&lt;BR /&gt;&lt;BR /&gt;Load *, if(len(Status)&amp;lt;&amp;gt;0,Status,Peek(Status_New)) as Status_New Resident Contract1;&lt;BR /&gt;&lt;BR /&gt;Drop table Contract1;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;- sridhar&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 12 Apr 2010 12:15:09 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Merging-Matching-table-with-critieria/m-p/210549#M65099</guid>
      <dc:creator />
      <dc:date>2010-04-12T12:15:09Z</dc:date>
    </item>
    <item>
      <title>Re. :Re: Merging/Matching table with critieria</title>
      <link>https://community.qlik.com/t5/QlikView/Merging-Matching-table-with-critieria/m-p/210550#M65100</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks thanks,&lt;/P&gt;&lt;P&gt;In my case, the 1st solution will work better. But both solutions are quiet great.&lt;/P&gt;&lt;P&gt;Kévin&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 12 Apr 2010 13:06:09 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Merging-Matching-table-with-critieria/m-p/210550#M65100</guid>
      <dc:creator />
      <dc:date>2010-04-12T13:06:09Z</dc:date>
    </item>
    <item>
      <title>Re. :Re: Merging/Matching table with critieria</title>
      <link>https://community.qlik.com/t5/QlikView/Merging-Matching-table-with-critieria/m-p/210551#M65101</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;That's my solution with IntervalMatch :&lt;/P&gt;&lt;P&gt;Contract:&lt;BR /&gt;LOAD *&lt;BR /&gt;INLINE [&lt;BR /&gt;Status,Value1,Value2&lt;BR /&gt;'Signed',0,60&lt;BR /&gt;'Pipe',61,90&lt;BR /&gt;'StoF',91,100&lt;BR /&gt;];&lt;BR /&gt;&lt;BR /&gt;Week_objective:&lt;BR /&gt;LOAD Week, Objective_value&lt;BR /&gt;INLINE [&lt;BR /&gt; Week, Objective_value&lt;BR /&gt; S1, 10&lt;BR /&gt; S2, 20&lt;BR /&gt; S3, 30&lt;BR /&gt; S4, 40&lt;BR /&gt; S5, 50&lt;BR /&gt; S6, 60&lt;BR /&gt; S7, 70&lt;BR /&gt; S8, 80&lt;BR /&gt; S9, 90&lt;BR /&gt; S10, 100&lt;BR /&gt;];&lt;BR /&gt;inner join IntervalMatch(Objective_value) load Value1,Value2 resident Contract;&lt;BR /&gt;inner join Load * resident Contract;&lt;BR /&gt;&lt;BR /&gt;//removing the fields Value1 and Value2&lt;BR /&gt;Table:&lt;BR /&gt;Load Week,Status,Objective_value&lt;BR /&gt;resident Week_objective;&lt;BR /&gt;&lt;BR /&gt;drop table Week_objective;&lt;/P&gt;&lt;P&gt;drop table Contract;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 12 Apr 2010 14:58:26 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Merging-Matching-table-with-critieria/m-p/210551#M65101</guid>
      <dc:creator />
      <dc:date>2010-04-12T14:58:26Z</dc:date>
    </item>
    <item>
      <title>Re. :Re: Merging/Matching table with critieria</title>
      <link>https://community.qlik.com/t5/QlikView/Merging-Matching-table-with-critieria/m-p/210552#M65102</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi kevin,&lt;/P&gt;&lt;P&gt;Good solution.&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Ravi....&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 13 Apr 2010 10:12:58 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Merging-Matching-table-with-critieria/m-p/210552#M65102</guid>
      <dc:creator />
      <dc:date>2010-04-13T10:12:58Z</dc:date>
    </item>
  </channel>
</rss>

