﻿<?xml version='1.0' encoding='UTF-8'?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/"><channel><title>SQLServerCentral / SQL Server 2005 / Business Intelligence  / Average in ssrs 2008 / Latest Posts</title><generator>InstantForum.NET v2.9.0</generator><description>SQLServerCentral</description><link>http://www.sqlservercentral.com/Forums/</link><webMaster>notifications@sqlservercentral.com</webMaster><lastBuildDate>Wed, 19 Jun 2013 22:01:33 GMT</lastBuildDate><ttl>20</ttl><item><title>RE: Average in ssrs 2008</title><link>http://www.sqlservercentral.com/Forums/Topic1384257-147-1.aspx</link><description>[quote][b]uttar (11/13/2012)[/b][hr]Hi,I want to find the average in my text box.i have my code(conversion) in my report properties(custom code) where i calculate my years,months and days.im my database i have this suppose 1 year= 365 x     y        z365  test1  Kenfor X= 365 i want to find the average. i try =avg(Fields!items.value) still give me 365.thanks in advance.[/quote]I gave your formula =avg(Fields!items.value) and it seemed to work. Did you make sure to put this formula in a parent group? You can't use aggregates unless you also use groupings. For example, I right clicked on the column I wanted to average, and selected "add total". This adds a row that you can use to put aggregates on the whole table. It defaulted to adding a "sum" but I simply changed it to "avg" on the column and it worked.</description><pubDate>Thu, 15 Nov 2012 06:47:34 GMT</pubDate><dc:creator>patrickmcginnis59</dc:creator></item><item><title>RE: Average in ssrs 2008</title><link>http://www.sqlservercentral.com/Forums/Topic1384257-147-1.aspx</link><description>[quote][b]uttar (11/14/2012)[/b][hr]hi Koen Verbeecki have multiple rows this is and example as mention above.[/quote]I only see 1 row in your example.</description><pubDate>Wed, 14 Nov 2012 14:07:48 GMT</pubDate><dc:creator>Koen Verbeeck</dc:creator></item><item><title>RE: Average in ssrs 2008</title><link>http://www.sqlservercentral.com/Forums/Topic1384257-147-1.aspx</link><description>hi Koen Verbeecki have multiple rows this is and example as mention above.</description><pubDate>Wed, 14 Nov 2012 12:35:51 GMT</pubDate><dc:creator>uttar</dc:creator></item><item><title>RE: Average in ssrs 2008</title><link>http://www.sqlservercentral.com/Forums/Topic1384257-147-1.aspx</link><description>You have only 1 row. How are you supposed to find an average that is not 365?</description><pubDate>Tue, 13 Nov 2012 23:51:19 GMT</pubDate><dc:creator>Koen Verbeeck</dc:creator></item><item><title>Average in ssrs 2008</title><link>http://www.sqlservercentral.com/Forums/Topic1384257-147-1.aspx</link><description>Hi,I want to find the average in my text box.i have my code(conversion) in my report properties(custom code) where i calculate my years,months and days.im my database i have this suppose 1 year= 365 x     y        z365  test1  Kenfor X= 365 i want to find the average. i try =avg(Fields!items.value) still give me 365.thanks in advance.</description><pubDate>Tue, 13 Nov 2012 12:43:09 GMT</pubDate><dc:creator>uttar</dc:creator></item></channel></rss>