I have a report in SQL Server reporting services, grouped by a column “ProdType”.
Each row is a Year. How to calculate Subtotals but with the Difference of value instead the Sum ?
At the moment the expression is : =Sum(Fields!Tot.Value).
Is there a Difference function ?
Thank you
EDIT: In particular, i’ve only 2 records per group:
Prodtype Year Value
A 2000 10
A 2001 12
Diff. +20%
B 2000 5
B 2001 10
Diff. +100%
My main problem is to create the “Diff.” row with the percentage increment / decrement!
Reporting services also includes the First and Last aggregate functions, which will work provided you do always only have 2 values in each group. You should be able to perform a % calculation using those values.