Log in
::
Register
::
Not logged in
Home
Tags
Articles
Editorials
Stairways
Forums
Scripts
Videos
Blogs
QotD
Books
Ask SSC
SQL Jobs
Training
Authors
About us
Contact us
Newsletters
Write for us
Recent Posts
Recent Posts
Popular Topics
Popular Topics
Home
Search
Members
Calendar
Who's On
Home
»
SQL Server 2005
»
Business Intelligence
»
Average in ssrs 2008
Average in ssrs 2008
Rate Topic
Display Mode
Topic Options
Author
Message
uttar
uttar
Posted Tuesday, November 13, 2012 12:43 PM
Forum Newbie
Group: General Forum Members
Last Login: Sunday, January 06, 2013 7:35 PM
Points: 3,
Visits: 52
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 z
365 test1 Ken
for X= 365 i want to find the average. i try =avg(Fields!items.value) still give me 365.
thanks in advance.
Post #1384257
Koen Verbeeck
Koen Verbeeck
Posted Tuesday, November 13, 2012 11:51 PM
SSCrazy Eights
Group: General Forum Members
Last Login: Today @ 2:11 AM
Points: 9,378,
Visits: 6,473
You have only 1 row. How are you supposed to find an average that is not 365?
How to post forum questions.
Need an answer? No, you need a question.
What’s the deal with Excel & SSIS?
Member of
LinkedIn
. My blog at
LessThanDot
.
MCSA SQL Server 2012 - MCSE Business Intelligence
Post #1384405
uttar
uttar
Posted Wednesday, November 14, 2012 12:35 PM
Forum Newbie
Group: General Forum Members
Last Login: Sunday, January 06, 2013 7:35 PM
Points: 3,
Visits: 52
hi Koen Verbeeck
i have multiple rows this is and example as mention above.
Post #1384812
Koen Verbeeck
Koen Verbeeck
Posted Wednesday, November 14, 2012 2:07 PM
SSCrazy Eights
Group: General Forum Members
Last Login: Today @ 2:11 AM
Points: 9,378,
Visits: 6,473
uttar (11/14/2012)
hi Koen Verbeeck
i have multiple rows this is and example as mention above.
I only see 1 row in your example.
How to post forum questions.
Need an answer? No, you need a question.
What’s the deal with Excel & SSIS?
Member of
LinkedIn
. My blog at
LessThanDot
.
MCSA SQL Server 2012 - MCSE Business Intelligence
Post #1384852
patrickmcginnis59
patrickmcginnis59
Posted Thursday, November 15, 2012 6:47 AM
SSC-Addicted
Group: General Forum Members
Last Login: Wednesday, January 16, 2013 4:23 PM
Points: 415,
Visits: 2,333
uttar (11/13/2012)
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 z
365 test1 Ken
for X= 365 i want to find the average. i try =avg(Fields!items.value) still give me 365.
thanks in advance.
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.
Post #1385134
« Prev Topic
|
Next Topic »
Permissions
You
cannot
post new topics.
You
cannot
post topic replies.
You
cannot
post new polls.
You
cannot
post replies to polls.
You
cannot
edit your own topics.
You
cannot
delete your own topics.
You
cannot
edit other topics.
You
cannot
delete other topics.
You
cannot
edit your own posts.
You
cannot
edit other posts.
You
cannot
delete your own posts.
You
cannot
delete other posts.
You
cannot
post events.
You
cannot
edit your own events.
You
cannot
edit other events.
You
cannot
delete your own events.
You
cannot
delete other events.
You
cannot
send private messages.
You
cannot
send emails.
You
may
read topics.
You
cannot
rate topics.
You
cannot
vote within polls.
You
cannot
upload attachments.
You
may
download attachments.
You
cannot
post HTML code.
You
cannot
edit HTML code.
You
cannot
post IFCode.
You
cannot
post JavaScript.
You
cannot
post EmotIcons.
You
cannot
post or upload images.
Copyright © 2002-2013 Simple Talk Publishing. All Rights Reserved.
Privacy Policy.
Terms of Use.
Report Abuse.