<?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>Display label not index in a grid</title><link>https://community.appian.com/discussions/f/user-interface/30189/display-label-not-index-in-a-grid</link><description>How can display the label of the choice and not the index in the grid . The data is being fetched form lookup table ( RECORD type), while the document table is a CDT.</description><dc:language>en-US</dc:language><generator>Telligent Community 12</generator><item><title>RE: Display label not index in a grid</title><link>https://community.appian.com/thread/120125?ContentTypeID=1</link><pubDate>Wed, 04 Oct 2023 13:18:57 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:b97d0149-618b-428a-be8c-49115fce8b47</guid><dc:creator>Abhishek Tiwari</dc:creator><description>&lt;p&gt;Hi there, I&amp;#39;m not sure if I have got Your problem correctly or not. If you are saying you want to fetch the data (like Apple, Ball,..) instead of index (like 1,2,3,..) in the grid you can simply use the if condition like this&lt;pre class="ui-code" data-mode="text"&gt;if(recordType!Customer.fields.Document = 1, &amp;quot;New Doc&amp;quot;, if(recordType!Customer.fields.Document = 2, &amp;quot;Old Doc&amp;quot;, &amp;quot;&amp;quot;)&lt;/pre&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Display label not index in a grid</title><link>https://community.appian.com/thread/120024?ContentTypeID=1</link><pubDate>Mon, 02 Oct 2023 12:32:20 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:c83ee1cb-12ef-4609-b0c7-5cf21858b8ad</guid><dc:creator>Stefan Helzle</dc:creator><description>&lt;p&gt;I am not sure I fully understand your ask, but to display the labels from a lookup table, you can easily query related record data.&lt;/p&gt;
&lt;p&gt;&lt;a href="https://docs.appian.com/suite/help/23.3/fnc_system_queryrecordtype.html#querying-related-record-fields"&gt;docs.appian.com/.../fnc_system_queryrecordtype.html&lt;/a&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>