<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="https://communities.bentley.com/cfs-file/__key/system/syndication/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/"><channel><title>Log Only Functions</title><link>https://communities.bentley.com/products/geotechnical1/w/wiki/50440/log-only-functions</link><description /><dc:language>en-US</dc:language><generator>Telligent Community 12</generator><item><title>Log Only Functions</title><link>https://communities.bentley.com/products/geotechnical1/w/wiki/50440/log-only-functions</link><pubDate>Fri, 26 Jun 2020 08:46:08 GMT</pubDate><guid isPermaLink="false">6dad98f5-dbc9-4c4d-a9ba-e9da8dc6aa8e:95206689-dc4b-4cc8-b94c-61b1627ee65e</guid><dc:creator>Stephen Evason</dc:creator><comments>https://communities.bentley.com/products/geotechnical1/w/wiki/50440/log-only-functions#comments</comments><description>Current Revision posted to gINT | Keynetix Wiki by Stephen Evason on 6/26/2020 8:46:08 AM&lt;br /&gt;
&lt;h2 class="Heading2"&gt;&lt;/h2&gt;
&lt;p&gt;The following functions require the use of the &amp;#39;Aggregate&amp;#39; or &amp;#39;AggregateAll&amp;#39; prefixes in the following format.&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;[Aggregate.Group.Property]&lt;/li&gt;
&lt;li&gt;[AggregateAll.Group.Property]&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;&amp;#39;Aggregate&amp;#39; performs an aggregation of the values for a single instance whereas &amp;#39;AggregateAll&amp;#39; joins instances to their parent group(s). An example of their use follows.&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;joinDistinct([AggregateAll.DepthRelatedExploratoryInformation.PitLength], &amp;#39;&amp;#39;, &amp;#39; &amp;#39;)&lt;/li&gt;
&lt;li&gt;joinDistinct([Aggregate.DepthRelatedExploratoryInformation.PitLength], &amp;#39;F2&amp;#39;, &amp;#39;+&amp;#39;)+&amp;#39;m&amp;#39;&lt;/li&gt;
&lt;/ul&gt;
&lt;table&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th&gt;
&lt;p&gt;Function&lt;/p&gt;
&lt;/th&gt;
&lt;th&gt;
&lt;p&gt;Description&lt;/p&gt;
&lt;/th&gt;
&lt;th&gt;
&lt;p&gt;Example&lt;/p&gt;
&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;
&lt;p&gt;average&lt;/p&gt;
&lt;/td&gt;
&lt;td&gt;
&lt;p&gt;Calculates the average of the values.&lt;/p&gt;
&lt;/td&gt;
&lt;td&gt;
&lt;p&gt;average(values)&lt;/p&gt;
&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;
&lt;p&gt;count&lt;/p&gt;
&lt;/td&gt;
&lt;td&gt;
&lt;p&gt;Counts the number of entries.&lt;/p&gt;
&lt;/td&gt;
&lt;td&gt;
&lt;p&gt;count(values)&lt;/p&gt;
&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;
&lt;p&gt;join&lt;/p&gt;
&lt;/td&gt;
&lt;td&gt;
&lt;p&gt;Concatenates all values and separates them with a delimiter. A format can specified to present numeric values in a desired format.&lt;/p&gt;
&lt;/td&gt;
&lt;td&gt;
&lt;p&gt;join(values, format, delimiter)&lt;/p&gt;
&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;
&lt;p&gt;joinDistinct&lt;/p&gt;
&lt;/td&gt;
&lt;td&gt;
&lt;p&gt;Concatenates unique values and separates them with a delimiter. A format can specified to present numeric values in a desired format.&lt;/p&gt;
&lt;/td&gt;
&lt;td&gt;
&lt;p&gt;joinDistinct(values, format, delimiter)&lt;/p&gt;
&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;
&lt;p&gt;max&lt;/p&gt;
&lt;/td&gt;
&lt;td&gt;
&lt;p&gt;Determines the maximum value from a list of values.&lt;/p&gt;
&lt;/td&gt;
&lt;td&gt;
&lt;p&gt;max(values)&lt;/p&gt;
&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;
&lt;p&gt;min&lt;/p&gt;
&lt;/td&gt;
&lt;td&gt;
&lt;p&gt;Determines the minimum value from a list of values.&lt;/p&gt;
&lt;/td&gt;
&lt;td&gt;
&lt;p&gt;min(values)&lt;/p&gt;
&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;
&lt;p&gt;orderAsc&lt;/p&gt;
&lt;/td&gt;
&lt;td&gt;
&lt;p&gt;Orders a list such that the elements are in an ascending order.&lt;/p&gt;
&lt;/td&gt;
&lt;td&gt;
&lt;p&gt;orderAsc(values)&lt;/p&gt;
&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;
&lt;p&gt;orderDsc&lt;/p&gt;
&lt;/td&gt;
&lt;td&gt;
&lt;p&gt;Orders a list such that the elements are in a descending order.&lt;/p&gt;
&lt;/td&gt;
&lt;td&gt;
&lt;p&gt;orderDsc(values)&lt;/p&gt;
&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;
&lt;p&gt;sum&lt;/p&gt;
&lt;/td&gt;
&lt;td&gt;
&lt;p&gt;Returns the sum of all values.&lt;/p&gt;
&lt;/td&gt;
&lt;td&gt;
&lt;p&gt;sum(values)&lt;/p&gt;
&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;
&lt;p&gt;first&lt;/p&gt;
&lt;/td&gt;
&lt;td&gt;
&lt;p&gt;Determines the first value from a list of values.&lt;/p&gt;
&lt;/td&gt;
&lt;td&gt;
&lt;p&gt;first(values)&lt;/p&gt;
&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;
&lt;p&gt;last&lt;/p&gt;
&lt;/td&gt;
&lt;td&gt;
&lt;p&gt;Determines the last value from a list of values.&lt;/p&gt;
&lt;/td&gt;
&lt;td&gt;
&lt;p&gt;last(values)&lt;/p&gt;
&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;
</description></item></channel></rss>