<?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: Intervalmatch problem with end points in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Intervalmatch-problem-with-end-points/m-p/1766360#M590893</link>
    <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I am not sure I follow what you are after, but I got the following table from the following script;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="20201204_4.png" style="width: 743px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/45256i40F9700A48F780DF/image-size/large?v=v2&amp;amp;px=999" role="button" title="20201204_4.png" alt="20201204_4.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;LI-CODE lang="javascript"&gt;Altezza_articoli:
LOAD * inline
[
ART, H
ART1, 20
ART2, 70
ART3, 60.5
ART4, 150
ART6, 60
ART7, 60
ART5, 151.5
]
;

Classe_altezza:
LOAD * inline
[
Altezza_Min ,Altezza_Max, Classe_Altezza
0,30, 0-30
30.1,60, 31-60
60.1,80, 61-80
80.1,100, 81-100
100.1,120, 101-120
120.1,150, 121-150
150.1,900000000000, 151-&amp;gt;
];


inner join (Altezza_articoli)
IntervalMatch(H)
load
Altezza_Min, Altezza_Max
resident Classe_altezza;

LEFT JOIN (Altezza_articoli)
load
	*
resident Classe_altezza;

DROP TABLE Classe_altezza;&lt;/LI-CODE&gt;&lt;P&gt;I am also a little doubtful on your ranges having gaps, I think interval match would cope with them being contigious (otherwise where does 30.05 go?).&lt;/P&gt;&lt;P&gt;Cheers,&lt;/P&gt;&lt;P&gt;Chris.&lt;/P&gt;</description>
    <pubDate>Fri, 04 Dec 2020 16:00:06 GMT</pubDate>
    <dc:creator>chrismarlow</dc:creator>
    <dc:date>2020-12-04T16:00:06Z</dc:date>
    <item>
      <title>Intervalmatch problem with end points</title>
      <link>https://community.qlik.com/t5/QlikView/Intervalmatch-problem-with-end-points/m-p/1766334#M590892</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;I was looking for some solution but no luck. Haven't found the case I'm struggling with so I decided to post it. I will apprecieate some help.&lt;/P&gt;&lt;P&gt;I need to connect an height interval with the product id. In fact I have many items with different heights (also with decimals, for example like 60.5, 151.8...) and I can't create an Interval function like this:&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Altezza_articoli:&lt;BR /&gt;LOAD * inline&lt;BR /&gt;[&lt;BR /&gt;ART, H&lt;BR /&gt;ART1, 20&lt;BR /&gt;ART2, 70&lt;BR /&gt;ART3, 60.5&lt;BR /&gt;ART4, 150&lt;BR /&gt;ART6, 60&lt;BR /&gt;ART7, 60&lt;BR /&gt;ART5, 151.5&lt;BR /&gt;]&lt;BR /&gt;;&lt;/P&gt;&lt;P&gt;Classe_altezza:&lt;BR /&gt;LOAD * inline&lt;BR /&gt;[&lt;BR /&gt;Altezza_Min ,Altezza_Max, Classe_Altezza&lt;BR /&gt;0,30, 0-30&lt;BR /&gt;30.1,60, 31-60&lt;BR /&gt;60.1,80, 61-80&lt;BR /&gt;80.1,100, 81-100&lt;BR /&gt;100.1,120, 101-120&lt;BR /&gt;120.1,150, 121-150&lt;BR /&gt;150.1,900000000000, 151-&amp;gt;&lt;BR /&gt;];&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;inner join&lt;BR /&gt;IntervalMatch(H)&lt;BR /&gt;load&lt;BR /&gt;Altezza_Min, Altezza_Max&lt;BR /&gt;resident Classe_altezza;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;And also if I substitute the "." with "," like:&amp;nbsp;&lt;/P&gt;&lt;P&gt;Altezza_articoli:&lt;BR /&gt;LOAD * inline&lt;BR /&gt;[&lt;BR /&gt;ART, H&lt;BR /&gt;ART1, 20&lt;BR /&gt;ART2, 70&lt;BR /&gt;ART3, 60,5&lt;BR /&gt;ART4, 150&lt;BR /&gt;ART6, 60&lt;BR /&gt;ART7, 60&lt;BR /&gt;ART5, 151,5&lt;BR /&gt;]&lt;BR /&gt;;&lt;/P&gt;&lt;P&gt;Classe_altezza:&lt;BR /&gt;LOAD * inline&lt;BR /&gt;[&lt;BR /&gt;Altezza_Min ,Altezza_Max, Classe_Altezza&lt;BR /&gt;0,30, 0-30&lt;BR /&gt;30,1,60, 31-60&lt;BR /&gt;60,1,80, 61-80&lt;BR /&gt;80,1,100, 81-100&lt;BR /&gt;100,1,120, 101-120&lt;BR /&gt;120,1,150, 121-150&lt;BR /&gt;150,1,900000000000, 151-&amp;gt;&lt;BR /&gt;];&lt;/P&gt;&lt;P&gt;inner join&lt;BR /&gt;IntervalMatch(H)&lt;BR /&gt;load&lt;BR /&gt;Altezza_Min, Altezza_Max&lt;BR /&gt;resident Classe_altezza;&lt;/P&gt;&lt;P&gt;It only create a connection between ART1 and the interval 0-30 (which is correct), but it doesn't create a connection with the others value.&lt;/P&gt;&lt;P&gt;The separator for decimals is ","&lt;/P&gt;&lt;P&gt;Thank you&lt;/P&gt;</description>
      <pubDate>Fri, 04 Dec 2020 14:24:26 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Intervalmatch-problem-with-end-points/m-p/1766334#M590892</guid>
      <dc:creator>zenobendi</dc:creator>
      <dc:date>2020-12-04T14:24:26Z</dc:date>
    </item>
    <item>
      <title>Re: Intervalmatch problem with end points</title>
      <link>https://community.qlik.com/t5/QlikView/Intervalmatch-problem-with-end-points/m-p/1766360#M590893</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I am not sure I follow what you are after, but I got the following table from the following script;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="20201204_4.png" style="width: 743px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/45256i40F9700A48F780DF/image-size/large?v=v2&amp;amp;px=999" role="button" title="20201204_4.png" alt="20201204_4.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;LI-CODE lang="javascript"&gt;Altezza_articoli:
