<?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 Finding a value based on multiple criteria in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Finding-a-value-based-on-multiple-criteria/m-p/931349#M949189</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;&lt;/P&gt;&lt;P&gt;I am building an analysis of shipping costs for a company as my first project.&lt;/P&gt;&lt;P&gt;My target is to provide accurate shipping and handling costs on line and consignment level for all parcels sent by the company.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm 90% done and happy with getting nice and consistent results..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But there is one problem I can't solve by myself or google.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The company is using a variety of shipping agents, who offer a variety of shipping services, to a variety of countries, for a variety of uneven weight ranges. These costs are not in the system, they reside in excel/pdf/email files.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have got all the price lists together and created a table to cater for all service-weight-country-price combinations (which in total is 2,5k lines long)&lt;/P&gt;&lt;P&gt;Please find the xlsx file with an example range attached to this post.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now in my facts data I have worked out shipping agent service, country and calculated weight for each consignment.. Now I need to find the shipping cost on that table depending on those 3 factors. &lt;/P&gt;&lt;P&gt;Any help? &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt; I'm lost.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I was hoping to do that in the script rather than set analysis, however any solution which will allow me to deliver will be good.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 15 Dec 2015 11:51:16 GMT</pubDate>
    <dc:creator />
    <dc:date>2015-12-15T11:51:16Z</dc:date>
    <item>
      <title>Finding a value based on multiple criteria</title>
      <link>https://community.qlik.com/t5/QlikView/Finding-a-value-based-on-multiple-criteria/m-p/931349#M949189</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;&lt;/P&gt;&lt;P&gt;I am building an analysis of shipping costs for a company as my first project.&lt;/P&gt;&lt;P&gt;My target is to provide accurate shipping and handling costs on line and consignment level for all parcels sent by the company.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm 90% done and happy with getting nice and consistent results..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But there is one problem I can't solve by myself or google.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The company is using a variety of shipping agents, who offer a variety of shipping services, to a variety of countries, for a variety of uneven weight ranges. These costs are not in the system, they reside in excel/pdf/email files.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have got all the price lists together and created a table to cater for all service-weight-country-price combinations (which in total is 2,5k lines long)&lt;/P&gt;&lt;P&gt;Please find the xlsx file with an example range attached to this post.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now in my facts data I have worked out shipping agent service, country and calculated weight for each consignment.. Now I need to find the shipping cost on that table depending on those 3 factors. &lt;/P&gt;&lt;P&gt;Any help? &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt; I'm lost.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I was hoping to do that in the script rather than set analysis, however any solution which will allow me to deliver will be good.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 15 Dec 2015 11:51:16 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Finding-a-value-based-on-multiple-criteria/m-p/931349#M949189</guid>
      <dc:creator />
      <dc:date>2015-12-15T11:51:16Z</dc:date>
    </item>
    <item>
      <title>Re: Finding a value based on multiple criteria</title>
      <link>https://community.qlik.com/t5/QlikView/Finding-a-value-based-on-multiple-criteria/m-p/931350#M949190</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;If I understand you correctly you have two tables that have three fields in common. You can simply use these fields to link the tables by making sure the fields have the same case sensitive names in both tables. What you can also do is the create a key field in both tables from these three fields so the two tables are linked using that new key field.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Facts:&lt;/P&gt;&lt;P&gt;LOAD&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ...some fields...&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ShippingAgentService,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Country,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Weight,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Autonumber(ShippingAgentService&lt;SPAN style="font-size: 13.3333px;"&gt;&amp;amp;'|'&amp;amp;&lt;/SPAN&gt;Country&lt;SPAN style="font-size: 13.3333px;"&gt;&amp;amp;'|'&amp;amp;&lt;/SPAN&gt;Weight) as %KEY&lt;/P&gt;&lt;P&gt;FROM ...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;PriceList:&lt;/P&gt;&lt;P&gt;LOAD&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ShippingAgentService,&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Country,&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Weight,&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Autonumber(ShippingAgentService&lt;SPAN style="font-size: 13.3333px;"&gt;&amp;amp;'|'&amp;amp;&lt;/SPAN&gt;Country&lt;SPAN style="font-size: 13.3333px;"&gt;&amp;amp;'|'&amp;amp;&lt;/SPAN&gt;Weight) as %KEY,&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Price&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;FROM ...the_excel_file..&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;DROP FIELDS ShippingAgentService, Country,&amp;nbsp; Weight FROM TABLE Facts;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;EM&gt;edit: fixed autonumber lines&lt;/EM&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 15 Dec 2015 16:00:00 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Finding-a-value-based-on-multiple-criteria/m-p/931350#M949190</guid>
      <dc:creator>Gysbert_Wassenaar</dc:creator>
      <dc:date>2015-12-15T16:00:00Z</dc:date>
    </item>
    <item>
      <title>Re: Finding a value based on multiple criteria</title>
      <link>https://community.qlik.com/t5/QlikView/Finding-a-value-based-on-multiple-criteria/m-p/931351#M949191</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;Thank you very much for your reply.&lt;/P&gt;&lt;P&gt;I have tried AutoNumber however it seems to be only accepting 1 or 2 parameters, and we just tried using 3 &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/sad.png" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now, assuming we will successfully create a key by connecting fields, the weight is a bit of a problem.&lt;/P&gt;&lt;P&gt;A parcel can have any weight, and shipping prices have weight brackets - which will never have an exact match.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The Facts table has exact weight value, the table we look up in has weight brackets - which are different for each shipping agent service.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Example:&lt;/P&gt;&lt;P&gt;A parcel weight is 645g&lt;/P&gt;&lt;P&gt;One shipping agent has weight brackets with one price for parcels up to 1000g for £1 and another for parcels above 2000g for £2&lt;/P&gt;&lt;P&gt;Parcel falls in 1st bracket so the price is £1&lt;/P&gt;&lt;P&gt;Another shipping agent will have different weight brackets, let's say each 250g for £1,&amp;nbsp; 500g for £2 and&amp;nbsp; 750g for £3&lt;/P&gt;&lt;P&gt;So, parcel being withing the 750g bracket would cost £3..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any ideas on how this can be looked up?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I had an idea of rounding up the parcel weight to nearest 250g and creating price entries for each service and country for each 250g bracket in my price table.. however this seems to be a lot of work, and will probably prove to be a real nightmare when updating prices.. &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 15 Dec 2015 16:41:58 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Finding-a-value-based-on-multiple-criteria/m-p/931351#M949191</guid>
      <dc:creator />
      <dc:date>2015-12-15T16:41:58Z</dc:date>
    </item>
    <item>
      <title>Re: Finding a value based on multiple criteria</title>
      <link>https://community.qlik.com/t5/QlikView/Finding-a-value-based-on-multiple-criteria/m-p/931352#M949192</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Duh, yeah, my mistake. The autonumberhash functions take lots of parameters. The autonumber function needs a concatenated string and optionally a name for the internal counter. Try Autonumber(ShippingAgentService &amp;amp; '|' &amp;amp; Country &amp;amp; '|' &amp;amp; Weight) as %KEY&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 15 Dec 2015 17:03:26 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Finding-a-value-based-on-multiple-criteria/m-p/931352#M949192</guid>
      <dc:creator>Gysbert_Wassenaar</dc:creator>
      <dc:date>2015-12-15T17:03:26Z</dc:date>
    </item>
    <item>
      <title>Re: Finding a value based on multiple criteria</title>
      <link>https://community.qlik.com/t5/QlikView/Finding-a-value-based-on-multiple-criteria/m-p/931353#M949193</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Happy days!&lt;/P&gt;&lt;P&gt;So I have a key based on &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; AutoNumber([Service]&amp;amp;'|'&amp;amp;[Country]&amp;amp;'|'&amp;amp;[Weight]) as %PRICEKEY,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I understand that a key is created for every combination of existing values on the table with shipments&lt;/P&gt;&lt;P&gt;and another key like that is created for every combination of existing values on the table with pricing&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;one last issue remains here - which I had described in my post above&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Weights in table with consignments are actual consignment weight.&lt;/P&gt;&lt;P&gt;and weights on pricing table are ranges. So let's say for up to 1000g price is £1, up to 2000g price is £2 so in 99% there will be no match on the key..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So what I have now is a huge step forward to where I were, however how can I match these further?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 15 Dec 2015 18:11:06 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Finding-a-value-based-on-multiple-criteria/m-p/931353#M949193</guid>
      <dc:creator />
      <dc:date>2015-12-15T18:11:06Z</dc:date>
    </item>
    <item>
      <title>Re: Finding a value based on multiple criteria</title>
      <link>https://community.qlik.com/t5/QlikView/Finding-a-value-based-on-multiple-criteria/m-p/931354#M949194</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Ok, so basically you need to match the weight of a 'service' with an interval of weight in the pricelist. That's what the intervalmatch function can do for you. See this blog post for more information: &lt;A href="https://community.qlik.com/qlik-blogpost/3037"&gt;IntervalMatch&lt;/A&gt;. I think you'll need to use the extended syntax of the intervalmatch function and use Service and Country as additional parameters to make sure you match the weight interval with the correct Service and Country combination. Something like this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Facts:&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;LOAD&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ...some fields...&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ShippingAgentService,&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Country,&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Weight&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;FROM ...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;PriceList:&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;LOAD&lt;/P&gt;&lt;P style="font-size: 13.3333px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ShippingAgentService,&lt;/P&gt;&lt;P style="font-size: 13.3333px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Country,&lt;/P&gt;&lt;P style="font-size: 13.3333px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Weight_From,&lt;/P&gt;&lt;P style="font-size: 13.3333px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Weight_To,&lt;/P&gt;&lt;P style="font-size: 13.3333px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Price&lt;/P&gt;&lt;P style="font-size: 13.3333px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;FROM ...the_excel_file..&lt;/P&gt;&lt;P style="font-size: 13.3333px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;WeightIntervals:&lt;/P&gt;&lt;P style="font-size: 13.3333px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;IntervalMatch(Weight,&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;ShippingAgentService,&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;Country)&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;SPAN style="color: #3d3d3d; font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;LOAD &lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Weight_From,&lt;/P&gt;&lt;P style="font-size: 13.3333px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Weight_To,&lt;/P&gt;&lt;P style="font-size: 13.3333px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ShippingAgentService,&lt;/P&gt;&lt;P style="font-size: 13.3333px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Country&lt;/P&gt;&lt;P style="font-size: 13.3333px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Resident PriceList;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 16 Dec 2015 17:05:00 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Finding-a-value-based-on-multiple-criteria/m-p/931354#M949194</guid>
      <dc:creator>Gysbert_Wassenaar</dc:creator>
      <dc:date>2015-12-16T17:05:00Z</dc:date>
    </item>
    <item>
      <title>Re: Finding a value based on multiple criteria</title>
      <link>https://community.qlik.com/t5/QlikView/Finding-a-value-based-on-multiple-criteria/m-p/931355#M949195</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;code:&lt;/P&gt;&lt;BLOCKQUOTE&gt;&lt;TABLE border="1"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;
