<?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>Query the Data using CreatedOn fileds using Grouping</title><link>https://community.appian.com/discussions/f/rules/38424/query-the-data-using-createdon-fileds-using-grouping</link><description>I have some data in my DB in that one filed named &amp;quot;CreatedOn&amp;quot;(2025-11-20 06:00:44.470000) 
 i need to group the details by CreatedOn i need to group data by current year ,current quarter , current month, current week and want to sum a field called &amp;quot;EMI</description><dc:language>en-US</dc:language><generator>Telligent Community 12</generator><item><title>RE: Query the Data using CreatedOn fileds using Grouping</title><link>https://community.appian.com/thread/144911?ContentTypeID=1</link><pubDate>Thu, 30 Jan 2025 07:35:25 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:fad5ac14-6ca1-474a-af7c-243228818cc8</guid><dc:creator>EREN_YEAGER</dc:creator><description>&lt;p&gt;&lt;a href="https://docs.appian.com/suite/help/24.4/custom-record-fields.html"&gt;docs.appian.com/.../custom-record-fields.html&lt;/a&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Query the Data using CreatedOn fileds using Grouping</title><link>https://community.appian.com/thread/144910?ContentTypeID=1</link><pubDate>Thu, 30 Jan 2025 07:32:57 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:f12e7ef2-ed29-4dab-931e-1b1520fb04dd</guid><dc:creator>EREN_YEAGER</dc:creator><description>&lt;p&gt;you can create custom record fields in your base record, where you&amp;#39;ll be able to store values such as 1,2,3 for quarters or weeks, for eg :&amp;nbsp;&lt;br /&gt;&lt;img style="max-height:240px;max-width:320px;" alt=" " src="/resized-image/__size/640x480/__key/communityserver-discussions-components-files/15/pastedimage1738222252645v1.png" /&gt;&lt;br /&gt;then you can group on those custom record fields to get the result for quarters or weeks&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Query the Data using CreatedOn fileds using Grouping</title><link>https://community.appian.com/thread/144909?ContentTypeID=1</link><pubDate>Thu, 30 Jan 2025 07:05:33 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:aac2171b-e8a5-4a3c-a92d-99d6f922e6ff</guid><dc:creator>walterw169618</dc:creator><description>&lt;p&gt;can you tell in elaborate&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Query the Data using CreatedOn fileds using Grouping</title><link>https://community.appian.com/thread/144908?ContentTypeID=1</link><pubDate>Thu, 30 Jan 2025 06:13:55 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:40f1edfe-df4d-44fb-bc0a-be24d648fa12</guid><dc:creator>Konduru Chaitanya</dc:creator><description>[quote userid="300376" url="~/discussions/f/rules/38424/query-the-data-using-createdon-fileds-using-grouping/144907"] how about week and quarters[/quote]
&lt;p&gt;I would recommend creating custom record fields and using these values for grouping&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Query the Data using CreatedOn fileds using Grouping</title><link>https://community.appian.com/thread/144907?ContentTypeID=1</link><pubDate>Thu, 30 Jan 2025 05:42:34 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:7a35cfbc-7628-4b03-b6ae-fa281c6b196c</guid><dc:creator>walterw169618</dc:creator><description>&lt;p&gt;I tried in Query Edited i got it for month and year how about week and quarters&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Query the Data using CreatedOn fileds using Grouping</title><link>https://community.appian.com/thread/144906?ContentTypeID=1</link><pubDate>Thu, 30 Jan 2025 05:19:34 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:26043105-ec2c-442f-a2e0-6f5bcb7e1096</guid><dc:creator>JayaPrakash Ravipati</dc:creator><description>&lt;p&gt;use the aggregations to group the records using the queryRecordType()&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Query the Data using CreatedOn fileds using Grouping</title><link>https://community.appian.com/thread/144905?ContentTypeID=1</link><pubDate>Thu, 30 Jan 2025 04:50:23 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:91bbbf34-e08a-497b-bd6b-d3a65119911f</guid><dc:creator>EREN_YEAGER</dc:creator><description>&lt;p&gt;When the Field type is of type Date,Date and Time or Time, we can use the Interval parameter of a!grouping function, in which we can provide values such as &amp;quot;YEAR&amp;quot;,&amp;quot;MONTH_TEXT&amp;quot; and etc to group the data based on desired interval.&lt;br /&gt;&lt;br /&gt;a!grouping function goes in the a!aggregationFields function.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Query the Data using CreatedOn fileds using Grouping</title><link>https://community.appian.com/thread/144903?ContentTypeID=1</link><pubDate>Wed, 29 Jan 2025 19:10:05 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:adf5388a-6743-4d36-ae3e-df4c76bb97a3</guid><dc:creator>Konduru Chaitanya</dc:creator><description>[quote userid="300376" url="~/discussions/f/rules/38424/query-the-data-using-createdon-fileds-using-grouping"]i want to hit this rule only once to get all of this data in a stretch&amp;nbsp;[/quote]
&lt;p&gt;For this to happen you would need to write down the query. As Stefan mentioned you can try using the query editor in the expression rule.&lt;/p&gt;
&lt;p&gt;&lt;img style="max-height:240px;max-width:320px;" src="/resized-image/__size/640x480/__key/communityserver-discussions-components-files/15/pastedimage1738177728659v1.png" alt=" " /&gt;&lt;/p&gt;
&lt;p&gt;Under the query editor you will have aggregate records option and once you click you can chose on what fields and criteria you would want to aggregate.&lt;/p&gt;
&lt;p&gt;&lt;a href="https://docs.appian.com/suite/help/24.4/query-editor.html#aggregate-record-data"&gt;docs.appian.com/.../query-editor.html&lt;/a&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Query the Data using CreatedOn fileds using Grouping</title><link>https://community.appian.com/thread/144900?ContentTypeID=1</link><pubDate>Wed, 29 Jan 2025 17:48:01 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:ac8a5114-751c-4fe7-bc66-ecba7155f997</guid><dc:creator>Stefan Helzle</dc:creator><description>&lt;p&gt;Did you try to use the query editor in an expression rule using a!queryRecordType()?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>