LOAD * inline
[
ART, H
ART1, 20
ART2, 70
ART3, 60.5
ART4, 150
ART6, 60
ART7, 60
ART5, 151.5
]
;

Classe_altezza:
LOAD * inline
[
Altezza_Min ,Altezza_Max, Classe_Altezza
0,30, 0-30
30.1,60, 31-60
60.1,80, 61-80
80.1,100, 81-100
100.1,120, 101-120
120.1,150, 121-150
150.1,900000000000, 151-&amp;gt;
];


inner join (Altezza_articoli)
IntervalMatch(H)
load
Altezza_Min, Altezza_Max
resident Classe_altezza;

LEFT JOIN (Altezza_articoli)
load
	*
resident Classe_altezza;

DROP TABLE Classe_altezza;&lt;/LI-CODE&gt;&lt;P&gt;I am also a little doubtful on your ranges having gaps, I think interval match would cope with them being contigious (otherwise where does 30.05 go?).&lt;/P&gt;&lt;P&gt;Cheers,&lt;/P&gt;&lt;P&gt;Chris.&lt;/P&gt;</description>
      <pubDate>Fri, 04 Dec 2020 16:00:06 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Intervalmatch-problem-with-end-points/m-p/1766360#M590893</guid>
      <dc:creator>chrismarlow</dc:creator>
      <dc:date>2020-12-04T16:00:06Z</dc:date>
    </item>
  </channel>
</rss>