&lt;P&gt;Facts:&lt;/P&gt;
&lt;P&gt;LOAD OrderNo,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; ShippingAgentService,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Country,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Weight&lt;/P&gt;
&lt;P&gt;FROM&lt;/P&gt;
&lt;P&gt;Parcels.xlsx&lt;/P&gt;
&lt;P&gt;(ooxml, embedded labels, table is Sheet1);&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;PriceList:&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;LOAD ShippingAgentService,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Country,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Weight_From,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Weight_To,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Price&lt;/P&gt;
&lt;P&gt;FROM&lt;/P&gt;
&lt;P&gt;PriceList.xlsx&lt;/P&gt;
&lt;P&gt;(ooxml, embedded labels, table is Sheet1);&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;WeightIntervals:&lt;/P&gt;
&lt;P&gt;IntervalMatch(Weight,ShippingAgentService,Country)&lt;/P&gt;
&lt;P&gt;LOAD&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Weight_From,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Weight_To,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; ShippingAgentService,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Country&lt;/P&gt;
&lt;P&gt;Resident PriceList;&lt;/P&gt;

&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;Creates this:&lt;/P&gt;&lt;P&gt;&lt;IMG alt="1.jpg" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/109411_1.jpg" style="height: 283px; width: 620px;" /&gt;&lt;/P&gt;&lt;P&gt;And does not give me the price related to the OrderNo&lt;/P&gt;&lt;P&gt;I've tried various ways of doing that and I even had some success, however the pricing brought in was wrong.&lt;/P&gt;&lt;P&gt;I have attached the qvw file and 2 files with mock data I was using to figure out how it works.. &lt;span class="lia-unicode-emoji" title=":confused_face:"&gt;😕&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any ideas?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 18 Dec 2015 11:51:21 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Finding-a-value-based-on-multiple-criteria/m-p/931355#M949195</guid>
      <dc:creator />
      <dc:date>2015-12-18T11:51:21Z</dc:date>
    </item>
    <item>
      <title>Re: Finding a value based on multiple criteria</title>
      <link>https://community.qlik.com/t5/QlikView/Finding-a-value-based-on-multiple-criteria/m-p/931356#M949196</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Ok, try joining the lot to the fact table:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE __default_attr="plain" __jive_macro_name="code" class="jive_macro_code jive_text_macro _jivemacro_uid_14504617226424636" jivemacro_uid="_14504617226424636"&gt;
