I have an SSRS report which contains various currency entries in the form of €3340.89 stored as a string in the DB.
How can I add a line at the end of the report with the sum totals of that column?
I have an SSRS report which contains various currency entries in the form of €3340.89 stored as a string in the DB.
How can I add a line at the end of the report with the sum totals of that column?
In order to sum them you will need to either:
Cast them as Decimal/Money in the SQL statement.
select CAST(REPLACE('€3340.89', '€','') as DECIMAL(10,4))
Use expressions to convert them in the report, then sum the expressions.
My preference would be the former as it's easier to maintain.