<?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 Equivalent function to Lookup but for charts in App Development</title>
    <link>https://community.qlik.com/t5/App-Development/Equivalent-function-to-Lookup-but-for-charts/m-p/1998675#M82714</link>
    <description>&lt;P&gt;Hello,&lt;/P&gt;
&lt;P&gt;Given a table similar to the following:&lt;/P&gt;
&lt;TABLE border="1" width="100%"&gt;
&lt;TBODY&gt;
&lt;TR&gt;
&lt;TD width="50%"&gt;location&lt;/TD&gt;
&lt;TD width="50%"&gt;favorite_fruit&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TD width="50%"&gt;Home&lt;/TD&gt;
&lt;TD width="50%"&gt;Apple&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TD width="50%"&gt;Office&lt;/TD&gt;
&lt;TD width="50%"&gt;Apple&lt;/TD&gt;
&lt;/TR&gt;
&lt;/TBODY&gt;
&lt;/TABLE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I would expect to be able to use&amp;nbsp; the following expressions:&amp;nbsp;&lt;/P&gt;
&lt;P&gt;=fieldvalue('favorite_fruit',fieldindex('location','Home')) or&amp;nbsp;&lt;/P&gt;
&lt;P&gt;=fieldvalue('favorite_fruit',fieldindex('location','Office'))&lt;/P&gt;
&lt;P&gt;This works fine if the favorite_fruit values are unique, but if they're the same, fieldvalue() regards favorite_fruit as having only 1 value and thus&amp;nbsp;=fieldvalue('favorite_fruit',fieldindex('location','Office')) returns null.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Is there any expression that would return the favorite_fruit value for Office regardless of non-unique values?&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks,&lt;/P&gt;
&lt;P&gt;Steve&lt;/P&gt;</description>
    <pubDate>Mon, 31 Oct 2022 15:14:09 GMT</pubDate>
    <dc:creator>stascher</dc:creator>
    <dc:date>2022-10-31T15:14:09Z</dc:date>
    <item>
      <title>Equivalent function to Lookup but for charts</title>
      <link>https://community.qlik.com/t5/App-Development/Equivalent-function-to-Lookup-but-for-charts/m-p/1998675#M82714</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;
&lt;P&gt;Given a table similar to the following:&lt;/P&gt;
&lt;TABLE border="1" width="100%"&gt;
&lt;TBODY&gt;
&lt;TR&gt;
&lt;TD width="50%"&gt;location&lt;/TD&gt;
&lt;TD width="50%"&gt;favorite_fruit&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TD width="50%"&gt;Home&lt;/TD&gt;
&lt;TD width="50%"&gt;Apple&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TD width="50%"&gt;Office&lt;/TD&gt;
&lt;TD width="50%"&gt;Apple&lt;/TD&gt;
&lt;/TR&gt;
&lt;/TBODY&gt;
&lt;/TABLE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I would expect to be able to use&amp;nbsp; the following expressions:&amp;nbsp;&lt;/P&gt;
&lt;P&gt;=fieldvalue('favorite_fruit',fieldindex('location','Home')) or&amp;nbsp;&lt;/P&gt;
&lt;P&gt;=fieldvalue('favorite_fruit',fieldindex('location','Office'))&lt;/P&gt;
&lt;P&gt;This works fine if the favorite_fruit values are unique, but if they're the same, fieldvalue() regards favorite_fruit as having only 1 value and thus&amp;nbsp;=fieldvalue('favorite_fruit',fieldindex('location','Office')) returns null.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Is there any expression that would return the favorite_fruit value for Office regardless of non-unique values?&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks,&lt;/P&gt;
&lt;P&gt;Steve&lt;/P&gt;</description>
      <pubDate>Mon, 31 Oct 2022 15:14:09 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Equivalent-function-to-Lookup-but-for-charts/m-p/1998675#M82714</guid>
      <dc:creator>stascher</dc:creator>
      <dc:date>2022-10-31T15:14:09Z</dc:date>
    </item>
    <item>
      <title>Re: Equivalent function to Lookup but for charts</title>
      <link>https://community.qlik.com/t5/App-Development/Equivalent-function-to-Lookup-but-for-charts/m-p/1998858#M82723</link>
      <description>&lt;P&gt;why not use a MaxString() ??&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;MaxString({&amp;lt;location={'Office'}&amp;gt;}favorite_fruit)&lt;/P&gt;</description>
      <pubDate>Tue, 01 Nov 2022 02:56:45 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Equivalent-function-to-Lookup-but-for-charts/m-p/1998858#M82723</guid>
      <dc:creator>vinieme12</dc:creator>
      <dc:date>2022-11-01T02:56:45Z</dc:date>
    </item>
  </channel>
</rss>

