Troubleshooting
Problem
This document explains how to add comments in the expressions that may be created in Report Studio to increase the maintainability of code that might be written or used in the expressions.
Resolving The Problem
Although, currently there is no documented support from the Report Studio user interface to add/embed comments in the reports or report expressions, the following workaround will allow to embed comments within an authored expression.
For example, create a calculated data item called Test with the following expression in the expression editor:
#/*Here are the comments*/#
to_char([Namespace].[Query Subject].[Dates], <some date format>)
With the above, the expression should validate without any problems.
Related Information
Was this topic helpful?
Document Information
Modified date:
15 June 2018
UID
swg21340808