<?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: Joins in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Joins/m-p/604718#M1101493</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Why you use Employee table because you have updated info in the Service table let me know.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 22 Apr 2014 13:45:18 GMT</pubDate>
    <dc:creator>its_anandrjs</dc:creator>
    <dc:date>2014-04-22T13:45:18Z</dc:date>
    <item>
      <title>Joins</title>
      <link>https://community.qlik.com/t5/QlikView/Joins/m-p/604717#M1101492</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 have the following requirement. I have two tables:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;employee:&lt;BR /&gt;LOAD * INLINE [&lt;BR /&gt;name, code&lt;BR /&gt;"abc", 1&lt;BR /&gt;"cdf", 1&lt;BR /&gt;"py", 2&lt;BR /&gt;"xyz",2&lt;BR /&gt;];&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;service:&lt;BR /&gt;LOAD * inline&lt;BR /&gt;[&lt;BR /&gt;name,service,code&lt;BR /&gt;"abc","food",1&lt;BR /&gt;"abc","transport",2&lt;BR /&gt;"cdf","water",1&lt;BR /&gt;"cdf","food",2&lt;BR /&gt;"py","food",2&lt;BR /&gt;"xyz","food",2&lt;BR /&gt;];&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; Now , I want those sets of employee names from service table who have codes other than the one mentioned in employee table. For eg: abc(since it has code 2 instead of 1), cdf (since it has code 2 instead of 1).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can anybody help me with the join statement required here.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in advance.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 22 Apr 2014 13:40:17 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Joins/m-p/604717#M1101492</guid>
      <dc:creator />
      <dc:date>2014-04-22T13:40:17Z</dc:date>
    </item>
    <item>
      <title>Re: Joins</title>
      <link>https://community.qlik.com/t5/QlikView/Joins/m-p/604718#M1101493</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Why you use Employee table because you have updated info in the Service table let me know.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 22 Apr 2014 13:45:18 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Joins/m-p/604718#M1101493</guid>
      <dc:creator>its_anandrjs</dc:creator>
      <dc:date>2014-04-22T13:45:18Z</dc:date>
    </item>
    <item>
      <title>Re: Joins</title>
      <link>https://community.qlik.com/t5/QlikView/Joins/m-p/604719#M1101494</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;MyTable:&lt;/P&gt;&lt;P&gt;nococncatenate&lt;/P&gt;&lt;P&gt;Load &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;name, code&lt;/SPAN&gt; as code_Emp resident &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;employee&lt;/SPAN&gt;;&lt;/P&gt;&lt;P&gt;left join&lt;/P&gt;&lt;P&gt;Load &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;name,service,code&lt;/SPAN&gt; as code_Ser resident &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;service&lt;/SPAN&gt;;&lt;/P&gt;&lt;P&gt;drop tables &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;employee&lt;/SPAN&gt;, &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;service&lt;/SPAN&gt;;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now jou have one table with the fields :&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;name, &lt;/SPAN&gt;code_Emp, &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;service,&lt;/SPAN&gt; code_Ser&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;At this point:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;MyNewTable:&lt;/P&gt;&lt;P&gt;noconcatenate&lt;/P&gt;&lt;P&gt;Load *.&lt;/P&gt;&lt;P&gt;if (code_Emp &amp;lt;&amp;gt; code_Ser,1,0) as myFlag&lt;/P&gt;&lt;P&gt;resident MyTable;&lt;/P&gt;&lt;P&gt;drop table MyTable;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now if you test myFlag as 1 you will find what you need&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 22 Apr 2014 13:45:23 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Joins/m-p/604719#M1101494</guid>
      <dc:creator>alexandros17</dc:creator>
      <dc:date>2014-04-22T13:45:23Z</dc:date>
    </item>
    <item>
      <title>Re: Joins</title>
      <link>https://community.qlik.com/t5/QlikView/Joins/m-p/604720#M1101495</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Try:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Employee:&lt;BR /&gt;LOAD name, code as code2 INLINE [&lt;BR /&gt;name, code&lt;BR /&gt;"abc", 1&lt;BR /&gt;"cdf", 1&lt;BR /&gt;"py", 2&lt;BR /&gt;"xyz",2&lt;BR /&gt;];&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Left Join&lt;BR /&gt;service:&lt;BR /&gt;LOAD * inline&lt;BR /&gt;[&lt;BR /&gt;name,service,code&lt;BR /&gt;"abc","food",1&lt;BR /&gt;"abc","transport",2&lt;BR /&gt;"cdf","water",1&lt;BR /&gt;"cdf","food",2&lt;BR /&gt;"py","food",2&lt;BR /&gt;"xyz","food",2&lt;BR /&gt;];&lt;/P&gt;&lt;P&gt;NoConcatenate&lt;BR /&gt;Final:&lt;BR /&gt;Load *&lt;BR /&gt;Resident Employee where code&amp;lt;&amp;gt;code2;&lt;BR /&gt;Drop Table Employee;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 22 Apr 2014 13:47:20 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Joins/m-p/604720#M1101495</guid>
      <dc:creator>tresB</dc:creator>
      <dc:date>2014-04-22T13:47:20Z</dc:date>
    </item>
    <item>
      <title>Re: Joins</title>
      <link>https://community.qlik.com/t5/QlikView/Joins/m-p/604721#M1101496</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;or this:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;employee:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;mapping&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; &lt;/SPAN&gt;&lt;STRONG style=": ; color: #0000ff; font-size: 8pt;"&gt;LOAD&lt;/STRONG&gt;&lt;SPAN style="font-size: 8pt;"&gt; * &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;INLINE&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;[&lt;BR /&gt;name, code&lt;BR /&gt;"abc", 1&lt;BR /&gt;"cdf", 1&lt;BR /&gt;"py", 2&lt;BR /&gt;"xyz",2&lt;BR /&gt;]&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;;&lt;BR /&gt;service:&lt;BR /&gt;&lt;/SPAN&gt;&lt;STRONG style=": ; color: #0000ff; font-size: 8pt;"&gt;LOAD&lt;/STRONG&gt;&lt;SPAN style="font-size: 8pt;"&gt; * &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;inline&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;[&lt;BR /&gt;name,service,code&lt;BR /&gt;"abc","food",1&lt;BR /&gt;"abc","transport",2&lt;BR /&gt;"cdf","water",1&lt;BR /&gt;"cdf","food",2&lt;BR /&gt;"py","food",2&lt;BR /&gt;"xyz","food",2&lt;BR /&gt;]&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;;&lt;BR /&gt;&lt;BR /&gt;new_service:&lt;BR /&gt;&lt;/SPAN&gt;&lt;STRONG style=": ; color: #0000ff; font-size: 8pt;"&gt;LOAD&lt;/STRONG&gt;&lt;SPAN style="font-size: 8pt;"&gt; *,&lt;BR /&gt;&amp;nbsp; &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;if&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;ApplyMap&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;('employee', &lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;name&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;)=&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;code&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;,1,0) &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;as&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;flag&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;Resident&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; service;&amp;nbsp; &lt;BR /&gt;&lt;/SPAN&gt;&lt;STRONG style=": ; color: #0000ff; font-size: 8pt;"&gt;drop&lt;/STRONG&gt;&lt;SPAN style="font-size: 8pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;Table&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; service; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;now based on flag you can select the ones that have mismatching codes.&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 22 Apr 2014 13:48:36 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Joins/m-p/604721#M1101496</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2014-04-22T13:48:36Z</dc:date>
    </item>
    <item>
      <title>Re: Joins</title>
      <link>https://community.qlik.com/t5/QlikView/Joins/m-p/604722#M1101497</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Anand,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;That is project requirement. I have just made sample inline tables.&lt;/P&gt;&lt;P&gt;Employee table contains only one record for each employee with a code.&lt;/P&gt;&lt;P&gt;Service table contains data for each employee ,each service. Code is incorrect in some data in this table.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I now need to figure out those employees for which codes are there which are diff than base code.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 22 Apr 2014 13:53:58 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Joins/m-p/604722#M1101497</guid>
      <dc:creator />
      <dc:date>2014-04-22T13:53:58Z</dc:date>
    </item>
    <item>
      <title>Re: Joins</title>
      <link>https://community.qlik.com/t5/QlikView/Joins/m-p/604723#M1101498</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;BR /&gt;Thanks this works.&lt;/P&gt;&lt;P&gt;But why is when I am trying the following code it doesn't work:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;FinalEmpList:&lt;/P&gt;&lt;P&gt;LOAD * &lt;/P&gt;&lt;P&gt;resident MyNewTable&lt;/P&gt;&lt;P&gt;where myFlag=1;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in advance&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 22 Apr 2014 14:43:03 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Joins/m-p/604723#M1101498</guid>
      <dc:creator />
      <dc:date>2014-04-22T14:43:03Z</dc:date>
    </item>
    <item>
      <title>Re: Joins</title>
      <link>https://community.qlik.com/t5/QlikView/Joins/m-p/604724#M1101499</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Always remember to write noconcatenate&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;FinalEmpList:&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;noconcatenate&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;LOAD *&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;resident MyNewTable&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;where myFlag=1;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;drop table &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;MyNewTable&lt;/SPAN&gt;;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Let me know&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 22 Apr 2014 14:49:21 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Joins/m-p/604724#M1101499</guid>
      <dc:creator>alexandros17</dc:creator>
      <dc:date>2014-04-22T14:49:21Z</dc:date>
    </item>
  </channel>
</rss>

