SUM the rows related with a expression box in SSRS 2008

All,

Im stumped. How can I sum up the rows below in a table in SSRS where it involves a textbox expression? See image.

I tried using SUM(ReportItems!Textbox1.Value), but I get an error saying that it can only work if its on a header or footer.

Please someone help! I cannot change the layout so I have to try to fit it in this design.

The circle box is where the total should be for the items in the table below in SSRS 2008.

Thanks in advance!Untitled.png
teknovationAsked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

teknovationAuthor Commented:
anyone?!
0
teknovationAuthor Commented:
anyone?!
0
Ryan ChongCommented:
how's your SQL statement looks like? if you can't change the design we may need to use a union clause in your SQL statement so that we can append the "total" at the top or bottom of the detailed records
0
Ultimate Tool Kit for Technology Solution Provider

Broken down into practical pointers and step-by-step instructions, the IT Service Excellence Tool Kit delivers expert advice for technology solution providers. Get your free copy now.

Vitor MontalvãoMSSQL Senior EngineerCommented:
Like the error says the SUM only works on a header or footer section.
If you can't change you need to work out the sql server query to return that value for your report.
0
teknovationAuthor Commented:
no sql involved. only fetch xml for dynamic crm
0
teknovationAuthor Commented:
Thanks Vitor...found this link seems to be identical to what I'm trying to achieve, however it cannot sum the expression textbox correctly.

 Similiar solution, close but no cigar
0
Vitor MontalvãoMSSQL Senior EngineerCommented:
That solution is what I was talking about: changing the sql query so it brings the SUM result.
0
teknovationAuthor Commented:
There are no sql attachment, only FETCH XML with SET expressions.
0
teknovationAuthor Commented:
When trying to sum the columns with a sum function, this is the actual error:

The Value Expression for the text run "TotalSum.Paragraphs[0]' uses an aggregate function on an report item. Aggregate function can be used only on report items contained in page headers and footers.
0
teknovationAuthor Commented:
Please close this issue - no resolution was provided by EE experts here.

I figured it out, adding a row below the child group and then reference it at the parent level using ReportItems!Label1.Value.
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
teknovationAuthor Commented:
No solution was provided by anyone else
0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
SSRS

From novice to tech pro — start learning today.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.