&lt;P&gt;Facts:&lt;/P&gt;
&lt;P&gt;LOAD OrderNo,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; ShippingAgentService,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Country,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Weight&lt;/P&gt;
&lt;P&gt;FROM&lt;/P&gt;
&lt;P&gt;comm196665_Parcels.xlsx&lt;/P&gt;
&lt;P&gt;(ooxml, embedded labels, table is Sheet1);&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;PriceList:&lt;/P&gt;
&lt;P&gt;LOAD ShippingAgentService,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Country,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Weight_From,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Weight_To,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Price&lt;/P&gt;
&lt;P&gt;FROM&lt;/P&gt;
&lt;P&gt;comm196665_PriceList.xlsx&lt;/P&gt;
&lt;P&gt;(ooxml, embedded labels, table is Sheet1);&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;Join (Facts)&lt;/P&gt;
&lt;P&gt;IntervalMatch(Weight,ShippingAgentService,Country)&lt;/P&gt;
&lt;P&gt;LOAD&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Weight_From,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Weight_To,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; ShippingAgentService,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Country&lt;/P&gt;
&lt;P&gt;Resident PriceList;&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;Join(Facts)&lt;/P&gt;
&lt;P&gt;LOAD * Resident PriceList;&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;Drop Table PriceList;&lt;/P&gt;
&lt;/PRE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 18 Dec 2015 18:02:02 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Finding-a-value-based-on-multiple-criteria/m-p/931356#M949196</guid>
      <dc:creator>Gysbert_Wassenaar</dc:creator>
      <dc:date>2015-12-18T18:02:02Z</dc:date>
    </item>
    <item>
      <title>Re: Finding a value based on multiple criteria</title>
      <link>https://community.qlik.com/t5/QlikView/Finding-a-value-based-on-multiple-criteria/m-p/931357#M949200</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Robert,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; I hope I've interpreted what you need. Have a look at the attached qvw. Pick the country and Shipping Agent in the listboxes, enter the Consignment Weight in the Input Box and the Straight Table headed 'Price' will try to match a price from your price table. if you enter a weight that is absent it will give the closest price, above and below the desired weight if possible.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Cheers&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Andrew&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 20 Dec 2015 19:45:10 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Finding-a-value-based-on-multiple-criteria/m-p/931357#M949200</guid>
      <dc:creator>effinty2112</dc:creator>
      <dc:date>2015-12-20T19:45:10Z</dc:date>
    </item>
    <item>
      <title>Re: Finding a value based on multiple criteria</title>
      <link>https://community.qlik.com/t5/QlikView/Finding-a-value-based-on-multiple-criteria/m-p/931358#M949201</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;one solution maybe could be:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="QlikCommunity_Thread_196665_Pic1.JPG" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/109520_QlikCommunity_Thread_196665_Pic1.JPG" style="height: auto; width: auto;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE __default_attr="plain" __jive_macro_name="code" class="jive_macro_code jive_text_macro _jivemacro_uid_14506596594623602" jivemacro_uid="_14506596594623602"&gt;
