<?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: Join two tables. in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Join-two-tables/m-p/759116#M270116</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;use 'concatenate' between this 2 tables as the most of the columns are same&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 20 Mar 2015 10:56:30 GMT</pubDate>
    <dc:creator>sagarkharpude</dc:creator>
    <dc:date>2015-03-20T10:56:30Z</dc:date>
    <item>
      <title>Join two tables.</title>
      <link>https://community.qlik.com/t5/QlikView/Join-two-tables/m-p/759115#M270115</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;How can I join both tables into 1 table, see the script underneath?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Kind regards&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;[Employees New]:&lt;/P&gt;&lt;P&gt;LOAD *,&lt;/P&gt;&lt;P&gt;&amp;nbsp; num([Year Salary]/12) as 'Month Salary',&lt;/P&gt;&lt;P&gt;&amp;nbsp; If( num([Year Salary]/12)&amp;lt;= 1000,'0-1K',&lt;/P&gt;&lt;P&gt;&amp;nbsp; If( num([Year Salary]/12)&amp;gt;1000 and num([Year Salary]/12)&amp;lt;=2000,'1-2K',&lt;/P&gt;&lt;P&gt;&amp;nbsp; If( num([Year Salary]/12)&amp;gt;2000 and num([Year Salary]/12) &amp;lt;=3000,'2-3K',&lt;/P&gt;&lt;P&gt;&amp;nbsp; If( num([Year Salary]/12)&amp;gt;3000 and num([Year Salary]/12)&amp;lt;=4000,'3-4K',&lt;/P&gt;&lt;P&gt;&amp;nbsp; If( num([Year Salary]/12)&amp;gt;4000,'4K&amp;gt;',''))))) as 'Month Salary Grouped',&lt;/P&gt;&lt;P&gt;&amp;nbsp; [First Name] &amp;amp; ' ' &amp;amp; [Last Name] as Name&lt;/P&gt;&lt;P&gt;FROM&lt;/P&gt;&lt;P&gt;Datasources\Employees_New.xls&lt;/P&gt;&lt;P&gt;(biff, embedded labels, table is Employee$);&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;[Employees off]:&lt;/P&gt;&lt;P&gt;LOAD *,&lt;/P&gt;&lt;P&gt;&amp;nbsp; Age(Today(),[Date of Birth]) as 'Years Old',&lt;/P&gt;&lt;P&gt;&amp;nbsp; If( Age(Today(),[Date of Birth]) &amp;lt;= 18,'0-18',&lt;/P&gt;&lt;P&gt;&amp;nbsp; If( Age(Today(),[Date of Birth]) &amp;gt;18 and Age(Today(),[Date of Birth]) &amp;lt;26,'19-25',&lt;/P&gt;&lt;P&gt;&amp;nbsp; If( Age(Today(),[Date of Birth]) &amp;gt;25 and Age(Today(),[Date of Birth]) &amp;lt;36,'26-35',&lt;/P&gt;&lt;P&gt;&amp;nbsp; If( Age(Today(),[Date of Birth]) &amp;gt;35 and Age(Today(),[Date of Birth]) &amp;lt;50,'36-49',&lt;/P&gt;&lt;P&gt;&amp;nbsp; If( Age(Today(),[Date of Birth]) &amp;gt;49,'50+',''))))) as 'Years Old Grouped',&lt;/P&gt;&lt;P&gt;&amp;nbsp; num([Year Salary]/12) as 'Month Salary',&lt;/P&gt;&lt;P&gt;&amp;nbsp; If( num([Year Salary]/12)&amp;lt;= 1000,'0-1K',&lt;/P&gt;&lt;P&gt;&amp;nbsp; If( num([Year Salary]/12)&amp;gt;1000 and num([Year Salary]/12)&amp;lt;=2000,'1-2K',&lt;/P&gt;&lt;P&gt;&amp;nbsp; If( num([Year Salary]/12)&amp;gt;2000 and num([Year Salary]/12) &amp;lt;=3000,'2-3K',&lt;/P&gt;&lt;P&gt;&amp;nbsp; If( num([Year Salary]/12)&amp;gt;3000 and num([Year Salary]/12)&amp;lt;=4000,'3-4K',&lt;/P&gt;&lt;P&gt;&amp;nbsp; If( num([Year Salary]/12)&amp;gt;4000,'4K&amp;gt;',''))))) as 'Month Salary Grouped',&lt;/P&gt;&lt;P&gt;&amp;nbsp; [First Name] &amp;amp; ' ' &amp;amp; [Last Name] as Name&lt;/P&gt;&lt;P&gt;&amp;nbsp; FROM&lt;/P&gt;&lt;P&gt;Datasources\EmpOff.xls&lt;/P&gt;&lt;P&gt;(biff, embedded labels, table is Employee$);&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 20 Mar 2015 10:53:22 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Join-two-tables/m-p/759115#M270115</guid>
      <dc:creator />
      <dc:date>2015-03-20T10:53:22Z</dc:date>
    </item>
    <item>
      <title>Re: Join two tables.</title>
      <link>https://community.qlik.com/t5/QlikView/Join-two-tables/m-p/759116#M270116</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;use 'concatenate' between this 2 tables as the most of the columns are same&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 20 Mar 2015 10:56:30 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Join-two-tables/m-p/759116#M270116</guid>
      <dc:creator>sagarkharpude</dc:creator>
      <dc:date>2015-03-20T10:56:30Z</dc:date>
    </item>
    <item>
      <title>Re: Join two tables.</title>
      <link>https://community.qlik.com/t5/QlikView/Join-two-tables/m-p/759117#M270117</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;Try this script.&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;[Employees off]:&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;&amp;nbsp; Age(Today(),[Date of Birth]) as 'Years Old',&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&amp;nbsp; If( Age(Today(),[Date of Birth]) &amp;lt;= 18,'0-18',&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&amp;nbsp; If( Age(Today(),[Date of Birth]) &amp;gt;18 and Age(Today(),[Date of Birth]) &amp;lt;26,'19-25',&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&amp;nbsp; If( Age(Today(),[Date of Birth]) &amp;gt;25 and Age(Today(),[Date of Birth]) &amp;lt;36,'26-35',&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&amp;nbsp; If( Age(Today(),[Date of Birth]) &amp;gt;35 and Age(Today(),[Date of Birth]) &amp;lt;50,'36-49',&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&amp;nbsp; If( Age(Today(),[Date of Birth]) &amp;gt;49,'50+',''))))) as 'Years Old Grouped',&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&amp;nbsp; num([Year Salary]/12) as 'Month Salary',&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&amp;nbsp; If( num([Year Salary]/12)&amp;lt;= 1000,'0-1K',&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&amp;nbsp; If( num([Year Salary]/12)&amp;gt;1000 and num([Year Salary]/12)&amp;lt;=2000,'1-2K',&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&amp;nbsp; If( num([Year Salary]/12)&amp;gt;2000 and num([Year Salary]/12) &amp;lt;=3000,'2-3K',&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&amp;nbsp; If( num([Year Salary]/12)&amp;gt;3000 and num([Year Salary]/12)&amp;lt;=4000,'3-4K',&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&amp;nbsp; If( num([Year Salary]/12)&amp;gt;4000,'4K&amp;gt;',''))))) as 'Month Salary Grouped',&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&amp;nbsp; [First Name] &amp;amp; ' ' &amp;amp; [Last Name] as Name&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&amp;nbsp; FROM&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Datasources\EmpOff.xls&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;(biff, embedded labels, table is Employee$);&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;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;//[Employees New]:&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;left join(&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;[Employees off]&lt;/SPAN&gt;)&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;&amp;nbsp; num([Year Salary]/12) as 'Month Salary',&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&amp;nbsp; If( num([Year Salary]/12)&amp;lt;= 1000,'0-1K',&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&amp;nbsp; If( num([Year Salary]/12)&amp;gt;1000 and num([Year Salary]/12)&amp;lt;=2000,'1-2K',&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&amp;nbsp; If( num([Year Salary]/12)&amp;gt;2000 and num([Year Salary]/12) &amp;lt;=3000,'2-3K',&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&amp;nbsp; If( num([Year Salary]/12)&amp;gt;3000 and num([Year Salary]/12)&amp;lt;=4000,'3-4K',&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&amp;nbsp; If( num([Year Salary]/12)&amp;gt;4000,'4K&amp;gt;',''))))) as 'Month Salary Grouped',&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&amp;nbsp; [First Name] &amp;amp; ' ' &amp;amp; [Last Name] as Name&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;FROM&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Datasources\Employees_New.xls&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;(biff, embedded labels, table is Employee$);&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 20 Mar 2015 11:10:54 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Join-two-tables/m-p/759117#M270117</guid>
      <dc:creator />
      <dc:date>2015-03-20T11:10:54Z</dc:date>
    </item>
    <item>
      <title>Re: Join two tables.</title>
      <link>https://community.qlik.com/t5/QlikView/Join-two-tables/m-p/759118#M270118</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Randy,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What all field are you calling through " * " in both the tables??&lt;/P&gt;&lt;P&gt;Do you have a primary key for both?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;KC&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 20 Mar 2015 11:55:10 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Join-two-tables/m-p/759118#M270118</guid>
      <dc:creator>jyothish8807</dc:creator>
      <dc:date>2015-03-20T11:55:10Z</dc:date>
    </item>
    <item>
      <title>Re: Join two tables.</title>
      <link>https://community.qlik.com/t5/QlikView/Join-two-tables/m-p/759119#M270119</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;functionally what i understood,u suppose to be add ur all new employees to ur &lt;STRONG&gt;employee off&lt;/STRONG&gt; table.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;solution: if new employee id is not exists on "&lt;STRONG style="font-size: 13.3333330154419px;"&gt;employee off&lt;/STRONG&gt;&lt;SPAN style="font-size: 13.3333330154419px;"&gt; &lt;/SPAN&gt;" add here.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;tht's simple and good solutions i believe.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 20 Mar 2015 12:44:36 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Join-two-tables/m-p/759119#M270119</guid>
      <dc:creator>buzzy996</dc:creator>
      <dc:date>2015-03-20T12:44:36Z</dc:date>
    </item>
  </channel>
</rss>

