<?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 without grouping</title><link>https://community.appian.com/discussions/f/user-interface/11595/aggregation-without-grouping</link><description>I need to create a chart based on a count of OR condition 
 I SQL the query is 
 
 SELECT count(*) FROM v_deco_all WHERE predevelopment_specification=&amp;#39;TRUE&amp;#39; OR subproject_type=&amp;#39;PRED&amp;#39; 
 
 But I can&amp;#39;t because it is mandatory to add the grouping field .</description><dc:language>en-US</dc:language><generator>Telligent Community 12</generator><item><title>RE: aggregation without grouping</title><link>https://community.appian.com/thread/51051?ContentTypeID=1</link><pubDate>Thu, 21 Dec 2017 13:07:02 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:b3e08572-ba4c-4b17-a3d2-de93203d17a7</guid><dc:creator>sureshg57</dc:creator><description>is it worth considering writing  a stored proc to return the desired result set&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: aggregation without grouping</title><link>https://community.appian.com/thread/51050?ContentTypeID=1</link><pubDate>Thu, 21 Dec 2017 13:06:46 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:34f30298-8b9b-458a-9584-35b14100e31f</guid><dc:creator>eliav</dc:creator><description>No! &lt;br /&gt;
Sorry&lt;br /&gt;
Now I have understood !! &lt;br /&gt;
I have to aggregate for SubprojectType and PredevelopmentSpecification then apply OR operator, then sum Count .. &lt;br /&gt;
Yes now I have the correct result !&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: aggregation without grouping</title><link>https://community.appian.com/thread/51047?ContentTypeID=1</link><pubDate>Thu, 21 Dec 2017 11:57:11 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:6ebf1c52-d5d9-4d61-a82d-7d9e94dbf8aa</guid><dc:creator>eliav</dc:creator><description>yes... I know but it&amp;#39;s terrible !! :) &lt;br /&gt;
Using this method Appian has to perform computation that should be done from DB ...&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: aggregation without grouping</title><link>https://community.appian.com/thread/51046?ContentTypeID=1</link><pubDate>Thu, 21 Dec 2017 11:33:55 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:48e29f6a-4c7f-475a-8958-67d6284c5c90</guid><dc:creator>Amit Mishra</dc:creator><description>Hi Eliav,&lt;br /&gt;
I would suggest to hold the query Entity desire output in one rule and count it by calling in another expression rule. Give a try, it should work. Thank you.&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>