Reporting on a single attribute
In Assets, you can create a report on a single attribute.
Creating reports including single attributes requires a little bit more configuration.
1. Create a report and add an expression.
2. Add a function. In the Functions list, three new entries are available:
attributeDateTime
attributeNumber
attributeString
The data type of the attribute included in the report determines which of these functions you must select:
attributeDateTime can be used for attributes of the type Date, Time or DateTime.
attributeNumber can be used for attributes of the type Integer or Decimal.
attributeString can be used for attributes of the type Single-line text, Multiline text and drop-down.
When you add such a function, in the Expression panel at the bottom, the function is added including the Attributes field.
3. You can then add the individual attributes, for example: attributeString('Base assets'.Attributes, "color")
The code of the attribute is case insensitive (in this example: "color" could be "Color").
4. Save your report and click Preview & print.
Your report including the individual attribute is shown on the screen. For more information on using expressions, see Reports.