<?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 Nonequality Join in QV? in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Nonequality-Join-in-QV/m-p/209638#M64553</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;im new in QV. but you can try like this one.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;BLOCKQUOTE style="overflow-x: scroll;"&gt;&lt;PRE style="margin: 0px;"&gt;&lt;BR /&gt;sales table:&lt;BR /&gt;load * from sales_table;&lt;BR /&gt;promotion_table:&lt;BR /&gt;load * promotion_table;&lt;BR /&gt;intervalmatch:&lt;BR /&gt;intervalmatch(price)&lt;BR /&gt;load minprice,&lt;BR /&gt; maxprice&lt;BR /&gt;resident promotion_table;&lt;BR /&gt;left join(sales_table) load * resident intervalmatch;&lt;BR /&gt;left join(sales_table) load * resident promotion_table;&lt;BR /&gt;&lt;/PRE&gt;&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 11 Apr 2011 18:48:40 GMT</pubDate>
    <dc:creator />
    <dc:date>2011-04-11T18:48:40Z</dc:date>
    <item>
      <title>Nonequality Join in QV?</title>
      <link>https://community.qlik.com/t5/QlikView/Nonequality-Join-in-QV/m-p/209637#M64552</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Everyone,&lt;/P&gt;&lt;P&gt;I have the below scenario. I have table A with sales information and i have table B with promotions information. Based on the price in sales table i want to appy the promotion. I want to get the result which is shown in final table. In oracle ,to get this result i can simply write the following query. Do we have any easy way to get this result using QV script.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Oracle Script to get the final result:&lt;/P&gt;&lt;P&gt;select A*,B.Promotion&lt;/P&gt;&lt;P&gt;from sales A,Promotions B&lt;/P&gt;&lt;P&gt;where A.Price between B.Min Price and B.Max Price;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;TABLE border="0" cellpadding="0" cellspacing="0" style="width: 111pt; border-collapse: collapse;" width="148"&gt;&lt;COLGROUP&gt;&lt;COL style="width: 63pt; mso-width-source: userset; mso-width-alt: 3072;" width="84" /&gt;&lt;COL style="width: 48pt;" width="64" /&gt;&lt;/COLGROUP&gt;&lt;TBODY&gt;&lt;TR height="20" style="height: 15pt;"&gt;&lt;TD height="20" style="background-color: transparent; width: 63pt; height: 15pt; border: #f0f0f0;" width="84"&gt;Sales table&lt;/TD&gt;&lt;TD style="background-color: transparent; width: 48pt; border: #f0f0f0;" width="64"&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR height="20" style="height: 15pt;"&gt;&lt;TD height="20" style="background-color: transparent; height: 15pt; border: #f0f0f0;"&gt;Itemno&lt;/TD&gt;&lt;TD style="BORDER-BOTTOM: #f0f0f0; BORDER-LEFT: #f0f0f0; BACKGROUND-COLOR: transparent; BORDER-TOP: #f0f0f0; BORDER-RIGHT: #f0f0f0"&gt;price&lt;/TD&gt;&lt;/TR&gt;&lt;TR height="20" style="height: 15pt;"&gt;&lt;TD align="right" class="xl63" height="20" style="background-color: transparent; height: 15pt; border: #f0f0f0;"&gt;1&lt;/TD&gt;&lt;TD align="right" style="BORDER-BOTTOM: #f0f0f0; BORDER-LEFT: #f0f0f0; BACKGROUND-COLOR: transparent; BORDER-TOP: #f0f0f0; BORDER-RIGHT: #f0f0f0"&gt;10&lt;/TD&gt;&lt;/TR&gt;&lt;TR height="20" style="height: 15pt;"&gt;&lt;TD align="right" height="20" style="background-color: transparent; height: 15pt; border: #f0f0f0;"&gt;2&lt;/TD&gt;&lt;TD align="right" style="BORDER-BOTTOM: #f0f0f0; BORDER-LEFT: #f0f0f0; BACKGROUND-COLOR: transparent; BORDER-TOP: #f0f0f0; BORDER-RIGHT: #f0f0f0"&gt;20&lt;/TD&gt;&lt;/TR&gt;&lt;TR height="20" style="height: 15pt;"&gt;&lt;TD align="right" height="20" style="background-color: transparent; height: 15pt; border: #f0f0f0;"&gt;3&lt;/TD&gt;&lt;TD align="right" style="BORDER-BOTTOM: #f0f0f0; BORDER-LEFT: #f0f0f0; BACKGROUND-COLOR: transparent; BORDER-TOP: #f0f0f0; BORDER-RIGHT: #f0f0f0"&gt;10&lt;/TD&gt;&lt;/TR&gt;&lt;TR height="20" style="height: 15pt;"&gt;&lt;TD align="right" height="20" style="background-color: transparent; height: 15pt; border: #f0f0f0;"&gt;4&lt;/TD&gt;&lt;TD align="right" style="BORDER-BOTTOM: #f0f0f0; BORDER-LEFT: #f0f0f0; BACKGROUND-COLOR: transparent; BORDER-TOP: #f0f0f0; BORDER-RIGHT: #f0f0f0"&gt;30&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;BR /&gt;&lt;BR /&gt; &lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;TABLE border="0" cellpadding="0" cellspacing="0" style="width: 334pt; border-collapse: collapse;" width="445"&gt;&lt;COLGROUP&gt;&lt;COL style="width: 63pt; mso-width-source: userset; mso-width-alt: 3072;" width="84" /&gt;&lt;COL style="width: 107pt; mso-width-source: userset; mso-width-alt: 5229;" width="143" /&gt;&lt;COL style="width: 164pt; mso-width-source: userset; mso-width-alt: 7972;" width="218" /&gt;&lt;/COLGROUP&gt;&lt;TBODY&gt;&lt;TR height="20" style="height: 15pt;"&gt;&lt;TD class="xl65" colspan="2" height="20" style="background-color: transparent; width: 170pt; height: 15pt; mso-ignore: colspan; border: #f0f0f0;" width="227"&gt;&lt;STRONG&gt;Promotions table&lt;/STRONG&gt;&lt;/TD&gt;&lt;TD style="background-color: transparent; width: 164pt; border: #f0f0f0;" width="218"&gt;&lt;STRONG&gt;&lt;/STRONG&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR height="20" style="height: 15pt;"&gt;&lt;TD height="20" style="background-color: transparent; height: 15pt; border: #f0f0f0;"&gt;&lt;STRONG&gt;&lt;/STRONG&gt;&lt;/TD&gt;&lt;TD style="BORDER-BOTTOM: #f0f0f0; BORDER-LEFT: #f0f0f0; BACKGROUND-COLOR: transparent; BORDER-TOP: #f0f0f0; BORDER-RIGHT: #f0f0f0"&gt;&lt;STRONG&gt;&lt;/STRONG&gt;&lt;/TD&gt;&lt;TD style="BORDER-BOTTOM: #f0f0f0; BORDER-LEFT: #f0f0f0; BACKGROUND-COLOR: transparent; BORDER-TOP: #f0f0f0; BORDER-RIGHT: #f0f0f0"&gt;&lt;STRONG&gt;&lt;/STRONG&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR height="20" style="height: 15pt;"&gt;&lt;TD height="20" style="background-color: transparent; height: 15pt; border: #f0f0f0;"&gt;Min Price&lt;/TD&gt;&lt;TD style="BORDER-BOTTOM: #f0f0f0; BORDER-LEFT: #f0f0f0; BACKGROUND-COLOR: transparent; BORDER-TOP: #f0f0f0; BORDER-RIGHT: #f0f0f0"&gt;Max Price&lt;/TD&gt;&lt;TD style="BORDER-BOTTOM: #f0f0f0; BORDER-LEFT: #f0f0f0; BACKGROUND-COLOR: transparent; BORDER-TOP: #f0f0f0; BORDER-RIGHT: #f0f0f0"&gt;Promotion&lt;/TD&gt;&lt;/TR&gt;&lt;TR height="20" style="height: 15pt;"&gt;&lt;TD align="right" height="20" style="background-color: transparent; height: 15pt; border: #f0f0f0;"&gt;1&lt;/TD&gt;&lt;TD align="right" style="BORDER-BOTTOM: #f0f0f0; BORDER-LEFT: #f0f0f0; BACKGROUND-COLOR: transparent; BORDER-TOP: #f0f0f0; BORDER-RIGHT: #f0f0f0"&gt;10&lt;/TD&gt;&lt;TD style="BORDER-BOTTOM: #f0f0f0; BORDER-LEFT: #f0f0f0; BACKGROUND-COLOR: transparent; BORDER-TOP: #f0f0f0; BORDER-RIGHT: #f0f0f0"&gt;$2 Rebate&lt;/TD&gt;&lt;/TR&gt;&lt;TR height="20" style="height: 15pt;"&gt;&lt;TD align="right" height="20" style="background-color: transparent; height: 15pt; border: #f0f0f0;"&gt;11&lt;/TD&gt;&lt;TD align="right" style="BORDER-BOTTOM: #f0f0f0; BORDER-LEFT: #f0f0f0; BACKGROUND-COLOR: transparent; BORDER-TOP: #f0f0f0; BORDER-RIGHT: #f0f0f0"&gt;30&lt;/TD&gt;&lt;TD style="BORDER-BOTTOM: #f0f0f0; BORDER-LEFT: #f0f0f0; BACKGROUND-COLOR: transparent; BORDER-TOP: #f0f0f0; BORDER-RIGHT: #f0f0f0"&gt;Free shipping&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;BR /&gt;&lt;BR /&gt; &lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;TABLE border="0" cellpadding="0" cellspacing="0" style="width: 334pt; border-collapse: collapse;" width="445"&gt;&lt;COLGROUP&gt;&lt;COL style="width: 63pt; mso-width-source: userset; mso-width-alt: 3072;" width="84" /&gt;&lt;COL style="width: 107pt; mso-width-source: userset; mso-width-alt: 5229;" width="143" /&gt;&lt;COL style="width: 164pt; mso-width-source: userset; mso-width-alt: 7972;" width="218" /&gt;&lt;/COLGROUP&gt;&lt;TBODY&gt;&lt;TR height="20" style="height: 15pt;"&gt;&lt;TD class="xl66" height="20" style="background-color: transparent; width: 63pt; height: 15pt; border: #f0f0f0;" width="84"&gt;&lt;STRONG&gt;Final Table&lt;/STRONG&gt;&lt;/TD&gt;&lt;TD style="background-color: transparent; width: 107pt; border: #f0f0f0;" width="143"&gt;&lt;STRONG&gt;&lt;/STRONG&gt;&lt;/TD&gt;&lt;TD style="background-color: transparent; width: 164pt; border: #f0f0f0;" width="218"&gt;&lt;STRONG&gt;&lt;/STRONG&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR height="20" style="height: 15pt;"&gt;&lt;TD height="20" style="background-color: transparent; height: 15pt; border: #f0f0f0;"&gt;&lt;STRONG&gt;&lt;/STRONG&gt;&lt;/TD&gt;&lt;TD style="background-color: transparent; border: #f0f0f0;"&gt;&lt;STRONG&gt;&lt;/STRONG&gt;&lt;/TD&gt;&lt;TD style="background-color: transparent; border: #f0f0f0;"&gt;&lt;STRONG&gt;&lt;/STRONG&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR height="20" style="height: 15pt;"&gt;&lt;TD class="xl65" height="20" style="background-color: transparent; height: 15pt; border: #f0f0f0;"&gt;Itemno&lt;/TD&gt;&lt;TD class="xl65" style="background-color: transparent; border: #f0f0f0;"&gt;price&lt;/TD&gt;&lt;TD class="xl65" style="background-color: transparent; border: #f0f0f0;"&gt;Promotion&lt;/TD&gt;&lt;/TR&gt;&lt;TR height="20" style="height: 15pt;"&gt;&lt;TD class="xl67" height="20" style="background-color: transparent; height: 15pt; border: #f0f0f0;"&gt;1&lt;/TD&gt;&lt;TD class="xl65" style="background-color: transparent; border: #f0f0f0;"&gt;10&lt;/TD&gt;&lt;TD class="xl65" style="background-color: transparent; border: #f0f0f0;"&gt;$2 Rebate&lt;/TD&gt;&lt;/TR&gt;&lt;TR height="20" style="height: 15pt;"&gt;&lt;TD class="xl65" height="20" style="background-color: transparent; height: 15pt; border: #f0f0f0;"&gt;2&lt;/TD&gt;&lt;TD class="xl65" style="background-color: transparent; border: #f0f0f0;"&gt;20&lt;/TD&gt;&lt;TD class="xl65" style="background-color: transparent; border: #f0f0f0;"&gt;Free shipping&lt;/TD&gt;&lt;/TR&gt;&lt;TR height="20" style="height: 15pt;"&gt;&lt;TD class="xl65" height="20" style="background-color: transparent; height: 15pt; border: #f0f0f0;"&gt;3&lt;/TD&gt;&lt;TD class="xl65" style="background-color: transparent; border: #f0f0f0;"&gt;10&lt;/TD&gt;&lt;TD class="xl65" style="background-color: transparent; border: #f0f0f0;"&gt;$2 Rebate&lt;/TD&gt;&lt;/TR&gt;&lt;TR height="20" style="height: 15pt;"&gt;&lt;TD class="xl65" height="20" style="background-color: transparent; height: 15pt; border: #f0f0f0;"&gt;4&lt;/TD&gt;&lt;TD class="xl65" style="background-color: transparent; border: #f0f0f0;"&gt;30&lt;/TD&gt;&lt;TD class="xl65" style="background-color: transparent; border: #f0f0f0;"&gt;Free shipping&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 11 Apr 2011 18:24:39 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Nonequality-Join-in-QV/m-p/209637#M64552</guid>
      <dc:creator />
      <dc:date>2011-04-11T18:24:39Z</dc:date>
    </item>
    <item>
      <title>Nonequality Join in QV?</title>
      <link>https://community.qlik.com/t5/QlikView/Nonequality-Join-in-QV/m-p/209638#M64553</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;im new in QV. but you can try like this one.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;BLOCKQUOTE style="overflow-x: scroll;"&gt;&lt;PRE style="margin: 0px;"&gt;&lt;BR /&gt;sales table:&lt;BR /&gt;load * from sales_table;&lt;BR /&gt;promotion_table:&lt;BR /&gt;load * promotion_table;&lt;BR /&gt;intervalmatch:&lt;BR /&gt;intervalmatch(price)&lt;BR /&gt;load minprice,&lt;BR /&gt; maxprice&lt;BR /&gt;resident promotion_table;&lt;BR /&gt;left join(sales_table) load * resident intervalmatch;&lt;BR /&gt;left join(sales_table) load * resident promotion_table;&lt;BR /&gt;&lt;/PRE&gt;&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 11 Apr 2011 18:48:40 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Nonequality-Join-in-QV/m-p/209638#M64553</guid>
      <dc:creator />
      <dc:date>2011-04-11T18:48:40Z</dc:date>
    </item>
    <item>
      <title>Nonequality Join in QV?</title>
      <link>https://community.qlik.com/t5/QlikView/Nonequality-Join-in-QV/m-p/209639#M64554</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Excellent. The solution worked fine. Thank you verymuch.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 11 Apr 2011 19:51:13 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Nonequality-Join-in-QV/m-p/209639#M64554</guid>
      <dc:creator />
      <dc:date>2011-04-11T19:51:13Z</dc:date>
    </item>
  </channel>
</rss>

