Convert Attributes to Time Fields Using Derived Fields
If your data contains time-related fields (attributes) that are not stored in a recognized time format, you can convert them to time fields using a derived field. After the derived field is defined, you can use it instead of the original attribute in your Composer visuals. This is the preferred method because the data in the derived field is constructed as data is read from the data store.
To convert an attribute field to a time field in a derived field:
Log in as a Composer administrator or user with the ability to modify a data source configuration.
Start creating a derived field as described in Create and Modify Derived Fields.
Specify Time for the derived field type.
TEXT_TO_TIMEfunction in a row-level expression in the derived field to convert your field to a time field. See Text Functions.
Test and save the derived field. See Create and Modify Derived Fields
When your changes are complete, select Save, Save & Next, or Finish (depending on the tab) to save the data source configuration and close the wizard.
Please sign in to leave a comment.