<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="https://community.appian.com/cfs-file/__key/system/syndication/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/"><channel><title>Accessing data from datasubset on an interface</title><link>https://community.appian.com/discussions/f/user-interface/17708/accessing-data-from-datasubset-on-an-interface</link><description>Hi, 
 On an interface I am populating a grid based on a datasubset that is from a queryProcessAnalytics (output attached). 
 I then click a row in the grid to display more details from the process. 
 In column &amp;quot;c16&amp;quot; I have the entire data set which as</description><dc:language>en-US</dc:language><generator>Telligent Community 12</generator><item><title>RE: Accessing data from datasubset on an interface</title><link>https://community.appian.com/thread/69710?ContentTypeID=1</link><pubDate>Thu, 03 Oct 2019 22:50:13 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:b3cc64c5-73a1-4a25-92b7-057dd5bc0442</guid><dc:creator>Robert Shankin</dc:creator><description>&lt;p&gt;Hi David -&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Regardless of the grid design -&amp;nbsp;I think you should probably be using fn!index() and not fn!keyVal().&lt;/p&gt;
&lt;p&gt;There&amp;#39;s some nuance here - but please review the docs to see what I mean&lt;br /&gt;&lt;a href="https://docs.appian.com/suite/help/19.3/fnc_text_keyval.html"&gt;https://docs.appian.com/suite/help/19.3/fnc_text_keyval.html&lt;br /&gt;&lt;/a&gt;&lt;a href="https://docs.appian.com/suite/help/19.3/fnc_array_index.html"&gt;https://docs.appian.com/suite/help/19.3/fnc_array_index.html&lt;br /&gt;&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Also,&amp;nbsp;&lt;br /&gt;Have a look at the fn!wherecontains docs:&amp;nbsp;&lt;a href="https://docs.appian.com/suite/help/19.3/fnc_array_wherecontains.html"&gt;https://docs.appian.com/suite/help/19.3/fnc_array_wherecontains.html&lt;br /&gt;&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;In particular this index(..., wherecontains(...)) pattern is probably going to be useful to you:&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="text"&gt;e.g.
index(pv!employees.firstName, wherecontains(&amp;quot;Finance&amp;quot;, pv!employees.department))&lt;/pre&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>