I have an SSRS report that contains a group where the row DataSet contains a date-time column in addition to other value columns. I want to place a pie chart at the top of my report that indicates totals from the newest row based on the date-time column within each group. How can I do this?
Here is a simple snippet of what the report looks like. The pie chart would basically total up all of the Outcomes for the newest "Started DT" row for each "Test Case" group. So, in the example report below, the chart would have a total of 1 "Passed" and 2 "Failed" on the pie chart.
I'm really having a hard time figuring out how to do this. I've tried adding a variable to the group that contains the Outcome from the first row, thinking that I could reference the total of the variables in my chart. Problem is..., SSRS won't let me put an aggregate expression on a Group variable.
ROW_NUMBER()OVER(PARTITION BY TEST_CASE ORDER BY STARTED_DT DESC) AS ROW_NUM
Then you could just filter forROW_NUM = 1
. – Hannover Fist