<?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>What are the limitations of Query Entity?</title><link>https://community.appian.com/discussions/f/data/12625/what-are-the-limitations-of-query-entity</link><description>What are the limitations of Query Entity?</description><dc:language>en-US</dc:language><generator>Telligent Community 12</generator><item><title>RE: What are the limitations of Query Entity?</title><link>https://community.appian.com/thread/56384?ContentTypeID=1</link><pubDate>Fri, 08 Jun 2018 13:59:30 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:728d84e1-ff71-4950-8fc1-b72c549a3437</guid><dc:creator>jaishankarj</dc:creator><description>Adding to what &lt;a href="/members/smrutis0001"&gt;Smruti Swain&lt;/a&gt; said on Aggregation, when you use aggregation, sorting can be done only on fields that are selected.&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: What are the limitations of Query Entity?</title><link>https://community.appian.com/thread/56382?ContentTypeID=1</link><pubDate>Fri, 08 Jun 2018 10:33:14 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:2fbd6807-2ca3-4344-87d8-e062882135c9</guid><dc:creator>Smruti Swain</dc:creator><description>One of the limitations I would vote on, &lt;br /&gt;
Aggregation functions always expects at least one field to be grouped, for example: you cannot simply get the MAX/MIN/AVG/COUNT on column level, it always has to be grouped by that column which returns distinct values rather than a single aggregated value.&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: What are the limitations of Query Entity?</title><link>https://community.appian.com/thread/56372?ContentTypeID=1</link><pubDate>Fri, 08 Jun 2018 07:13:04 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:09c648ed-866f-4a37-9f26-3cbfc079c183</guid><dc:creator>sahilb346</dc:creator><description>Hello,&lt;br /&gt;
You can find out the details for query Entity in the documentation. One thing I want to tell about query entity is by default the query entity sort the result on the basis of the first selected column.&lt;br /&gt;
&lt;br /&gt;
For example:-&lt;br /&gt;
If you are not defining any sort field with query Entity:-&lt;br /&gt;
a!queryEntity(&lt;br /&gt;
  entity: Entity Name&lt;br /&gt;
  query: {&lt;br /&gt;
    a!query(&lt;br /&gt;
      selection:{&lt;br /&gt;
        a!querySelection(&lt;br /&gt;
          columns: {&lt;br /&gt;
            &lt;br /&gt;
            a!queryColumn(&lt;br /&gt;
              field: &amp;quot;columnA&amp;quot;&lt;br /&gt;
            ),&lt;br /&gt;
                      a!queryColumn(&lt;br /&gt;
              field: &amp;quot;columnB&amp;quot;&lt;br /&gt;
            )&lt;br /&gt;
          }&lt;br /&gt;
        )&lt;br /&gt;
      },&lt;br /&gt;
      pagingInfo: a!pagingInfo(&lt;br /&gt;
        startIndex: 1,&lt;br /&gt;
        batchSize: -1&lt;br /&gt;
      )&lt;br /&gt;
    )&lt;br /&gt;
  }&lt;br /&gt;
)&lt;br /&gt;
&lt;br /&gt;
The above query will give the result and the sorting of the result will be on the column :- columnA .&lt;br /&gt;
&lt;br /&gt;
This may be not the exact answer you are looking for, but may be this will help you.&lt;br /&gt;
&lt;br /&gt;
Thanks &lt;br /&gt;
Sahil Batra&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: What are the limitations of Query Entity?</title><link>https://community.appian.com/thread/56351?ContentTypeID=1</link><pubDate>Fri, 08 Jun 2018 03:17:57 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:fc2d2861-86e3-4962-a3bc-0e1cb60f5e89</guid><dc:creator>Ravi Sam</dc:creator><description>Along with Mangesh inputs, do consider database performance best pracitices also,&lt;br /&gt;
&lt;a href="https://community.appian.com/w/the-appian-playbook/197/database-performance-best-practices"&gt;community.appian.com/.../database-performance-best-practices&lt;/a&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: What are the limitations of Query Entity?</title><link>https://community.appian.com/thread/56340?ContentTypeID=1</link><pubDate>Thu, 07 Jun 2018 13:43:10 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:10602d8b-0aeb-4c73-9bf4-2d95ccc350ec</guid><dc:creator>Mangesh Vidhale</dc:creator><description>This may helps you&lt;br /&gt;
&lt;br /&gt;
&lt;a href="https://docs.appian.com/suite/help/17.1/Post-Install_Configurations.html#Query_Rule_Limits"&gt;docs.appian.com/.../Post-Install_Configurations.html&lt;/a&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;a href="https://docs.appian.com/suite/help/17.1/Configuring_Relational_Databases.html#row-return-limits-for-the-query-database-smart-service"&gt;docs.appian.com/.../Configuring_Relational_Databases.html&lt;/a&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: What are the limitations of Query Entity?</title><link>https://community.appian.com/thread/56338?ContentTypeID=1</link><pubDate>Thu, 07 Jun 2018 13:36:44 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:2d133887-ee8a-4548-9fa3-7c29de6e44f3</guid><dc:creator>PhilB</dc:creator><description>&lt;p&gt;That&amp;#39;s a bit of a vague question - maybe start with &lt;a href="https://docs.appian.com/suite/help/18.2/fnc_system_a_queryentity.html"&gt;this documentation&lt;/a&gt; and work through the documentation for each of the functions used as parameters?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>