<?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>Access &amp;amp; Analyzing data from A View</title><link>https://community.appian.com/discussions/f/data/18454/access-analyzing-data-from-a-view</link><description>Hello, 
 
 I am attempting to access data (One column of integers) in a view in the cloud database. My goal is to pull the data and then iterate through it to identify the largest number. I have found different functions that allow me write and/ or delete</description><dc:language>en-US</dc:language><generator>Telligent Community 12</generator><item><title>RE: Access &amp; Analyzing data from A View</title><link>https://community.appian.com/thread/72634?ContentTypeID=1</link><pubDate>Fri, 13 Mar 2020 19:31:34 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:161a6314-b55d-4615-97a3-e0bfc39fa599</guid><dc:creator>Tim</dc:creator><description>&lt;p&gt;There are a few methods for achieving this, as is often the case with Appian it really depends on why you&amp;#39;re trying to do it. You could create another view and use the MySQL max() function (probably the most performant and scalable approach. Or you could just query the column, sort descending and return the 1st result by controlling the pagingInfo attributes. Iterating through an ever growing list of numbers within Appian would not be on most peoples lists of approaches.&lt;/p&gt;
&lt;p&gt;Read up on some of the basic concepts of the a!queryEntity() function and Appian&amp;#39;s query builder wizard here:&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;a href="https://docs.appian.com/suite/help/19.4/Querying_Data_From_an_RDBMS.html"&gt;https://docs.appian.com/suite/help/19.4/Querying_Data_From_an_RDBMS.html&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&lt;a href="https://docs.appian.com/suite/help/19.4/using-the-query-editor.html"&gt;https://docs.appian.com/suite/help/19.4/using-the-query-editor.html&lt;/a&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>