<?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 SQL like '%' JOIN in Qlikview in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/SQL-like-JOIN-in-Qlikview/m-p/172376#M41942</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello!&lt;/P&gt;&lt;P&gt;I need to link Products and Specific Items with Transactions, but there is one difficulty... Exact match can't be used...&lt;/P&gt;&lt;P&gt;Problem details:&lt;/P&gt;&lt;P&gt;-----------&lt;/P&gt;&lt;P&gt;Products:&lt;/P&gt;&lt;P&gt;Aaa&lt;/P&gt;&lt;P&gt;Bbb&lt;/P&gt;&lt;P&gt;Ccc&lt;/P&gt;&lt;P&gt;----&lt;/P&gt;&lt;P&gt;Specific Items:&lt;/P&gt;&lt;P&gt;A1 (linked with Product "Aaa")&lt;/P&gt;&lt;P&gt;B1 linked with Bbb&lt;/P&gt;&lt;P&gt;B_2 linked with Bbb&lt;/P&gt;&lt;P&gt;Cc1 linked with Bbb&lt;/P&gt;&lt;P&gt;----&lt;/P&gt;&lt;P&gt;Transactions (key, sum):&lt;/P&gt;&lt;P&gt;Aaa-A1; 200&lt;/P&gt;&lt;P&gt;Aaa-A1_1; 250&lt;/P&gt;&lt;P&gt;Bbb-B1;100&lt;/P&gt;&lt;P&gt;Bbb-B_2_9; 50&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In SQL it is very simple... WHERE Transaction.key Like (Product.code + '-' + Item.code) OR Transaction.key Like (Product.code + '-' + Item.code +'%[_]_' )&lt;/P&gt;&lt;P&gt;The JOIN in SQL takes 8 minutes. Separate LOADs in Qlikview takes few seconds. But I don't know how link those Transactions with "tail" [8o|]&lt;/P&gt;&lt;P&gt;Any suggestions?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 17 Jan 2011 17:40:21 GMT</pubDate>
    <dc:creator />
    <dc:date>2011-01-17T17:40:21Z</dc:date>
    <item>
      <title>SQL like '%' JOIN in Qlikview</title>
      <link>https://community.qlik.com/t5/QlikView/SQL-like-JOIN-in-Qlikview/m-p/172376#M41942</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello!&lt;/P&gt;&lt;P&gt;I need to link Products and Specific Items with Transactions, but there is one difficulty... Exact match can't be used...&lt;/P&gt;&lt;P&gt;Problem details:&lt;/P&gt;&lt;P&gt;-----------&lt;/P&gt;&lt;P&gt;Products:&lt;/P&gt;&lt;P&gt;Aaa&lt;/P&gt;&lt;P&gt;Bbb&lt;/P&gt;&lt;P&gt;Ccc&lt;/P&gt;&lt;P&gt;----&lt;/P&gt;&lt;P&gt;Specific Items:&lt;/P&gt;&lt;P&gt;A1 (linked with Product "Aaa")&lt;/P&gt;&lt;P&gt;B1 linked with Bbb&lt;/P&gt;&lt;P&gt;B_2 linked with Bbb&lt;/P&gt;&lt;P&gt;Cc1 linked with Bbb&lt;/P&gt;&lt;P&gt;----&lt;/P&gt;&lt;P&gt;Transactions (key, sum):&lt;/P&gt;&lt;P&gt;Aaa-A1; 200&lt;/P&gt;&lt;P&gt;Aaa-A1_1; 250&lt;/P&gt;&lt;P&gt;Bbb-B1;100&lt;/P&gt;&lt;P&gt;Bbb-B_2_9; 50&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In SQL it is very simple... WHERE Transaction.key Like (Product.code + '-' + Item.code) OR Transaction.key Like (Product.code + '-' + Item.code +'%[_]_' )&lt;/P&gt;&lt;P&gt;The JOIN in SQL takes 8 minutes. Separate LOADs in Qlikview takes few seconds. But I don't know how link those Transactions with "tail" [8o|]&lt;/P&gt;&lt;P&gt;Any suggestions?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 17 Jan 2011 17:40:21 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/SQL-like-JOIN-in-Qlikview/m-p/172376#M41942</guid>
      <dc:creator />
      <dc:date>2011-01-17T17:40:21Z</dc:date>
    </item>
    <item>
      <title>SQL like '%' JOIN in Qlikview</title>
      <link>https://community.qlik.com/t5/QlikView/SQL-like-JOIN-in-Qlikview/m-p/172377#M41943</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;PRE&gt;Hi!&lt;BR /&gt;You can use wildmatch() where '*' remplace '%' in SQL.&lt;/PRE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 20 Apr 2011 14:26:07 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/SQL-like-JOIN-in-Qlikview/m-p/172377#M41943</guid>
      <dc:creator />
      <dc:date>2011-04-20T14:26:07Z</dc:date>
    </item>
  </channel>
</rss>

