Login    
 
 
 
 
Text/HTML
  
You are here :: Blogs Saturday, May 19, 2012

Search
Note: This uses the internal blog search engine. The Google search engine is also available at the top of the page.
  
Disclaimer

Please review the site disclaimer before downloading or using content found on this site

  
Categories
  
DEVSHED Blog
As always, I welcome your comments!
Aug 26

Written by: Steve Gray
8/26/2010 7:36 AM  RssIcon

This is my second shot at this. I tried just using a formula in the Report Code section, but the formula recalculates if the user pages back and forth. So, part deux:

If you have a number in a data set that exists at a grouping level (like a beginning balance figure on a trial balance) you’ll need ‘running total’ functionality. That’s almost trivial in Crystal Reports, but SSRS hasn’t gotten there yet.

Here’s how to do a running total in SSRS.

Right click in a blank area of the report, choose Properties.

Choose ‘Code’

Add this code to the code window:

image

Next, add a Report level Variable (we’ll use this in the last step):

image

 

Then in the group line, add this expression:

image

I had to change the font color to White to hide the field… not optimal.

Last, in the report footer, add this:

image

This is a reference to the Variable that we added in step 2

(sigh) Waaay too hard. Microsoft, are you listening?

Tags:
Categories:
Location: Blogs Parent Separator DEVSHED Blogs Child Separator SQL
As always, I welcome your comments!
  
 
 
Home | Products | Blogs | Contact Us | Links | God's Plan
Privacy Statement | Terms Of Use
 
Copyright 2011 by Devshed.us