How to create and use custom function is explained in User Functions help article. Note that to use custom functions inside the Standalone Designer it needs to be extended - check Extending Report Designer help article for reference. The designer folder is placed in default Telerik Reporting installation folder, e.g. C:\Program Files (x86)\Progress\Telerik Reporting <VERSION>\Report Designer).
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Feedback Portal and vote to affect the priority of the items