?
Solved

SSRS Expressions

Posted on 2012-04-09
7
Medium Priority
?
804 Views
Last Modified: 2012-04-10
How do you calculate RunningValue with (ReportItems!Textbox56.value) type of values.

The calculations are in decimal values and (ReportItems!Textbox56.value) calculation is  = IIF((((Fields!UNITBIDAMOUNT.Value) <> 0 or (Fields!BILLINGQTY.Value))  <> 0) , (Fields!UNITBIDAMOUNT.Value) * ( Fields!BILLINGQTY.Value), 0)
0
Comment
Question by:December2000
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 3
  • 3
7 Comments
 
LVL 23

Assisted Solution

by:wdosanjos
wdosanjos earned 1000 total points
ID: 37823326
You should add it as a Calculated Field to your Dataset.
0
 

Author Comment

by:December2000
ID: 37823495
Wow Thanks @ wdosanjos!

I am sort of a newbie, Then I would use the RunningValue? I am trying to get the net value for the invoice but, I am getting the line value with the sum() expression.
0
 
LVL 23

Expert Comment

by:wdosanjos
ID: 37823503
I'm not sure I understand your last question/statement, but you can use the Calculated Value as any other field defined in the Dataset.
0
Get MySQL database support online, now!

At Percona’s web store you can order your MySQL database support needs in minutes. No hassles, no fuss, just pick and click. Pay online with a credit card.

 

Author Comment

by:December2000
ID: 37823848
SSRS indicates that you can't use calculated fields for aggregates  (ReportItems!Textbox56.value) is a sum of one field added to another.
0
 
LVL 23

Assisted Solution

by:wdosanjos
wdosanjos earned 1000 total points
ID: 37824023
You should use the calculated value added to your Dataset, something like =Sum(Fields!YourRunningValue.Value).
0
 
LVL 21

Accepted Solution

by:
Jason Yousef, MS earned 1000 total points
ID: 37825472
0
 

Author Closing Comment

by:December2000
ID: 37828344
Thank you!
0

Featured Post

On Demand Webinar - Networking for the Cloud Era

This webinar discusses:
-Common barriers companies experience when moving to the cloud
-How SD-WAN changes the way we look at networks
-Best practices customers should employ moving forward with cloud migration
-What happens behind the scenes of SteelConnect’s one-click button

Question has a verified solution.

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

Ever wondered why sometimes your SQL Server is slow or unresponsive with connections spiking up but by the time you go in, all is well? The following article will show you how to install and configure a SQL job that will send you email alerts includ…
In this article we will learn how to fix  “Cannot install SQL Server 2014 Service Pack 2: Unable to install windows installer msi file” error ?
This video shows how to set up a shell script to accept a positional parameter when called, pass that to a SQL script, accept the output from the statement back and then manipulate it in the Shell.
This videos aims to give the viewer a basic demonstration of how a user can query current session information by using the SYS_CONTEXT function
Suggested Courses

777 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