<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="http://forums.method.me/cs/utility/FeedStylesheets/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>Method:Classic General Q&amp;amp;A</title><link>http://forums.method.me/cs/forums/13.aspx</link><description>Ask technical support questions, how do I? Questions... Or anything else you want to know from the Method Team and other Method users.</description><dc:language>en</dc:language><generator>CommunityServer 2007.1 SP2 (Build: 31113.47)</generator><item><title>Re: Grid subtotals in calculations</title><link>http://forums.method.me/cs/forums/thread/16511.aspx</link><pubDate>Tue, 12 Mar 2013 14:16:33 GMT</pubDate><guid isPermaLink="false">3393c1ec-311b-4812-96cb-ad8c611bba4f:16511</guid><dc:creator>Anonymous</dc:creator><slash:comments>0</slash:comments><comments>http://forums.method.me/cs/forums/thread/16511.aspx</comments><wfw:commentRss>http://forums.method.me/cs/forums/commentrss.aspx?SectionID=13&amp;PostID=16511</wfw:commentRss><description>&lt;p&gt;&lt;BLOCKQUOTE&gt;&lt;div&gt;&lt;img src="/cs/Themes/methodtheme/images/icon-quote.gif"&gt; &lt;strong&gt;bcr_garrett:&lt;/strong&gt;&lt;/div&gt;&lt;div&gt;&lt;/p&gt;
&lt;p&gt;&lt;span id="mce_0_start" style="overflow:hidden;"&gt;Is there any way to&amp;nbsp;&lt;span id="mce_1_start" style="overflow:hidden;"&gt;add other functions to these dynamically created &amp;quot;rows.&amp;quot; &amp;nbsp;I would like to be able to average a column instead of subtotaling - but keep it in the grid for ease of exporting and printing if necessary.&lt;span id="mce_2_start" style="overflow:hidden;"&gt;&lt;span id="mce_4_start" style="overflow:hidden;"&gt;&lt;/span&gt;&lt;span id="mce_5_start" style="overflow:hidden;"&gt;&lt;br /&gt;&lt;/span&gt;Any suggestiong?&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;/div&gt;&lt;/BLOCKQUOTE&gt;&lt;span id="mce_1_start" style="overflow:hidden;"&gt;&lt;span id="mce_3_start" style="overflow:hidden;"&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="overflow:hidden;"&gt;&lt;span style="overflow:hidden;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span id="mce_1_start" style="overflow:hidden;"&gt;&lt;span id="mce_2_start" style="overflow:hidden;"&gt;&lt;span id="mce_4_start" style="overflow:hidden;"&gt;&lt;/span&gt;Hi Garrett,&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;Only subtotals may be part of the grid itself. You can certainly calculate an average for a grid&amp;#39;s column, however that would need to be displayed elsewhere on the screen such as within a label or a textbox. The other alternative is creating a custom report that will display the values exactly as you see fit. You&amp;#39;d still need to develop the action logic to loop through each row in the grid to count them, create a sum, and then calculate the average to output.&lt;/p&gt;
&lt;p&gt;-Angelo&lt;span id="mce_4_end" style="overflow:hidden;"&gt;&lt;span id="mce_5_start" style="overflow:hidden;"&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;</description></item><item><title>Re: Grid subtotals in calculations</title><link>http://forums.method.me/cs/forums/thread/16506.aspx</link><pubDate>Mon, 11 Mar 2013 22:11:56 GMT</pubDate><guid isPermaLink="false">3393c1ec-311b-4812-96cb-ad8c611bba4f:16506</guid><dc:creator>bcr_garrett</dc:creator><slash:comments>0</slash:comments><comments>http://forums.method.me/cs/forums/thread/16506.aspx</comments><wfw:commentRss>http://forums.method.me/cs/forums/commentrss.aspx?SectionID=13&amp;PostID=16506</wfw:commentRss><description>&lt;p&gt;&lt;span id="mce_0_start" style="overflow:hidden;"&gt;Is there any way to&amp;nbsp;&lt;span id="mce_1_start" style="overflow:hidden;"&gt;add other functions to these dynamically created &amp;quot;rows.&amp;quot; &amp;nbsp;I would like to be able to average a column instead of subtotaling - but keep it in the grid for ease of exporting and printing if necessary.&lt;span id="mce_2_start" style="overflow:hidden;"&gt;&lt;span id="mce_4_start" style="overflow:hidden;"&gt;&lt;/span&gt;&lt;span id="mce_5_start" style="overflow:hidden;"&gt;&lt;br /&gt;&lt;/span&gt;Any suggestiong?&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;</description></item><item><title>Re: Grid subtotals in calculations</title><link>http://forums.method.me/cs/forums/thread/8395.aspx</link><pubDate>Tue, 27 Sep 2011 19:15:42 GMT</pubDate><guid isPermaLink="false">3393c1ec-311b-4812-96cb-ad8c611bba4f:8395</guid><dc:creator>Method_Michael</dc:creator><slash:comments>0</slash:comments><comments>http://forums.method.me/cs/forums/thread/8395.aspx</comments><wfw:commentRss>http://forums.method.me/cs/forums/commentrss.aspx?SectionID=13&amp;PostID=8395</wfw:commentRss><description>&lt;p&gt;JKM@SA,&lt;/p&gt;
&lt;p&gt;The grid subtotals are dynamically calculated and are not actually fields but you can use the Get Sum action, to get the sum of a column in a grid.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;So in this case use the get sum action and get the first total, use another get sum and get the second total and then divide those and put it onto a field on the screen. You may even want to place these actions in the After Update or After edit actions of a grid.&lt;/p&gt;
&lt;p&gt;-Michael&lt;/p&gt;</description></item><item><title>Grid subtotals in calculations</title><link>http://forums.method.me/cs/forums/thread/8386.aspx</link><pubDate>Tue, 27 Sep 2011 17:24:46 GMT</pubDate><guid isPermaLink="false">3393c1ec-311b-4812-96cb-ad8c611bba4f:8386</guid><dc:creator>JKM@SA</dc:creator><slash:comments>0</slash:comments><comments>http://forums.method.me/cs/forums/thread/8386.aspx</comments><wfw:commentRss>http://forums.method.me/cs/forums/commentrss.aspx?SectionID=13&amp;PostID=8386</wfw:commentRss><description>&lt;p&gt;Is there are way to use grid subtotals to calculate a field? &amp;nbsp;If so, how do I find out the names of the subtotal fields?&lt;/p&gt;
&lt;p&gt;For example, if I wanted to calculate estimated revenue per hour in a work order, first I would add a field EstRevPerHour. &amp;nbsp;Then I would want to take the Amount subtotal from the Tasks &amp;amp; Materials grid and divide it by the Est Hrs subtotal. &amp;nbsp;I know how to set up the Action to do the Basic Math Calculation. &amp;nbsp;I just don&amp;#39;t know the names of the subtotal fields so I can reference them.&lt;/p&gt;</description></item></channel></rss>