<?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 new to qlikview from sql - quick help from you! in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/new-to-qlikview-from-sql-quick-help-from-you/m-p/673323#M1077664</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I am new to Qlikview, please help.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have three tables, table A is the accounts table, table B is the org&amp;nbsp; table. Table c is the required org list(one column only).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;what to achieve: The accounts table A has two types in it (pry &amp;amp; sec)&amp;nbsp; and need to join to Table B differently, i mean with two different conditions/columns, then restrict the whole final table by only the required org list(column a) in Table c.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;since the join conditions for both types(pry &amp;amp; sec) in table A to table B are different,&amp;nbsp; I thought i should create two tables from table A for each of the types and join with the different join conditions, then merge back the two tables but I keep getting only one of the join right in the final table when i check the values.&lt;/P&gt;&lt;P&gt; .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can you please suggest&amp;nbsp; the best way to do this, already done this in sql but still strguggling with it in qlikview:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Table A:&lt;/P&gt;&lt;P&gt;column b&lt;/P&gt;&lt;P&gt;column c&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Table B:&lt;/P&gt;&lt;P&gt;column a&lt;/P&gt;&lt;P&gt;column b&lt;/P&gt;&lt;P&gt;column c&lt;/P&gt;&lt;P&gt;column d&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Table C:&lt;/P&gt;&lt;P&gt;column a&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For pry acct rule: table A column b = table B column b AND table A column c = table B column c&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For sec acct: table A column c = table B column c&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 15 Jul 2014 04:03:49 GMT</pubDate>
    <dc:creator />
    <dc:date>2014-07-15T04:03:49Z</dc:date>
    <item>
      <title>new to qlikview from sql - quick help from you!</title>
      <link>https://community.qlik.com/t5/QlikView/new-to-qlikview-from-sql-quick-help-from-you/m-p/673323#M1077664</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I am new to Qlikview, please help.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have three tables, table A is the accounts table, table B is the org&amp;nbsp; table. Table c is the required org list(one column only).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;what to achieve: The accounts table A has two types in it (pry &amp;amp; sec)&amp;nbsp; and need to join to Table B differently, i mean with two different conditions/columns, then restrict the whole final table by only the required org list(column a) in Table c.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;since the join conditions for both types(pry &amp;amp; sec) in table A to table B are different,&amp;nbsp; I thought i should create two tables from table A for each of the types and join with the different join conditions, then merge back the two tables but I keep getting only one of the join right in the final table when i check the values.&lt;/P&gt;&lt;P&gt; .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can you please suggest&amp;nbsp; the best way to do this, already done this in sql but still strguggling with it in qlikview:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Table A:&lt;/P&gt;&lt;P&gt;column b&lt;/P&gt;&lt;P&gt;column c&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Table B:&lt;/P&gt;&lt;P&gt;column a&lt;/P&gt;&lt;P&gt;column b&lt;/P&gt;&lt;P&gt;column c&lt;/P&gt;&lt;P&gt;column d&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Table C:&lt;/P&gt;&lt;P&gt;column a&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For pry acct rule: table A column b = table B column b AND table A column c = table B column c&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For sec acct: table A column c = table B column c&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 15 Jul 2014 04:03:49 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/new-to-qlikview-from-sql-quick-help-from-you/m-p/673323#M1077664</guid>
      <dc:creator />
      <dc:date>2014-07-15T04:03:49Z</dc:date>
    </item>
    <item>
      <title>Re: new to qlikview from sql - quick help from you!</title>
      <link>https://community.qlik.com/t5/QlikView/new-to-qlikview-from-sql-quick-help-from-you/m-p/673324#M1077665</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;tablea:&lt;/P&gt;&lt;P&gt;load tableacolumnb,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; tableacolumnc,&lt;/P&gt;&lt;P&gt;....;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;left join (Tablea)&lt;/P&gt;&lt;P&gt;load&amp;nbsp; columnb as tablecolumnb,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; columnc as tablecolumc,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; columnd&lt;/P&gt;&lt;P&gt;resident tableb&lt;/P&gt;&lt;P&gt;where columna = 'pry;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;left join (Tablea)&lt;/P&gt;&lt;P&gt;oad&amp;nbsp; columnb as tablecolumnb,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; columnc as tablecolumc,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; columnd&lt;/P&gt;&lt;P&gt;resident tableb&lt;/P&gt;&lt;P&gt;where columna = 'sec';&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;drop table Tableb;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;rename field tablecolumnb to columnb;&lt;/P&gt;&lt;P&gt;rename field tablecolumnc to columnc;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 15 Jul 2014 04:11:34 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/new-to-qlikview-from-sql-quick-help-from-you/m-p/673324#M1077665</guid>
      <dc:creator />
      <dc:date>2014-07-15T04:11:34Z</dc:date>
    </item>
    <item>
      <title>Re: new to qlikview from sql - quick help from you!</title>
      <link>https://community.qlik.com/t5/QlikView/new-to-qlikview-from-sql-quick-help-from-you/m-p/673325#M1077666</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks Ramkumar, will try this solution out.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 15 Jul 2014 05:40:12 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/new-to-qlikview-from-sql-quick-help-from-you/m-p/673325#M1077666</guid>
      <dc:creator />
      <dc:date>2014-07-15T05:40:12Z</dc:date>
    </item>
  </channel>
</rss>

