Like what you see? Have a play with our trial version.

Error rendering macro 'rw-search'

null

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Table of Contents
classcontents

Overview

Styleclass
ClasstopLink

top

Advanced Functions are used to transform results by applying post processing calculations to the initial query results. These functions are database independent as they are performed by Java code, rather than being part of the SQL query.

...

Expand
titleData Conversion

Data Conversion allows you to adjust results once they've returned from the database. For example you may wish to convert a currency value which is stored in the database from a full currency value to a (‘000) where the value is divided by 1000. This transformation can be achieved using the data conversion.


Styleclass
ClasstopLink

top

Custom Advanced Function Example - R Integration

...

Expand
titleClick to expand...

Once installed, you will be able to use this function through the Advanced Function menu.

 

...


Styleclass
ClasstopLink

top

Applying a Function

Report Builder - Data Step

...

  1. Open the field's drop down menu.
  2. Select the Advanced Function option from the list, then select Edit, to open the Advanced Function display.
  3. You will now need to complete the function options:
    1. Apply the appropriate aggregation to the field. This ensures the function is applied on top of any aggregations necessary.
    2. Select which function type you wish to use, from Analysis, Statistical, and Text.
    3. Select the name of the function you wish to use from the list. Once selected, you will see a description of the function displayed next to it. Some functions require extra parameters, which will need to be defined once the function has been selected.
    4. You also have the option to set the function to only display on the Charts page. This hides the field on the report table, but you will still be able to see and edit it through the Column/Row list on the Data step. This allows you to create additional copies of a field to apply functions for graphical purposes, without cluttering your table with extra fields.
  4. When defined, click Save to apply the function.

Applying Data Conversion

Styleclass
ClasstopLink

top

Applying Data Conversion

Data in a field can be converted by completing the following:

  1. Open the Advanced Function display, as outlined in the sections above.
  2. Choose the ‘Data Conversion’ tab. This will provide you with the interface to use to select the conversion you wish to apply.
  3. Choose the aggregation appropriate for you conversion.
  4. Click Add button to select and apply a conversion – this will present you with a list of possible conversions for the data type you have selected. By default there is a java date converter and a Numeric divide converter (This lets you divide a value by 1000’s etc).
  5. Follow the on screen instructions for the converter and click Save.
  6. Note that you can add multiple converters to a data type if required by clicking the add link and creating a new type.

...

Styleclass
ClasstopLink

top

...