Solved

Report builder expression

Posted on 2013-06-13
3
324 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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Introduction As you'll probably know, a data region in a SQL Server Reporting Services report can be linked to only one dataset.  This makes it troublesome when you need to display data from more than one dataset in the same data region.  SQL Serve…
How to use Variables  and Custom code in SSRS report and Assembly reference to use compile shared code in SSRS. Its big question for all who are working with SSRS. It is easy to create assembly and refer in SSRS report, still there are some steps…
This is used to tweak the memory usage for your computer, it is used for servers more so than workstations but just be careful editing registry settings as it may cause irreversible results. I hold no responsibility for anything you do to the regist…
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

27 Experts available now in Live!

Get 1:1 Help Now