Using JavaScript
Computed Items support the use of JavaScript which allows users to leverage functions beyond those supplied by Interactive Reporting to include the use of conditional logic, variables, and functions. Additionally, Computed Items can access globally defined variables or functions already declared within the document. These features provide users with enhanced flexibility to dynamically modify data presented to the user in a set of results.
Variables and Functions in Computed Items
One very useful feature in Interactive Reporting is the ability to use both functions and variables defined with global scope in Computed Items. The functionality allows a user to write a custom code to apply modifications to data returned from a query. For example, the following simple code can be specified to run when the document is opened...