<?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>I have data in CDT where i need to apply some validations to that data</title><link>https://community.appian.com/discussions/f/data/13449/i-have-data-in-cdt-where-i-need-to-apply-some-validations-to-that-data</link><description>Hi All, 
 I have data in one cdt where its looks something like this 
 id name school 
 1 abc xyz 
 2 abc xyz 
 3 def qwe 
 4 def qwe 
 Here i need to apply aggregation on columns, how do i achieve it ?</description><dc:language>en-US</dc:language><generator>Telligent Community 12</generator><item><title>RE: I have data in CDT where i need to apply some validations to that data</title><link>https://community.appian.com/thread/60945?ContentTypeID=1</link><pubDate>Mon, 01 Oct 2018 20:21:50 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:01b3c600-0fcc-4ebe-bbcf-bb261d1d3d32</guid><dc:creator>charlesm492</dc:creator><description>Depending on your situation it might also work to perform the aggregation in a database view and query the count from there.&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: I have data in CDT where i need to apply some validations to that data</title><link>https://community.appian.com/thread/60940?ContentTypeID=1</link><pubDate>Mon, 01 Oct 2018 19:51:12 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:6820f0f8-596e-49e6-8a48-b1624b026cba</guid><dc:creator>ajinkyab277</dc:creator><description>OOB report builder provides you a  easy way to create aggregated report or query&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: I have data in CDT where i need to apply some validations to that data</title><link>https://community.appian.com/thread/60915?ContentTypeID=1</link><pubDate>Mon, 01 Oct 2018 17:24:10 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:652048c0-5c30-40bb-ad21-782d593c1426</guid><dc:creator>John M</dc:creator><description>&lt;p&gt;What kind of validations are you trying to add - just the fact that there are duplicate values or do you need to specify directly which ones are the duplicates? you can check duplicates by doing something like &lt;span style="font-family:&amp;#39;courier new&amp;#39;, courier;"&gt;length(array) &amp;lt;&amp;gt; length(union(array, array))&lt;/span&gt; in which you&amp;#39;re comparing the length of the original against the distinct set of values in your list.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Not an efficient way, but you could also do something like:&lt;/p&gt;
&lt;pre&gt;a!forEach(&lt;br /&gt;  union(array, array),&lt;br /&gt;  {&lt;br /&gt;    &amp;#39;value&amp;#39;: fv!item,&lt;br /&gt;    &amp;#39;count&amp;#39;: count(wherecontains(fv!item, array))&lt;br /&gt;  }&lt;br /&gt;)&lt;/pre&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: I have data in CDT where i need to apply some validations to that data</title><link>https://community.appian.com/thread/60910?ContentTypeID=1</link><pubDate>Mon, 01 Oct 2018 13:20:53 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:9a73b315-75bb-4e59-9252-cd83360c262e</guid><dc:creator>harrisont606</dc:creator><description>Does the user need this grouping displayed immediately back to them? Something like this can be achieved by a view using group by in SQL or the query aggregation functionality in Appian. Be careful though, using group by on large data sets can have performance issues.&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: I have data in CDT where i need to apply some validations to that data</title><link>https://community.appian.com/thread/60907?ContentTypeID=1</link><pubDate>Mon, 01 Oct 2018 12:52:15 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:6712eba1-2e9e-435f-814b-106433700361</guid><dc:creator>bhargavip0001</dc:creator><description>this data is in process model where user will enter and then again i need to apply aggregation on two columns which have same value, like i need to count as 2 for the set as abc and xyz&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: I have data in CDT where i need to apply some validations to that data</title><link>https://community.appian.com/thread/60906?ContentTypeID=1</link><pubDate>Mon, 01 Oct 2018 12:35:51 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:37a06a99-65af-4c0d-8d99-09cbb0b204f2</guid><dc:creator>Shanmukha</dc:creator><description>Hi Bharghavi,&lt;br /&gt;
&lt;br /&gt;
Could you please elaborate your use case bit further? and There are few plugins available for the similar functionality. Please find them in the Shared components and let us know if it meet your requirement.&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: I have data in CDT where i need to apply some validations to that data</title><link>https://community.appian.com/thread/60905?ContentTypeID=1</link><pubDate>Mon, 01 Oct 2018 12:17:48 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:1a367817-e402-4e3c-b2c3-e9e821d2aa80</guid><dc:creator>harrisont606</dc:creator><description>What type of aggregation are you trying to perform? In your example, the name and school always seem to be linked. Can two schools have the same name, and can one school have different names in different rows? Also, is this data already in the Db or do you want o aggregate it in a process model after it is entered by a user?&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>