<?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 Find Rate in a different table in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Find-Rate-in-a-different-table/m-p/175697#M44019</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The two zip codes are indeed a range. Indeed a pair "FromZip1 to Zip2)All zip codes from the same carrier to the same destination are valid between the range. In the example the ZIP is 20 and should fall into the range of DE, DHL between 19 and 25. Outcome will be the 11 Euro's.&lt;/P&gt;&lt;P&gt;Basically all ZIP codes that are valid in that range are charged 11 Euro's&lt;/P&gt;&lt;P&gt;1.I tried the Interval Match, no result. But not sure why&lt;/P&gt;&lt;P&gt;2.Not an option,&lt;/P&gt;&lt;P&gt;3.It should be possible to match both tables and look into zip range for defining the last result.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 19 Jan 2011 16:44:34 GMT</pubDate>
    <dc:creator />
    <dc:date>2011-01-19T16:44:34Z</dc:date>
    <item>
      <title>Find Rate in a different table</title>
      <link>https://community.qlik.com/t5/QlikView/Find-Rate-in-a-different-table/m-p/175695#M44017</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P style="margin: 0cm 0cm 0pt;"&gt;Hello!&lt;/P&gt;&lt;P style="margin: 0cm 0cm 0pt;"&gt;I have the following problem:&lt;/P&gt;&lt;P style="margin: 0cm 0cm 0pt;"&gt;A Shipping Table that contains shipping information (unique records needs to be hooked up to an Rate table with &amp;gt; 100 records to find the Rate that should be calculated (used) for that shipment.&lt;/P&gt;&lt;P style="margin: 0cm 0cm 0pt;"&gt;&lt;/P&gt;&lt;P style="margin: 0cm 0cm 0pt;"&gt;The following fields are in both tables:&lt;/P&gt;&lt;P style="margin: 0cm 0cm 0pt;"&gt;Country, Carrier, Number of Pallets and Zipcode information.&lt;/P&gt;&lt;P style="margin: 0cm 0cm 0pt;"&gt;&lt;/P&gt;&lt;P style="margin: 0cm 0cm 0pt;"&gt;The result from the shipping table is as follows:&lt;/P&gt;&lt;P style="margin: 0cm 0cm 0pt;"&gt;&lt;B style="mso-bidi-font-weight: normal;"&gt;RecordID&lt;/B&gt; Country Carrier N0 Pallets ZIP&lt;/P&gt;&lt;P style="margin: 0cm 0cm 0pt;"&gt;1 DE DHL 10 20&lt;/P&gt;&lt;P style="margin: 0cm 0cm 0pt;"&gt;2 FR GEO 5 41&lt;/P&gt;&lt;P style="margin: 0cm 0cm 0pt;"&gt;&lt;/P&gt;&lt;P style="margin: 0cm 0cm 0pt;"&gt;The Rate table looks as follows:&lt;/P&gt;&lt;P style="margin: 0cm 0cm 0pt;"&gt;&lt;B style="mso-bidi-font-weight: normal;"&gt;RecordID&lt;/B&gt; Country Carrier N0 Pallets ZIP1 ZIP2 Charge&lt;/P&gt;&lt;P style="margin: 0cm 0cm 0pt;"&gt;1 DE DHL 1 1 5 10&lt;/P&gt;&lt;P style="margin: 0cm 0cm 0pt;"&gt;2 DE DHL 1 6 18 8&lt;/P&gt;&lt;P style="margin: 0cm 0cm 0pt;"&gt;3 DE DHL 1 19 25 11&lt;/P&gt;&lt;P style="margin: 0cm 0cm 0pt;"&gt;ETC&lt;/P&gt;&lt;P style="margin: 0cm 0cm 0pt;"&gt;&lt;/P&gt;&lt;P style="margin: 0cm 0cm 0pt;"&gt;The rest of the table is till 33 pallets per country based on Zipcodes (different rate)&lt;/P&gt;&lt;P style="margin: 0cm 0cm 0pt;"&gt;&lt;/P&gt;&lt;P style="margin: 0cm 0cm 0pt;"&gt;In mine example I want to look for the rate of recorded 1:&lt;/P&gt;&lt;P style="margin: 0cm 0cm 0pt;"&gt;I already defined a unique Key based on Country+Carrier+ Number of Pallets but that still leaves more than 1 record to look for the ZipCode into Zip1 and Zip2 from the Rate table&lt;/P&gt;&lt;P style="margin: 0cm 0cm 0pt;"&gt;&lt;/P&gt;&lt;P style="margin: 0cm 0cm 0pt;"&gt;How can I easy solve this problem? Help is more than appreciated!&lt;/P&gt;&lt;P style="margin: 0cm 0cm 0pt;"&gt;&lt;/P&gt;&lt;P style="margin: 0cm 0cm 0pt;"&gt;Regards,&lt;/P&gt;&lt;P style="margin: 0cm 0cm 0pt;"&gt;&lt;/P&gt;&lt;P style="margin: 0cm 0cm 0pt;"&gt;Thijme&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 19 Jan 2011 15:01:36 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Find-Rate-in-a-different-table/m-p/175695#M44017</guid>
      <dc:creator />
      <dc:date>2011-01-19T15:01:36Z</dc:date>
    </item>
    <item>
      <title>Find Rate in a different table</title>
      <link>https://community.qlik.com/t5/QlikView/Find-Rate-in-a-different-table/m-p/175696#M44018</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;What's the meaning of the two ZIP codes - is it a range (all ZIP codes inside the range get this rate) ? Is it a pair of "From ZIP - To ZIP" for the shipping origin and shipping destination ? Is it simply a choice of 2 zip codes, each one getting the same rate?&lt;/P&gt;&lt;P&gt;Depending on what it is, you need to modify your data structure and reflect the rules:&lt;/P&gt;&lt;P&gt;1. For a range, you can use INTERVALMATCH to link a single ZIP code to a range of ZIP codes (assuming that they are all numeric).&lt;/P&gt;&lt;P&gt;2. For a choice of 2 zip codes, simply reload your table twice ("normalize") to reduce the 2 fields into 1.&lt;/P&gt;&lt;P&gt;3. For a set of "from" and "to", you don't seem to have enough information in your transactions, so I'm not sure how to approach it...&lt;/P&gt;&lt;P&gt;But in any case, you need to determine the meaning of having 2 ZIP codes...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;DIV id="refHTML"&gt;&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 19 Jan 2011 16:08:59 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Find-Rate-in-a-different-table/m-p/175696#M44018</guid>
      <dc:creator>Oleg_Troyansky</dc:creator>
      <dc:date>2011-01-19T16:08:59Z</dc:date>
    </item>
    <item>
      <title>Find Rate in a different table</title>
      <link>https://community.qlik.com/t5/QlikView/Find-Rate-in-a-different-table/m-p/175697#M44019</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The two zip codes are indeed a range. Indeed a pair "FromZip1 to Zip2)All zip codes from the same carrier to the same destination are valid between the range. In the example the ZIP is 20 and should fall into the range of DE, DHL between 19 and 25. Outcome will be the 11 Euro's.&lt;/P&gt;&lt;P&gt;Basically all ZIP codes that are valid in that range are charged 11 Euro's&lt;/P&gt;&lt;P&gt;1.I tried the Interval Match, no result. But not sure why&lt;/P&gt;&lt;P&gt;2.Not an option,&lt;/P&gt;&lt;P&gt;3.It should be possible to match both tables and look into zip range for defining the last result.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 19 Jan 2011 16:44:34 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Find-Rate-in-a-different-table/m-p/175697#M44019</guid>
      <dc:creator />
      <dc:date>2011-01-19T16:44:34Z</dc:date>
    </item>
    <item>
      <title>Find Rate in a different table</title>
      <link>https://community.qlik.com/t5/QlikView/Find-Rate-in-a-different-table/m-p/175698#M44020</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Post can be closed.&lt;/P&gt;&lt;P&gt;I used a solution earlier posted;&lt;/P&gt;&lt;P&gt;&lt;A href="http://community.qlik.com/forums/p/16046/62339.aspx"&gt;http://community.qlik.com/forums/p/16046/62339.aspx&lt;/A&gt;&lt;/P&gt;&lt;P&gt;I modified it and it works Great!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks &lt;A href="http://community.qlik.com/members/robwunderlich/default.aspx"&gt;&lt;STRONG&gt;Rob Wunderlich&lt;/STRONG&gt;&lt;/A&gt; !&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 25 Jan 2011 12:59:21 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Find-Rate-in-a-different-table/m-p/175698#M44020</guid>
      <dc:creator />
      <dc:date>2011-01-25T12:59:21Z</dc:date>
    </item>
  </channel>
</rss>

