Hi Andreas,
I see two options for the decode:
- You create a big replace function with many replaces or
- Create your own custom function using c++ (there is already some code out there) and extension points:
http://help.sap.com/businessobject/product_guides/sbo41/en/sbo41_webi_calc_ext_en.pdf
Best regards,
Victor