&lt;P&gt;Facts:&lt;/P&gt;
&lt;P&gt;LOAD AutoNumberHash128(ShippingAgentService,Country,Weight) as %Key1,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; OrderNo,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; ShippingAgentService,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Country,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Weight&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;FROM [&lt;/SPAN&gt;&lt;A class="" data-containerid="-1" data-containertype="-1" data-objectid="202714" data-objecttype="13" href="https://community.qlik.com/servlet/JiveServlet/download/2003-196665-937097-202714/Parcels.xlsx"&gt;https://community.qlik.com/servlet/JiveServlet/download/937097-202714/Parcels.xlsx&lt;/A&gt;&lt;SPAN&gt;] (ooxml, embedded labels, table is Sheet1);&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;PriceList:&lt;/P&gt;
&lt;P&gt;LOAD AutoNumberHash128(ShippingAgentService,Country,Weight_From,Weight_To) as %Key2,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; ShippingAgentService,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Country,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Weight_From,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Weight_To,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Price&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;FROM [&lt;/SPAN&gt;&lt;A class="" data-containerid="-1" data-containertype="-1" data-objectid="202715" data-objecttype="13" href="https://community.qlik.com/servlet/JiveServlet/download/2003-196665-937097-202715/PriceList.xlsx"&gt;https://community.qlik.com/servlet/JiveServlet/download/937097-202715/PriceList.xlsx&lt;/A&gt;&lt;SPAN&gt;] (ooxml, embedded labels, table is Sheet1);&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;WeightIntervals:&lt;/P&gt;
&lt;P&gt;IntervalMatch(Weight,ShippingAgentService,Country)&lt;/P&gt;
&lt;P&gt;LOAD Weight_From,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Weight_To,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; ShippingAgentService,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Country&lt;/P&gt;
&lt;P&gt;Resident PriceList;&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;Join (WeightIntervals)&lt;/P&gt;
&lt;P&gt;LOAD Distinct&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; AutoNumberHash128(ShippingAgentService,Country,Weight) as %Key1,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; ShippingAgentService,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Country,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Weight&lt;/P&gt;
&lt;P&gt;Resident Facts;&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;DROP Fields ShippingAgentService, Country From Facts;&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;Join (WeightIntervals)&lt;/P&gt;
&lt;P&gt;LOAD Distinct&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; AutoNumberHash128(ShippingAgentService,Country,Weight_From,Weight_To) as %Key2,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; ShippingAgentService,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Country,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Weight_From,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Weight_To&lt;/P&gt;
&lt;P&gt;Resident PriceList;&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;DROP Fields ShippingAgentService, Country From PriceList;&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;Left Join (WeightIntervals)&lt;/P&gt;
&lt;P&gt;LOAD Distinct&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; AutoNumberHash128(ShippingAgentService,Country,Weight) as %Key1,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; ShippingAgentService,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Country,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Weight&lt;/P&gt;
&lt;P&gt;Resident WeightIntervals;&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;Left Join (WeightIntervals)&lt;/P&gt;
&lt;P&gt;LOAD Distinct&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; AutoNumberHash128(ShippingAgentService,Country,Weight_From,Weight_To) as %Key2,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; ShippingAgentService,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Country,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Weight_From,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Weight_To&lt;/P&gt;
&lt;P&gt;Resident WeightIntervals;&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;DROP Field Weight, Weight_From, Weight_To From WeightIntervals;&lt;/P&gt;
&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;hope this helps&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Marco&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 21 Dec 2015 01:03:43 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Finding-a-value-based-on-multiple-criteria/m-p/931358#M949201</guid>
      <dc:creator>MarcoWedel</dc:creator>
      <dc:date>2015-12-21T01:03:43Z</dc:date>
    </item>
  </channel>
</rss>

