Solved

Adding textbox in SQL Reporting services

Posted on 2009-05-05
3
893 Views
Last Modified: 2012-05-06
Guy thanks for the help in SSRS.

What I have now is a complet table with one query.

I need to add tables in the query.

something like.

Table 1 + Table 2 = Table3 (Total of 1 and 2)
then take Table 3 Total and add something in Table 4.

Can you do math with the Textbox names in the talbes?

Sam
0
Comment
Question by:SamRunyon
3 Comments
 
LVL 13

Expert Comment

by:St3veMax
ID: 24303866
You can add different values from multiple data sources; Click on 'Expression' when you right click on the cell you want the value in, then select the value 1 from Dataset 1 then value 2 from dataset 2, so you expression will end up with something like this:

=Fields!Dataset1.Value1 + Fields!Dataset2.Value2

HTH
0
 

Author Comment

by:SamRunyon
ID: 24304094
Steve I tried that.

=Fields!EnergyClassic.Value * Fields!DataSetSpectraBTUFactor.Value

this is the error I got.

[rsFieldReference] The Value expression for the textbox EnergyClassic refers to the field DataSetSpectraBTUFactor.  Report item expressions can only refer to fields within the current data set scope or, if inside an aggregate, the specified data set scope.
Build complete -- 1 errors, 0 warnings

Any Help.
0
 
LVL 26

Accepted Solution

by:
Chris Luttrell earned 500 total points
ID: 24308198
you cannot reference items from another dataset like that, you can only reference aggregates and use a SCOPE of the dataset.  Don't know your exact values but something like this in Table4 could refference the total of a field from Table3.
=SUM(Fields!EnergyClassic.Value,"Table3")*Fields!DataSetSpectraBTUFactor.Value
0

Featured Post

Control application downtime with dependency maps

Visualize the interdependencies between application components better with Applications Manager's automated application discovery and dependency mapping feature. Resolve performance issues faster by quickly isolating problematic components.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

A recent question popped up and the discussion heated up regarding updating a COMMENTS (TXT) field in a table using SSRS. http://www.experts-exchange.com/Microsoft/Development/MS-SQL-Server/MS-SQL_Reporting/Q_27475269.html?cid=1572#a37227028 (htt…
In this article we will get to know that how can we recover deleted data if it happens accidently. We really can recover deleted rows if we know the time when data is deleted by using the transaction log.
This Micro Tutorial demonstrates using Microsoft Excel pivot tables, how to reverse engineer competitors' marketing strategies through backlinks.
Internet Business Fax to Email Made Easy - With  eFax Corporate (http://www.enterprise.efax.com), you'll receive a dedicated online fax number, which is used the same way as a typical analog fax number. You'll receive secure faxes in your email, f…

863 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

21 Experts available now in Live!

Get 1:1 Help Now