You are viewing an old version of this page. View the current version.

Compare with Current View Page History

Version 1 Next »

Transforming attribute into indicator


Please use this function carefully especially when data has already been imported to the data set. Transforming an existing indicator into attribute may affect data structure mapping while using import template during next data imports.

Also be sure that no formulas are based on this indicator before performing the transformation. Otherwise some data in reports and/or dashboards may become unavailable.

The original attribute is no longer available now and you will find it as an indicator under Indicators left submenu. The indicator gets new code with "M_" prefix.

Only numeric members will be transformed to indicator values! Other members will be ignored and corresponding indicator values will be empty. This operation is usually irreversible therefore.

Transforming attribute values using script

You can transform the attribute values using the transformation script.

How to access the column values?

Accessing the value we want to process is a key issue. Scripts provide a function value() which returns the current value. There are more advanced possibilities to access values:

String value() - returns the current value
String value(String columnCode) - returns the value of the specified column
LocalDate rowDate() - returns date of the current row
LocalTime rowTime() - returns time of the current row

To get more information about the transformation, visit the developers section Transformation scripting.

Next Steps

  • No labels