When writing an SSRS report, it happens that formulas get a little too complicated or use logic that would be better if it was in a Function. This article describes how to write a report-level function in SSRS and call that function from a field expression
This example was written in Visual Studio 2008 against SQL 2008 R2