Go Premium for a chance to win a PS4. Enter to Win

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 143
  • Last Modified:

Matrix report - Cumulative data in each Fiscal Year

I have an SSRS report that currently shows transaction data that occurs each fiscal year.  Here is my dataset:

Select ClaimantID, 
'6/30/'+Substring(dbo.GetF<wbr ></wbr>iscalYear(<wbr ></wbr>r.Processe<wbr ></wbr>dDate),6,4<wbr ></wbr>) as ProcessedFY,
SUM(r.ReserveAmount) as TotalIncurred
FROM dbo.Reserve r ( NOLOCK ) 
LEFT JOIN dbo.ReserveType rt ON r.ReserveTypeID = rt.ReserveTypeID

WHERE r.ProcessedDate BETWEEN @FYStart AND @FYEnd

GROUP BY ClaimantID, '6/30/'+Substring(dbo.GetF<wbr ></wbr>iscalYear(<wbr ></wbr>r.Processe<wbr ></wbr>dDate),6,4<wbr ></wbr>)
HAVING SUM(r.ReserveAmount) >0.00

Open in new window


I need to change the report or query (not sure which) to total each FY cumulative.
So If I run the data from FY 2000 to FY2012 then FY will have the data from 2000 and FY 2001 will be a total of 2000 and 2001.

I would REALLY appreciate the experts help on this as I am stuck.  

Thank you in advance!!
Scott
0
Scott Williams
Asked:
Scott Williams
1 Solution
 
Scott WilliamsAuthor Commented:
I found the RunningValue formula.  But it seems I can't replace my value in the matrix table with this.  Anybody know how to use this =RunningValue(Fields!TotalIncurred.Value,Sum,"Incurred") in a matrix?
0
 
Phillip BurtonCommented:
Try using

Null 

Open in new window


or

Nothing 

Open in new window


instead of

"Incurred"
0

Featured Post

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Tackle projects and never again get stuck behind a technical roadblock.
Join Now