<?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: Table vlookup equivalent in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Table-vlookup-equivalent/m-p/418298#M155612</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Unfortunately I need this to work on the front end in the table. If I'm not mistaken maps are only in the script?&amp;nbsp; Is there a way to enable maps to be used in the front-end?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 18 Sep 2012 21:02:38 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2012-09-18T21:02:38Z</dc:date>
    <item>
      <title>Table vlookup equivalent</title>
      <link>https://community.qlik.com/t5/QlikView/Table-vlookup-equivalent/m-p/418296#M155610</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi guys&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Need help here.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I load a table and need to do something equivalent of a vlookup in excel.&amp;nbsp; For a given number of sales in a month I want an incentive amount to pull through. My data structure is complex, so i have to do a set analysis in my counts.&amp;nbsp; (incorporated this in my example)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any ideas, attached is a example of the model and excel data (in excel the vlookup, how i would expect it to work, is on the last sheet).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in advance.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Cheers&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 18 Sep 2012 16:15:58 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Table-vlookup-equivalent/m-p/418296#M155610</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2012-09-18T16:15:58Z</dc:date>
    </item>
    <item>
      <title>Re: Table vlookup equivalent</title>
      <link>https://community.qlik.com/t5/QlikView/Table-vlookup-equivalent/m-p/418297#M155611</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You could use applymap to map a sales value to an incentive and then create a field Incentive already at the script run. See more on &lt;A _jive_internal="true" href="https://community.qlik.com/blogs/qlikviewdesignblog/2012/09/18/one-favorite-function-applymap"&gt;http://community.qlik.com/blogs/qlikviewdesignblog/2012/09/18/one-favorite-function-applymap&lt;/A&gt;.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you have many different sales amounts, you may want to work ranges instead. Then you should look at IntervalMatch to create the mapping table.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;HIC&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 18 Sep 2012 19:23:25 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Table-vlookup-equivalent/m-p/418297#M155611</guid>
      <dc:creator>hic</dc:creator>
      <dc:date>2012-09-18T19:23:25Z</dc:date>
    </item>
    <item>
      <title>Re: Table vlookup equivalent</title>
      <link>https://community.qlik.com/t5/QlikView/Table-vlookup-equivalent/m-p/418298#M155612</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Unfortunately I need this to work on the front end in the table. If I'm not mistaken maps are only in the script?&amp;nbsp; Is there a way to enable maps to be used in the front-end?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 18 Sep 2012 21:02:38 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Table-vlookup-equivalent/m-p/418298#M155612</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2012-09-18T21:02:38Z</dc:date>
    </item>
    <item>
      <title>Re: Table vlookup equivalent</title>
      <link>https://community.qlik.com/t5/QlikView/Table-vlookup-equivalent/m-p/418299#M155613</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The best I can come up with is fieldvalue.&amp;nbsp; &lt;/P&gt;&lt;P&gt;Now FieldValue has its flaws because it goes on load order rather than order by sort (irritating).&amp;nbsp; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;That means I can't load a "watered-down" table, write a loop to fill in the in-between numbers and use fieldvalue, I have to have the raw table with all the numbers from the beginning.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Am I making sense here and over-complicating this?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 18 Sep 2012 21:21:20 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Table-vlookup-equivalent/m-p/418299#M155613</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2012-09-18T21:21:20Z</dc:date>
    </item>
    <item>
      <title>Re: Table vlookup equivalent</title>
      <link>https://community.qlik.com/t5/QlikView/Table-vlookup-equivalent/m-p/418300#M155614</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Ok I cant get the fieldValue to work.&amp;nbsp; I load inline then use the fieldvalue function on front end:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;"IncentiveTable":&lt;/P&gt;&lt;P&gt;load * inline [&lt;/P&gt;&lt;P&gt;Sales,&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;Incentive&lt;/P&gt;&lt;P&gt;0,&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;0&lt;/P&gt;&lt;P&gt;1,&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;0&lt;/P&gt;&lt;P&gt;2,&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;50&lt;/P&gt;&lt;P&gt;3,&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;50&lt;/P&gt;&lt;P&gt;4,&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;80&lt;/P&gt;&lt;P&gt;5,&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;80&lt;/P&gt;&lt;P&gt;6,&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;110&lt;/P&gt;&lt;P&gt;7,&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;110&lt;/P&gt;&lt;P&gt;8,&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;140&lt;/P&gt;&lt;P&gt;9,&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;140&lt;/P&gt;&lt;P&gt;10,&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;170&lt;/P&gt;&lt;P&gt;];&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;FieldValue('Incentive', 4) gives me 110 when I am expecting 50!!!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;help please...&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 18 Sep 2012 21:43:15 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Table-vlookup-equivalent/m-p/418300#M155614</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2012-09-18T21:43:15Z</dc:date>
    </item>
    <item>
      <title>Re: Table vlookup equivalent</title>
      <link>https://community.qlik.com/t5/QlikView/Table-vlookup-equivalent/m-p/418301#M155615</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt; You are asking for the fourth value in the Incentive field. the fourt value is 110&lt;/P&gt;&lt;P&gt;1 = 0&lt;/P&gt;&lt;P&gt;2 = 50&lt;/P&gt;&lt;P&gt;3 = 80&lt;/P&gt;&lt;P&gt;4 = 110&lt;/P&gt;&lt;P&gt;5= 140&lt;/P&gt;&lt;P&gt;6=170&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you want to reach the 50-value try set-analysis, e.g. only({&amp;lt;Sales={4}&amp;gt;}Incentive) .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best regards&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.qlik.com/qlik-users/100292"&gt;Vegar Lie Arntsen&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;QlikView consultant at &lt;/EM&gt;&lt;A href="http://bit.ly/PoSwU2"&gt;egbs consulting ab&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;Blog (in Swedish):&lt;/EM&gt; &lt;A href="http://bit.ly/UkXdvt"&gt;bi-effekten.se&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 25 Jun 2013 09:07:26 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Table-vlookup-equivalent/m-p/418301#M155615</guid>
      <dc:creator>Vegar</dc:creator>
      <dc:date>2013-06-25T09:07:26Z</dc:date>
    </item>
  </channel>
</rss>

