跳转至

Create Data Set#

🔒 Dataset.Create

🔒 Dataset.CreateTemplate

🔒 Dataset.CreateFromTemplate

Overview#

This Data Platform entity is used to create a Data Set. You can also create a template in .xml format and upload it using the import button, in order to create a new object. This selection is done in the main entity menu.

Setup#

No specific setup is required other than to meet the preconditions of the transaction.

Preconditions#

  • The Data Set name must be unique.

Warning

The following characters are not supported: ".", "/", "\" and "$"

Sequence of Steps#

Step 1: General Data#

  1. Enter the Name of the Data Set (must be unique).
  2. Enter the Description.
  3. The Owner Type, depending on which you will need to set additional configurations:

    • App - when available, select the App that will be using this Data Set
    • Role - select the Owner Role for this Data Set
    • User - select the Owner User for this Data Set
  4. Select Next to continue.

create_data_set_step_01

Fields#

In Fields stage, the user may identify two tabs called Query and Fields. It is important to mention that the Data Set created this way, without a direct link to an IoT Event Definition, is of type Query, meaning it behaves as a materialized view,

  1. In Query tab specify a query to retrieve the fields.
  2. Select the Validate button

create_data_set_step_01

When selecting the Validate button on the top left, you will populate the grid in the Fields tab, located on the top right.

  1. After the fields are filled-in, you can edit the following properties:

    • Description
    • Field Type
      • Dimension
      • Metric
      • Timestamp
      • None
    • Sort Direction
      • Ascending
      • Descending
    • Low Cardinality

Info

For time-series visualization purposes, switch the timestamp properties to None in order to be ignored.

After you have finished the configuration, select Create to complete the operation.

create_data_set_step_02