<?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 intervalmatch? in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/intervalmatch/m-p/309214#M1199167</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Luis&lt;/P&gt;&lt;P&gt;intervalmatch matchin table1 and temp tables.&lt;/P&gt;&lt;P&gt;so table1 is like:&lt;/P&gt;&lt;P&gt;id, type, pack_weight, weight, start, end&lt;/P&gt;&lt;P&gt;01, express, 0.2, 0.5, 0.1, 0.5&lt;/P&gt;&lt;P&gt;02, normal, 0.9, 1, 0.6, 1&lt;/P&gt;&lt;P&gt;.....&lt;/P&gt;&lt;P&gt;but in table2 there isn't 0.5kg in express type that's why its showing null.&lt;/P&gt;&lt;P&gt;i need to match express type begins 1kg from temp table.&lt;/P&gt;&lt;P&gt;Also there is some null inserted end of table after i used intervalmatch. And i want to use straight chart and sum(cost) but end of chart there is null and its add some costs.&lt;/P&gt;&lt;P&gt;Sorry for my bad explain and English.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 28 Feb 2011 15:53:51 GMT</pubDate>
    <dc:creator />
    <dc:date>2011-02-28T15:53:51Z</dc:date>
    <item>
      <title>intervalmatch?</title>
      <link>https://community.qlik.com/t5/QlikView/intervalmatch/m-p/309210#M1199163</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hello all.&lt;/P&gt;&lt;P&gt;im new in QV please help.&lt;/P&gt;&lt;P&gt;i have 2 table.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;table1:&lt;/P&gt;&lt;P&gt;load * inline [&lt;/P&gt;&lt;P&gt;id, pack_weight, type&lt;/P&gt;&lt;P&gt;01, 0.2, express&lt;/P&gt;&lt;P&gt;02, 0.9, normal&lt;/P&gt;&lt;P&gt;03, 1.2, normal&lt;/P&gt;&lt;P&gt;....&lt;/P&gt;&lt;P&gt;];&lt;/P&gt;&lt;P&gt;table2:&lt;/P&gt;&lt;P&gt;load * inline [&lt;/P&gt;&lt;P&gt;type, weight, cost&lt;/P&gt;&lt;P&gt;normal, 05, 5&lt;/P&gt;&lt;P&gt;normal, 1, 10&lt;/P&gt;&lt;P&gt;normal, 1.5, 15&lt;/P&gt;&lt;P&gt;....&lt;/P&gt;&lt;P&gt;express, 1, 15&lt;/P&gt;&lt;P&gt;express, 2, 30&lt;/P&gt;&lt;P&gt;express, 3, 35&lt;/P&gt;&lt;P&gt;....&lt;/P&gt;&lt;P&gt;];&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;then i used intervalmatch to match weights.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;match:&lt;/P&gt;&lt;P&gt;load * inline [&lt;/P&gt;&lt;P&gt;start,end,weight&lt;/P&gt;&lt;P&gt;0.1,0.5,0.5&lt;/P&gt;&lt;P&gt;0.6,1,1&lt;/P&gt;&lt;P&gt;1.1,1.5,1.5&lt;/P&gt;&lt;P&gt;.....&lt;/P&gt;&lt;P&gt;];&lt;/P&gt;&lt;P&gt;temp:&lt;/P&gt;&lt;P&gt;intervalmatch(pack_weight) load start,end resident match;&lt;/P&gt;&lt;P&gt;left join(temp) load * resident match;&lt;/P&gt;&lt;P&gt;drop table match;&lt;/P&gt;&lt;P&gt;left join(table1) load * resident temp;&lt;/P&gt;&lt;P&gt;drop table temp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;as u can see express weight start from 1kg. so its give me null under 0.5kg pack_weights.&lt;/P&gt;&lt;P&gt;what should i do? help please.&lt;/P&gt;&lt;P&gt;ps: i dont want to change or edit table2's values.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 28 Feb 2011 13:03:13 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/intervalmatch/m-p/309210#M1199163</guid>
      <dc:creator />
      <dc:date>2011-02-28T13:03:13Z</dc:date>
    </item>
    <item>
      <title>intervalmatch?</title>
      <link>https://community.qlik.com/t5/QlikView/intervalmatch/m-p/309211#M1199164</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;[View:http://community.qlik.com/cfs-file.ashx/__key/CommunityServer.Components.UserFiles/00.00.04.88.64/intervalmatch-test.qvw]&lt;/P&gt;&lt;P&gt;here is the sample.&lt;/P&gt;&lt;P&gt;&lt;A href="http://community.qlik.com/cfs-file.ashx/__key/CommunityServer.Discussions.Components.Files/674/3513.Snap1.jpg"&gt;&lt;IMG alt="" border="0" src="http://community.qlik.com/resized-image.ashx/__size/550x0/__key/CommunityServer.Discussions.Components.Files/674/3513.Snap1.jpg" /&gt;&lt;/A&gt;&lt;/P&gt;&lt;P&gt;also there is some nulls&lt;/P&gt;&lt;P&gt;Please help this.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 28 Feb 2011 14:27:41 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/intervalmatch/m-p/309211#M1199164</guid>
      <dc:creator />
      <dc:date>2011-02-28T14:27:41Z</dc:date>
    </item>
    <item>
      <title>intervalmatch?</title>
      <link>https://community.qlik.com/t5/QlikView/intervalmatch/m-p/309212#M1199165</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I'm not understandind your case, please see image attached&lt;/P&gt;&lt;P&gt;Null ok, do you must to use values for Cost or option check for omitted rows&lt;/P&gt;&lt;P&gt;Good luck, Luis&lt;/P&gt;&lt;P&gt;&lt;A href="http://community.qlik.com/cfs-file.ashx/__key/CommunityServer.Discussions.Components.Files/674/3326.case.png"&gt;&lt;IMG alt="" border="0" src="http://community.qlik.com/resized-image.ashx/__size/550x0/__key/CommunityServer.Discussions.Components.Files/674/3326.case.png" /&gt;&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 28 Feb 2011 15:16:16 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/intervalmatch/m-p/309212#M1199165</guid>
      <dc:creator>llauses243</dc:creator>
      <dc:date>2011-02-28T15:16:16Z</dc:date>
    </item>
    <item>
      <title>intervalmatch?</title>
      <link>https://community.qlik.com/t5/QlikView/intervalmatch/m-p/309213#M1199166</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Table 2 &amp;amp; Temp both have a field named Weight. Because of this, when it does a join, it will match on that field name and only do the exact matches. This wilI lose the functionality of using an IntervalMatch. I would change the name in the Temp table to something like Category_Weight. It should resolve this.&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Aline&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 28 Feb 2011 15:42:46 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/intervalmatch/m-p/309213#M1199166</guid>
      <dc:creator />
      <dc:date>2011-02-28T15:42:46Z</dc:date>
    </item>
    <item>
      <title>intervalmatch?</title>
      <link>https://community.qlik.com/t5/QlikView/intervalmatch/m-p/309214#M1199167</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Luis&lt;/P&gt;&lt;P&gt;intervalmatch matchin table1 and temp tables.&lt;/P&gt;&lt;P&gt;so table1 is like:&lt;/P&gt;&lt;P&gt;id, type, pack_weight, weight, start, end&lt;/P&gt;&lt;P&gt;01, express, 0.2, 0.5, 0.1, 0.5&lt;/P&gt;&lt;P&gt;02, normal, 0.9, 1, 0.6, 1&lt;/P&gt;&lt;P&gt;.....&lt;/P&gt;&lt;P&gt;but in table2 there isn't 0.5kg in express type that's why its showing null.&lt;/P&gt;&lt;P&gt;i need to match express type begins 1kg from temp table.&lt;/P&gt;&lt;P&gt;Also there is some null inserted end of table after i used intervalmatch. And i want to use straight chart and sum(cost) but end of chart there is null and its add some costs.&lt;/P&gt;&lt;P&gt;Sorry for my bad explain and English.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 28 Feb 2011 15:53:51 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/intervalmatch/m-p/309214#M1199167</guid>
      <dc:creator />
      <dc:date>2011-02-28T15:53:51Z</dc:date>
    </item>
    <item>
      <title>intervalmatch?</title>
      <link>https://community.qlik.com/t5/QlikView/intervalmatch/m-p/309215#M1199168</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you Aline,&lt;/P&gt;&lt;P&gt;Well i lost few nulls. But its not solve my problem fully. anyway thanks again.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 01 Mar 2011 15:31:49 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/intervalmatch/m-p/309215#M1199168</guid>
      <dc:creator />
      <dc:date>2011-03-01T15:31:49Z</dc:date>
    </item>
    <item>
      <title>intervalmatch?</title>
      <link>https://community.qlik.com/t5/QlikView/intervalmatch/m-p/309216#M1199169</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I looked at this more closely. You are getting nulls because you are trying to do this with 2 dimensions Weight &amp;amp; Type. Notice that the nulls fall where there is not a definition for the combination of weight &amp;amp; type (ie: 0.2 falls into .5, but Express does not have anything defined for that). I would change your IntervalMatch statement to and Extended match.&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Aline&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 02 Mar 2011 19:17:09 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/intervalmatch/m-p/309216#M1199169</guid>
      <dc:creator />
      <dc:date>2011-03-02T19:17:09Z</dc:date>
    </item>
    <item>
      <title>intervalmatch?</title>
      <link>https://community.qlik.com/t5/QlikView/intervalmatch/m-p/309217#M1199170</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Aline.&lt;/P&gt;&lt;P&gt;Thanks for your time. Problem is solved.&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;fact:&lt;BR /&gt;load * inline [&lt;BR /&gt;id, type, weight&lt;BR /&gt;1047, normal, 0.4&lt;BR /&gt;2025, express, 0.3&lt;BR /&gt;1082, normal, 1.8&lt;BR /&gt;2093, express, 2.1&lt;BR /&gt;];&lt;BR /&gt;&lt;BR /&gt;weight_for_express:&lt;BR /&gt;load * inline [&lt;BR /&gt;start, end, weight_sort, type&lt;BR /&gt;0.1, 0.5, 0.5, express&lt;BR /&gt;0.6, 1, 1, express&lt;BR /&gt;1.1, 1.5, 1.5, express&lt;BR /&gt;1.6, 5, 5, express&lt;BR /&gt;];&lt;BR /&gt;&lt;BR /&gt;weight_for_normal:&lt;BR /&gt;load * inline [&lt;BR /&gt;start, end, weight_sort, type&lt;BR /&gt;0.1, 1, 1, normal&lt;BR /&gt;1.1, 2, 2, normal&lt;BR /&gt;2.1, 3, 3, normal&lt;BR /&gt;3.1, 4, 4, normal&lt;BR /&gt;];&lt;BR /&gt;&lt;BR /&gt;FactsWithWeights: // This table will be the final one.&lt;BR /&gt;INTERVALMATCH (weight, type) LOAD&lt;BR /&gt; start,&lt;BR /&gt; end,&lt;BR /&gt; type&lt;BR /&gt;RESIDENT weight_for_express;&lt;BR /&gt;LEFT JOIN LOAD *&lt;BR /&gt;RESIDENT fact;&lt;BR /&gt;&lt;BR /&gt;DROP TABLE fact;&lt;BR /&gt;DROP TABLE weight_for_express;&lt;BR /&gt;&lt;/PRE&gt;&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;BR /&gt; &lt;P&gt;Thanks to Miguel.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 03 Mar 2011 11:14:21 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/intervalmatch/m-p/309217#M1199170</guid>
      <dc:creator />
      <dc:date>2011-03-03T11:14:21Z</dc:date>
    </item>
  </channel>
</rss>

