<?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>Aggregation</title><link>https://community.appian.com/discussions/f/rules/30103/aggregation</link><description>Hi All, 
 
 I have multiple values like this, I need to show single data ,How Can I show single value using expression rule, Is there any way to do ? 
 Please help on this on priority.</description><dc:language>en-US</dc:language><generator>Telligent Community 12</generator><item><title>RE: Aggregation</title><link>https://community.appian.com/thread/119660?ContentTypeID=1</link><pubDate>Fri, 22 Sep 2023 12:18:28 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:a57749cb-2a37-4e96-bb55-7041d73cc3d5</guid><dc:creator>Harsha Sharma</dc:creator><description>&lt;p&gt;You will need to use Union() function. If the data you have is already in array format then just pass the same array to function as union(array,array) and this will return the unique values only from that array.&amp;nbsp;&lt;br /&gt;If, your variable is not an array I suggest you use split with semi colons operator to convert data into array and then pass that into the union function.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;make use of &lt;a href="https://docs.appian.com/suite/help/23.3/Appian_Functions.html"&gt;functions&lt;/a&gt; to convert to desired output as needed.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="text"&gt;a!localvariables(
  local!names:&amp;quot;Data Data;Data Data;Data 2 Data&amp;quot;,
local!nameArray:split(local!names,&amp;quot;;&amp;quot;),
union(local!nameArray,local!nameArray))&lt;/pre&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Aggregation</title><link>https://community.appian.com/thread/119658?ContentTypeID=1</link><pubDate>Fri, 22 Sep 2023 12:07:07 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:62a81e86-1c80-43d1-b3a6-7c4ae4500191</guid><dc:creator>sid</dc:creator><description>&lt;p&gt;There are multiple values which are repeating like in the screenshot&amp;nbsp;&lt;/p&gt;
&lt;div class="ComponentSelector---wrapper"&gt;&lt;/div&gt;
&lt;div class="appian-context-component-selector-children"&gt;
&lt;div class="FieldLayout---field_layout FieldLayout---margin_below_none FieldLayout---margin_above_none FieldLayout---inSideBySideItem"&gt;
&lt;div class="FieldLayout---label_above"&gt;&lt;/div&gt;
&lt;div class="FieldLayout---input_below"&gt;
&lt;p class="ParagraphText---richtext_paragraph ParagraphText---default_direction ParagraphText---align_start elements---global_p"&gt;NAME.1 OF 117664 NAME.2 OF117664; NAME.1 OF 117664 NAME.2 OF&amp;nbsp;117664 like that some values are repeating, I need to show single values instead of multiple, How can we control that using aggregate fun?&lt;/p&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Aggregation</title><link>https://community.appian.com/thread/119656?ContentTypeID=1</link><pubDate>Fri, 22 Sep 2023 11:56:45 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:98ed6116-2724-43c6-a2cc-fbcae82de8d0</guid><dc:creator>Harsha Sharma</dc:creator><description>&lt;p&gt;Can you inform on how do you need the single value exactly. The expected output format will help in better suggestion for the solution&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Aggregation</title><link>https://community.appian.com/thread/119650?ContentTypeID=1</link><pubDate>Fri, 22 Sep 2023 11:19:19 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:fd761aff-819c-4e79-a111-062c3927d3f1</guid><dc:creator>Harshitha Mangamuri</dc:creator><description>&lt;p&gt;Hello, If you want to display duplicate values you can use Union() function while displaying it.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;a href="https://docs.appian.com/suite/help/23.3/fnc_set_union.html"&gt;https://docs.appian.com/suite/help/23.3/fnc_set_union.html&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;If you want to display multiple values single time you can Union function and then use loop to display the list&amp;nbsp;a!richTextBulletedList() for display purpose.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>