Custom Datasets

image-20261105-063508.png

A custom dataset is a dataset you define for reporting when a standard dataset does not include the fields you need. You choose a data source, confirm the query, set up columns and metrics, and publish the dataset so it can be used in Report Builder.

What you can do:

  • Build a dataset from a SQL query, or from an existing table or view.

  • Set column labels, descriptions, date fields, dimensions, and filters.

  • Add aggregate metrics with a SQL expression.

  • Save a draft, or publish the dataset for reporting.

  • Duplicate a dataset you created, then use that copy on a new report.

  • Start from an existing report or template and save a new report on a different dataset.

1. From the menu on the left, navigate to Analytics > Insights Studio and click on the Create button.

image-20261105-063726.png
  • Select Report from the dropdown to enter the report builder screen.

image-20261105-063852.png

Create a custom dataset

Within the report builder, open Data and navigate to the Custom tab.

2026-11-05_12-09-29 (1)-20261105-064013.gif
  • You can see the saved queries/datasets here. Click on Add Custom Dataset and complete Define, Configure, and Save.

image-20261105-064145.png

Define the query

1. Select a data source connection. The first connection is selected by default.

image-20261105-064442.png

2. In the Databases panel, explore tables and views.

image-20261105-064552.png
  • Saved Queries lists work saved from Query Lab.

  • Datasets lists published and draft datasets.

3. Use the menu on a table or view to preview data, sort columns, or open the data dictionary. Select Select as Dataset to fill in the SQL from that table or view.

4. Review column details, and select a column name to copy it.

5. Write or edit the SQL. The editor offers type-ahead and syntax highlighting.

6. Select Run Query. On the Results tab, search the results, rearrange or show and hide columns, and download a CSV if you need one.

2026-11-05_12-17-05 (1)-20261105-064725.gif

7. Select Next after the query validates. Insights Studio saves a draft with a timestamped name. You can rename it before you publish.

2026-11-05_12-18-30 (1)-20261105-064846.gif

Items opened from the browsing panel are read-only.

To change a saved query, edit it in Query Lab. Contact your account team to discuss enablement.

Configure columns

image-20261105-064932.png

Field

What it does

Column

Field name returned by the query.

Description

Help text for the field in Report Builder.

Label

Display name. When left blank, the field name is used.

Data Type

Taken from the SQL. To change it, cast the column on Define.

Is Temporal

Marks a date column. At least one date column is required.

Default DateTime

The date column used for date filtering when the dataset has more than one.

Is Dimension

Makes the column available as a dimension. A column that is not a dimension can still be used in a metric.

Is Filterable

Makes the column available as a report filter.

Delete

Removes the column from the dataset. To restore it, edit the query.

To keep a column available for metrics without showing it as a dimension, clear Is Dimension.

Configure metrics

On the Metrics tab, select Add Item for each field that needs an aggregate. Set the name, label, data type, format, and SQL expression.

2026-11-05_12-20-27 (1)-20261105-065057.gif
  • Supported data types are Numeric, String, DateTime, and Boolean. The formats you can choose depend on the data type. Expressions can use functions such as SUM, AVG, and COUNT.

  • Leave dimensions on the Columns tab when you want to use them as they are. For a numeric field used only in an aggregate, clear Is Dimension.

  • Previous to return to Define. Next saves the configuration and opens Save.

Save or publish

Enter a short name and a description of the dataset’s purpose and granularity.

  • Leave Publish off to keep the dataset as a draft.

  • Turn Publish on to make the dataset available for reporting.

Draft datasets are not listed when you choose a dataset on Save As. Publish the dataset before you use it on a report.


Duplicate a dataset

Open the dataset’s action menu. The menu includes Edit, Duplicate, and Delete.

  • Edit opens the dataset so you can change it.

  • Delete asks you to confirm. Deletion is permanent and affects reports and dashboards that use the dataset.

image-20261105-074636.png

If duplication fails, Insights Studio shows Unable to duplicate this dataset at this time. No draft is created.

Duplicate copies the full definition, including descriptions, formatting, dimensions, and metrics. The copy is a draft named <Dataset Name> - <date time>. A successful copy shows Dataset duplicated successfully. The dataset you copied stays as it is.

Only the person who created the custom dataset can duplicate it. If you did not create it, Duplicate does not appear.

Publish the copy before you select it for a report. If Custom is filtered or sorted, the copy appears where that search and sort place it. Clear the search if you do not see the new name.

Use the copy on a report

  1. Duplicate the dataset.

  2. Publish the copy. Drafts are not listed under Dataset.

  3. Open the report or template you want to reuse.

  4. Open Save As, select the published copy, and save.

The report or template you started from stays as it is. For example, duplicate Dataset 1 to create Dataset 2. Open Report 1, then use Save As to create Report 2 on Dataset 2.


Use a different dataset

On an existing report or template, open Save As. Dataset lists Standard and Custom datasets.

  • Only published datasets are listed. Search includes datasets past the first page.

  • If the account has no custom datasets, Custom is not shown.

  • Save stays off until the selected dataset’s fields have loaded. The new report uses the dataset selected when loading finishes.

Save As with another dataset always creates a new report, including when you start from a template. The original report, its dashboards and exports, and the source template stay unchanged.

image-20261105-071358.png
  • Save updates the open report and keeps its current dataset. A report that has not been saved yet does not show Dataset. It uses the dataset selected under Data.

2026-11-05_12-45-57 (1)-20261105-071700.gif
  • Cancel or close leaves the open report on its original dataset.

Matching ignores letter case and uses the new dataset’s field names. One selection is kept per field.

What is kept
  • Dimensions and metrics that exist on the new dataset

  • Filters on those fields, including the operator and values

  • The date range, applied to the new dataset’s date field

  • Forecasts whose metrics exist on the new dataset

  • Chart and table settings that still point at available fields, including axes, colors, ranking, annotations, sorting, conditional formatting, columns, and pivots

  • Calculated fields whose referenced fields exist, including their aliases and filters

  • Dynamic parameters whose source field exists. Their choices then come from the new dataset.

  • Fixed-value parameters, even when the column that originally supplied the choices is gone

What is removed
  • Fields, filters, calculations, and dynamic parameters that are not on the new dataset

  • A dynamic parameter’s saved value, and any calculation that depends on it, when its source field is missing

  • Forecast metrics that are not on the new dataset

Widgets whose required fields all match show the new data. A widget that needs a missing field shows an empty or error state.

Save is available when the new dataset shares at least one dimension and at least one metric. If it shares no fields, only dimensions, or only metrics, Save As shows Please choose another dataset with matching fields. and Save stays off.

Fields that do not match are dropped. They do not block saving on their own.

If the fields cannot be loaded, Save As shows We couldn't load this dataset's fields. Please try again or choose another dataset. Save stays off until you choose a dataset that loads.