<?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 Interval Match/inline - Vlookup true in App Development</title>
    <link>https://community.qlik.com/t5/App-Development/Interval-Match-inline-Vlookup-true/m-p/1595726#M43852</link>
    <description>&lt;P&gt;Hiya,&lt;/P&gt;&lt;P&gt;I'm essentially trying to do a vlookup true in Qlikesense based on a value column in my main Data load file.&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have a Value range Mapping with the info.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Value Brackets.PNG" style="width: 261px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/14358iFD5BD9050D96D644/image-size/large?v=v2&amp;amp;px=999" role="button" title="Value Brackets.PNG" alt="Value Brackets.PNG" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;I'm unable to make Interval Match work, this was my script:&lt;/P&gt;&lt;P&gt;[Value Range]:&lt;BR /&gt;LOAD&lt;BR /&gt;['Negative/Zero'],&lt;BR /&gt;['0-250'],&lt;BR /&gt;['251-500'],&lt;BR /&gt;['501-1000'],&lt;BR /&gt;['1001-2500'],&lt;BR /&gt;['2501-5000'],&lt;BR /&gt;['5000+'];&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;LOAD&lt;BR /&gt;Value,&lt;BR /&gt;"Value Range Category"&lt;BR /&gt;FROM [lib://Lookup/Lookup.xlsx]&lt;BR /&gt;(ooxml, embedded labels, table is [Value Range]);&lt;/P&gt;&lt;P&gt;[interval match table]:&lt;BR /&gt;IntervalMatch([Value Range])&lt;BR /&gt;Load&lt;/P&gt;&lt;P&gt;['0-250'],&lt;BR /&gt;['251-500'],&lt;BR /&gt;['501-1000'],&lt;BR /&gt;['1001-2500'],&lt;BR /&gt;['2501-5000'],&lt;BR /&gt;['5000+']&lt;BR /&gt;Resident ['Value Range'];&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I then searched some more and found out about an incline load, so have removed the above script for this:&lt;/P&gt;&lt;P&gt;Test:&lt;BR /&gt;Load * Inline [&lt;BR /&gt;from, to, 'Value Range'&lt;BR /&gt;-999999, 0, "Negative/Zero"&lt;BR /&gt;0.01, 250, "0-250"&lt;BR /&gt;250.01, 500, "250-500"&lt;BR /&gt;500.01, 1000, "500-1000"&lt;BR /&gt;1000.01, 2500, "1000-2500"&lt;BR /&gt;2500.01, 5000, "2500-5000"&lt;BR /&gt;5000.01, 1000000000, "5000+" ];&lt;/P&gt;&lt;P&gt;Data:&lt;BR /&gt;Load "Value"&lt;BR /&gt;FROM [lib://Surveyor Job Ledger Load Files/SJL*]&lt;BR /&gt;(ooxml, embedded labels, header is 6 lines, table is SJL);&lt;/P&gt;&lt;P&gt;Left Join (Data)&lt;BR /&gt;IntervalMatch (Value)&lt;BR /&gt;Load from, to&lt;BR /&gt;Resident Test;&lt;BR /&gt;Left Join (Data)&lt;BR /&gt;Load * Resident Test;&lt;BR /&gt;Drop Table Test&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;This script loaded fine, but I am getting Total value of £8 million, when it should be around £1 million.&amp;nbsp;&lt;/P&gt;&lt;P&gt;If I just do a simple table I get the total value of £1,173,778 which is correct, however if I do a table with the Value ranges, It's giving a total value of £8,281,960.28.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="vaklue.PNG" style="width: 811px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/14366iF290D512C229A61C/image-size/large?v=v2&amp;amp;px=999" role="button" title="vaklue.PNG" alt="vaklue.PNG" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Please help! I feel like I'm going mad!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;</description>
    <pubDate>Tue, 25 Jun 2019 14:18:34 GMT</pubDate>
    <dc:creator>NemoAndStitch22</dc:creator>
    <dc:date>2019-06-25T14:18:34Z</dc:date>
    <item>
      <title>Interval Match/inline - Vlookup true</title>
      <link>https://community.qlik.com/t5/App-Development/Interval-Match-inline-Vlookup-true/m-p/1595726#M43852</link>
      <description>&lt;P&gt;Hiya,&lt;/P&gt;&lt;P&gt;I'm essentially trying to do a vlookup true in Qlikesense based on a value column in my main Data load file.&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have a Value range Mapping with the info.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Value Brackets.PNG" style="width: 261px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/14358iFD5BD9050D96D644/image-size/large?v=v2&amp;amp;px=999" role="button" title="Value Brackets.PNG" alt="Value Brackets.PNG" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;I'm unable to make Interval Match work, this was my script:&lt;/P&gt;&lt;P&gt;[Value Range]:&lt;BR /&gt;LOAD&lt;BR /&gt;['Negative/Zero'],&lt;BR /&gt;['0-250'],&lt;BR /&gt;['251-500'],&lt;BR /&gt;['501-1000'],&lt;BR /&gt;['1001-2500'],&lt;BR /&gt;['2501-5000'],&lt;BR /&gt;['5000+'];&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;LOAD&lt;BR /&gt;Value,&lt;BR /&gt;"Value Range Category"&lt;BR /&gt;FROM [lib://Lookup/Lookup.xlsx]&lt;BR /&gt;(ooxml, embedded labels, table is [Value Range]);&lt;/P&gt;&lt;P&gt;[interval match table]:&lt;BR /&gt;IntervalMatch([Value Range])&lt;BR /&gt;Load&lt;/P&gt;&lt;P&gt;['0-250'],&lt;BR /&gt;['251-500'],&lt;BR /&gt;['501-1000'],&lt;BR /&gt;['1001-2500'],&lt;BR /&gt;['2501-5000'],&lt;BR /&gt;['5000+']&lt;BR /&gt;Resident ['Value Range'];&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I then searched some more and found out about an incline load, so have removed the above script for this:&lt;/P&gt;&lt;P&gt;Test:&lt;BR /&gt;Load * Inline [&lt;BR /&gt;from, to, 'Value Range'&lt;BR /&gt;-999999, 0, "Negative/Zero"&lt;BR /&gt;0.01, 250, "0-250"&lt;BR /&gt;250.01, 500, "250-500"&lt;BR /&gt;500.01, 1000, "500-1000"&lt;BR /&gt;1000.01, 2500, "1000-2500"&lt;BR /&gt;2500.01, 5000, "2500-5000"&lt;BR /&gt;5000.01, 1000000000, "5000+" ];&lt;/P&gt;&lt;P&gt;Data:&lt;BR /&gt;Load "Value"&lt;BR /&gt;FROM [lib://Surveyor Job Ledger Load Files/SJL*]&lt;BR /&gt;(ooxml, embedded labels, header is 6 lines, table is SJL);&lt;/P&gt;&lt;P&gt;Left Join (Data)&lt;BR /&gt;IntervalMatch (Value)&lt;BR /&gt;Load from, to&lt;BR /&gt;Resident Test;&lt;BR /&gt;Left Join (Data)&lt;BR /&gt;Load * Resident Test;&lt;BR /&gt;Drop Table Test&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;This script loaded fine, but I am getting Total value of £8 million, when it should be around £1 million.&amp;nbsp;&lt;/P&gt;&lt;P&gt;If I just do a simple table I get the total value of £1,173,778 which is correct, however if I do a table with the Value ranges, It's giving a total value of £8,281,960.28.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="vaklue.PNG" style="width: 811px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/14366iF290D512C229A61C/image-size/large?v=v2&amp;amp;px=999" role="button" title="vaklue.PNG" alt="vaklue.PNG" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Please help! I feel like I'm going mad!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;</description>
      <pubDate>Tue, 25 Jun 2019 14:18:34 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Interval-Match-inline-Vlookup-true/m-p/1595726#M43852</guid>
      <dc:creator>NemoAndStitch22</dc:creator>
      <dc:date>2019-06-25T14:18:34Z</dc:date>
    </item>
  </channel>
</rss>

