Solved

SRS Total not calculating correctly

Posted on 2011-03-22
8
948 Views
Last Modified: 2012-05-11
See screen shot.  

My total is not adding correctly for every column.  What do I need to change?

Screen Shot
0
Comment
Question by:CPA_MCSE
  • 4
  • 3
8 Comments
 

Expert Comment

by:ibbz-au
ID: 35194290
Try =Sum(DISTINCT()). Function
0
 

Author Comment

by:CPA_MCSE
ID: 35194363
Thanks for the reply.  That threw out an error.

Tried both

=Sum(DISTINCT(Fields!Revenue_Amt.Value))

=Sum(DISTINCT((Fields!Revenue_Amt.Value)))

Capture.JPG
0
 
LVL 9

Expert Comment

by:sureshbabukrish
ID: 35197486
are you using matrix or a tablix or a table?  the columns are dynamic or static?
0
DevOps Toolchain Recommendations

Read this Gartner Research Note and discover how your IT organization can automate and optimize DevOps processes using a toolchain architecture.

 
LVL 9

Expert Comment

by:sureshbabukrish
ID: 35197495
do one thing, in sql use Isnull(Revenue_Amt,0) instead of just Revenue_Amt.
0
 

Author Comment

by:CPA_MCSE
ID: 35198655
Thank you for the replies.  This is a table report, not a matrix.  Adding Isnull is fine, but does not affect the report totals.

0
 
LVL 9

Expert Comment

by:sureshbabukrish
ID: 35199529
can you send the rows (data) which your query pulls?
0
 

Accepted Solution

by:
CPA_MCSE earned 0 total points
ID: 35378890
Abandoning this question.  Report requirements changed.
0
 

Author Closing Comment

by:CPA_MCSE
ID: 35410360
Abandoning this question.  Report requirements changed.
0

Featured Post

Free Tool: Port Scanner

Check which ports are open to the outside world. Helps make sure that your firewall rules are working as intended.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Suggested Solutions

This code started out as a fix for a customer that had incoming data that was hunderds of numbers and words long that was to fit in one column. The problem was that the customer did not want to split words or numbers when wrapping in the column. …
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…
The Email Laundry PDF encryption service allows companies to send confidential encrypted  emails to anybody. The PDF document can also contain attachments that are embedded in the encrypted PDF. The password is randomly generated by The Email Laundr…
I've attached the XLSM Excel spreadsheet I used in the video and also text files containing the macros used below. https://filedb.experts-exchange.com/incoming/2017/03_w12/1151775/Permutations.txt https://filedb.experts-exchange.com/incoming/201…

679 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