<?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>concat data in in grid</title><link>https://community.appian.com/discussions/f/general/11010/concat-data-in-in-grid</link><description>Hello i am french and beginner on appian. 
 I want to retrieve a list in a grid. 
 My problem is that I want to concatenate 2 data (from query) in a single column of this grid. I tried : a!gridTextColumn( label: &amp;quot;Client&amp;quot;, data: concat(index(local!listofreclamations</description><dc:language>en-US</dc:language><generator>Telligent Community 12</generator><item><title>RE: concat data in in grid</title><link>https://community.appian.com/thread/48197?ContentTypeID=1</link><pubDate>Fri, 01 Sep 2017 07:52:55 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:d6f327c5-0068-4921-ad25-68de1ffc31c6</guid><dc:creator>lindab0001</dc:creator><description>Cool, thanks&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: concat data in in grid</title><link>https://community.appian.com/thread/48196?ContentTypeID=1</link><pubDate>Fri, 01 Sep 2017 07:50:09 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:89af2ff4-d9f6-4bd2-a23e-26112919f9fe</guid><dc:creator>Vinay Kumar Rai</dc:creator><description>&lt;p&gt;Use apply function:&lt;br /&gt; &lt;br /&gt; a!gridTextColumn(&lt;br /&gt; label: &amp;quot;Client&amp;quot;,&lt;br /&gt; data: &lt;br /&gt; if(&lt;br /&gt; local!listofreclamations.totalCount = 0,{}, &lt;br /&gt; apply(&lt;br /&gt; concat(_,&amp;quot; &amp;quot;,_),&lt;br /&gt; merge(&lt;br /&gt; index(local!listofreclamations.data,&amp;quot;FirstName&amp;quot;,{}), &lt;br /&gt; index(local!listofreclamations.data, &amp;quot;LastName&amp;quot;, {})&lt;br /&gt; )&lt;br /&gt; )&lt;br /&gt; )&lt;br /&gt; )&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: concat data in in grid</title><link>https://community.appian.com/thread/48195?ContentTypeID=1</link><pubDate>Fri, 01 Sep 2017 07:47:38 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:5d475b9e-a200-4b35-bc58-7093e27af6da</guid><dc:creator>aloks0189</dc:creator><description>&lt;p&gt;Hi lindab0001 As per my understanding, you are having multiple FirstName, and LastName where you want to concat FirstName and LastName of the same index together.&lt;/p&gt;
&lt;p&gt;If so, you can make the use of a!forEach() function, where the item will be &amp;nbsp;local!listofreclamations.data, for example, i can take a normal use case&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="text"&gt;load(
  local!listofreclamations : todatasubset({
    {FirstName: &amp;quot;A&amp;quot;, LastName: &amp;quot;B&amp;quot;},
    {FirstName: &amp;quot;C&amp;quot;, LastName: &amp;quot;D&amp;quot;},
  }),
  a!forEach(
    local!listofreclamations.data,
    concat(fv!item.FirstName, &amp;quot; &amp;quot;, fv!item.LastName)
  )
)&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;Assume, here local!listofreclamations contains your actual data in the form of datasubset. So try holding this looped value into a local variable and use this for gridTextColumn&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Hope this will help you.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>