Creating custom data sets in
sThis guide explains how to create custom data sets and add them to your
s.Introduction
Create custom data sets to visualize custom data in your datastreams. Use custom data sets to achieve the following goals:
in addition to the data fetched from your-
Add a metric and assign it a value.
-
Add a metric and dimension and assign them a value.
-
Add a target value or a benchmark. This lets you display a horizontal line in your widget so that you can visually compare all data in the widget against a target value or a benchmark.
Prerequisites
Before you complete the procedure in this guide, perform all of the following actions:
Procedure
To add a target value or benchmark to your
, follow these steps:-
Go to the Explore page.
-
At the top of the page, select the View tab that contains the .
-
Select a data set from the data table.
You can only create a custom data set if you have already selected at least one data set.
-
Below the data table, in the Data sets section of the page, click + Add custom.
To create a dimension and metric, continue to step 5. To only create a new metric, skip to step 6.
-
Enable the Dimension toggle, then follow these steps.
-
Choose how you want to create your custom dimension:
-
Choose Select to choose an existing dimension and assign a value to it. In the Select dimension drop-down menu, select the existing dimension you want to use.
-
Choose Create to create a new dimension and assign a value to it. In the Create dimension field, enter a name for the new dimension.
-
In the Value field, enter the value for your new dimension.
-
Choose how you want to create your custom metric:
-
Choose Select to choose an existing metric and assign a value to it. In the Select metric drop-down menu, select the existing metric you want to use.
-
Choose Create to create a new metric and assign a value to it. In the Create metric field, enter a name for the new metric.
-
-
In the Format field, select the format for your new metric.
-
In the Fractional digits field, select how many decimal places this metric should use.
-
In the Value field, enter the value for your new metric.
-
Click Create.
As a result, you have added a custom data set containing a new metric and, if selected, a new dimension to your .