Solved

Report builder expression

Posted on 2013-06-13
3
325 Views
Last Modified: 2013-07-01
I have a bit of a complicated requirement - at least it is complicated to me which is why I am hoping to get an assist.

I have a report that has columns (there is more but this is the only necessary info)

Account Officers             Loan Renewal         Loan Amount

Joe Smith                       New                         100.00

Larry Jones                    Renewal                   200.00

Joe Smith                       Renewal                   500.00

Angie Lowe                    Renewal                   100.00

There are various account officers and I need a Dollar Amount breakout of Total Dollar amount of Loan Renewals that are new and a total of Loan renewals that are renewals for each officer.

What I am looking for is

Joe Smith           Total New  =100.00  Total Renewal = 500.00             Loan Total = 600.00

Larry Jones        Total New = 0           Total Renewal = 200.00             Loan Total = 200.00

Angie Lowe        Total New= 0            Total Renewal = 100.00            Loan Total = 100.00
0
Comment
Question by:Sahap Yuzer
  • 2
3 Comments
 
LVL 37

Accepted Solution

by:
ValentinoV earned 500 total points
ID: 39246659
I assume you don't need the details level in that same table?  If you do, you might need to adapt the following a little.

Start by grouping the current details level (Row Groups) on Officer.

Then use an expression like the following to get a total per loan type:

=Sum(IIF(Fields!LoanType.Value = "New", Fields!LoanAmount.Value, 0))

For the overall total you just need Sum(Fields!LoanType.Value)
0
 
LVL 37

Expert Comment

by:ValentinoV
ID: 39246662
Or you could just use a matrix.  Put LoanType in Columns, Officer in Rows and LoanAmount in Data.
0
 
LVL 1

Expert Comment

by:Prakash_Kavar
ID: 39265327
yes,matrix format should be a easiest solution as per your requirement.

so Account officer put in row
    Loan renewal in coloumn so group it by value (new,renewal..etc)
    Loan Amount as data

and at the end you can add total so for individiual officer you get it
0

Featured Post

3 Use Cases for Connected Systems

Our Dev teams are like yours. They’re continually cranking out code for new features/bugs fixes, testing, deploying, testing some more, responding to production monitoring events and more. It’s complex. So, we thought you’d like to see what’s working for us.

Question has a verified solution.

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

Suggested Solutions

In this short article I will be talking about two functions in the SQL Server Reporting Services (SSRS) function stack.  Those functions are IIF() and Switch().  And I'll be showing you how easy it is to add an Else part to the Switch function. T…
A recent questions about how to add SSRS named instances, couldn't find any that talks about SQL server 2008, anyway I decided to help by creating some screen shots. The installation is straightforward, you just pop the SQL server 2008 installati…
This video shows how to use Hyena, from SystemTools Software, to bulk import 100 user accounts from an external text file. View in 1080p for best video quality.
Although Jacob Bernoulli (1654-1705) has been credited as the creator of "Binomial Distribution Table", Gottfried Leibniz (1646-1716) did his dissertation on the subject in 1666; Leibniz you may recall is the co-inventor of "Calculus" and beat Isaac…

808 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