<?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 Lookup a non-joined table in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Lookup-a-non-joined-table/m-p/269267#M101012</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;In the rank function, for the first option, option 4 uses 499 for the first instance, then increases by one for each subsequent occurence. However, this is only behind the scenes - on the screen, you can either show the range or the lowest number. The match function seems to be only picking up the lowest number even with the option 4 selected.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I don't want to use 499 in my code because the numbers will change pretty often - and also if any filters are selected.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 30 Nov 2011 18:38:14 GMT</pubDate>
    <dc:creator>danielact</dc:creator>
    <dc:date>2011-11-30T18:38:14Z</dc:date>
    <item>
      <title>Lookup a non-joined table</title>
      <link>https://community.qlik.com/t5/QlikView/Lookup-a-non-joined-table/m-p/269263#M101008</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have a Pivot Table where I have a ranking function as a dimension. It returns values from 1 to 10,000. I have a table that has labels for certain values within the range. I want to set the dimension so that instead of returning the rank, it will return the label.&lt;/P&gt;&lt;P&gt;So, if my table is like this:&lt;/P&gt;&lt;P&gt;Rank&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Label&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; Best&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; Middle&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; Worst&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;for those three rankings, it should return the "Best", "Middle", or "Worst" label instead of 1, 5, or 10. The tables is not linked to anything, as the ranking is calculated in the Pivot Table, not in my data table, so I have nothing to link to.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 30 Nov 2011 16:36:02 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Lookup-a-non-joined-table/m-p/269263#M101008</guid>
      <dc:creator>danielact</dc:creator>
      <dc:date>2011-11-30T16:36:02Z</dc:date>
    </item>
    <item>
      <title>Lookup a non-joined table</title>
      <link>https://community.qlik.com/t5/QlikView/Lookup-a-non-joined-table/m-p/269264#M101009</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I think the simplest way is through a pick(match(. So it would look like this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;pick(match(rank(sum(Sales)),1,5,10),'Best','Middle','Worst')&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Vlad&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 30 Nov 2011 17:24:24 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Lookup-a-non-joined-table/m-p/269264#M101009</guid>
      <dc:creator>vgutkovsky</dc:creator>
      <dc:date>2011-11-30T17:24:24Z</dc:date>
    </item>
    <item>
      <title>Lookup a non-joined table</title>
      <link>https://community.qlik.com/t5/QlikView/Lookup-a-non-joined-table/m-p/269265#M101010</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks Vlad, that works but is a bit buggy. The reason it's buggy is because I sometimes have duplicates - if, on my 10,000 rows, I have two values that are the same, I can miss a value. On my testing, I didn't have a number 500 ranked - I had 499 twice, then 501, so it didn't return the value I need for 500.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 30 Nov 2011 18:19:10 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Lookup-a-non-joined-table/m-p/269265#M101010</guid>
      <dc:creator>danielact</dc:creator>
      <dc:date>2011-11-30T18:19:10Z</dc:date>
    </item>
    <item>
      <title>Lookup a non-joined table</title>
      <link>https://community.qlik.com/t5/QlikView/Lookup-a-non-joined-table/m-p/269266#M101011</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Well if there's a tie for #499, why would you expect there to be a #500 or for one of those values to arbitrarily be ranked lower than the other?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 30 Nov 2011 18:34:42 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Lookup-a-non-joined-table/m-p/269266#M101011</guid>
      <dc:creator>vgutkovsky</dc:creator>
      <dc:date>2011-11-30T18:34:42Z</dc:date>
    </item>
    <item>
      <title>Lookup a non-joined table</title>
      <link>https://community.qlik.com/t5/QlikView/Lookup-a-non-joined-table/m-p/269267#M101012</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;In the rank function, for the first option, option 4 uses 499 for the first instance, then increases by one for each subsequent occurence. However, this is only behind the scenes - on the screen, you can either show the range or the lowest number. The match function seems to be only picking up the lowest number even with the option 4 selected.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I don't want to use 499 in my code because the numbers will change pretty often - and also if any filters are selected.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 30 Nov 2011 18:38:14 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Lookup-a-non-joined-table/m-p/269267#M101012</guid>
      <dc:creator>danielact</dc:creator>
      <dc:date>2011-11-30T18:38:14Z</dc:date>
    </item>
    <item>
      <title>Lookup a non-joined table</title>
      <link>https://community.qlik.com/t5/QlikView/Lookup-a-non-joined-table/m-p/269268#M101013</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Well rank is returned as a dual(text,num). You can try&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;pick(match(num(rank(sum(Sales))),1,5,10),'Best','Middle','Worst') &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;to maybe force it to use the numeric behind-the-scenes value.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 30 Nov 2011 18:53:30 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Lookup-a-non-joined-table/m-p/269268#M101013</guid>
      <dc:creator>vgutkovsky</dc:creator>
      <dc:date>2011-11-30T18:53:30Z</dc:date>
    </item>
    <item>
      <title>Lookup a non-joined table</title>
      <link>https://community.qlik.com/t5/QlikView/Lookup-a-non-joined-table/m-p/269269#M101014</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks a lot, that fixed it!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 30 Nov 2011 19:06:44 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Lookup-a-non-joined-table/m-p/269269#M101014</guid>
      <dc:creator>danielact</dc:creator>
      <dc:date>2011-11-30T19:06:44Z</dc:date>
    </item>
  </channel>
</rss>

