Rolling totals in SQL Reporting Services SSRS

I have a rolling total sorted by most recent date:

10/1/2011 - 5 - 5
10/3/2011 - 4 - 9
10/5/2011 - 10 - 19
10/7/2011 -  5 - 24

I have criteria already setup that if my running total exceeds 10, it highlights the row.  In my example above, the date 10/5/2011 is when I would be over 10.

I'm using RunningValue to do the Sum and that is working fine, but how can I identify the value of 10/5/2011 in my example and display that in the parent group?
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

This is best done in the SQL query returning the results.

Create a temporary table to hold the values you've listed above, include a blank column to hold the "threshold date".
Here is a link on running totals in SQL;

Find the threshold date using something similar to;

    Declare @Threshold DateTime
    Select @Threshold = Min(Date) From @TempTable Where RunningTotal >= 10
    Update @TempTable
        Set ThresholdCrossed = @Threshold

This will place the date the threshold was crossed onto every record. Making it available to your parent group just by using the Threshold field from the query.

Hope that helps?

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
This question has been classified as abandoned and is closed as part of the Cleanup Program. See the recommendation for more details.
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Microsoft SQL Server

From novice to tech pro — start learning today.