Click here to Skip to main content
15,886,795 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more: , +
Hi,
I create a report with SSRS 2008 in this format :
year
Data 2010 2011 2012
hp 14 25 30
Dell 17 18 20

what i need when i create the report i want to have another column with the last value concatenation with the last minus or previous one like this :

year
Data 2010 2011 2012 2012/2011
hp 14 25 30 3025
Dell 17 18 20 2018

i tried the last function i got the last value with this function:

=Last(Field!Qte.value) I got the right result 30 and 20

and i tried also the last minus or previous one with this code

=Last(Field!Qte.value)-1 I got the false result 29 and 18
Posted

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900