SQL Server Forums
Profile | Register | Active Topics | Members | Search | Forum FAQ
 
Register Now and get your question answered!
Username:
Password:
Save Password
Forgot your Password?

 All Forums
 SQL Server 2008 Forums
 Analysis Server and Reporting Services (2008)
 Average in ssrs 2008
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

Vadz
Starting Member

Fiji
11 Posts

Posted - 11/13/2012 :  14:57:35  Show Profile  Reply with Quote
Hi,

I try =AVG(Fields!items.value) still not give the exact average value but give me the value that i want to take the average.any other ways on how to calculate the average value? 365 in in my database so how can i find the average value using my ssrs expression.

thanks in advance

sunitabeck
Flowing Fount of Yak Knowledge

5155 Posts

Posted - 11/13/2012 :  15:45:10  Show Profile  Reply with Quote
Specify the dataset name also - for example
=AVG(Fields!items.value,"DataSet1")

Edited by - sunitabeck on 11/13/2012 15:45:26
Go to Top of Page

Vadz
Starting Member

Fiji
11 Posts

Posted - 11/13/2012 :  17:09:17  Show Profile  Reply with Quote
hi sunita

i try that still not give me the right value..if i use that expression as u mention like 365 to take the average value still give me 365.nothing changes..
Go to Top of Page

LarryC74
Yak Posting Veteran

94 Posts

Posted - 11/17/2012 :  18:33:29  Show Profile  Reply with Quote
What's the data type fot that field?

Try:
=AVG(Cint(Fields!Items.value))

Everyday life brings me back to reality
Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Reply to Topic
 Printer Friendly
Jump To:
SQL Server Forums © 2000-2009 SQLTeam Publishing, LLC Go To Top Of Page
This page was generated in 0.07 seconds. Powered By: Snitz Forums 2000