CDP Data Visualization lets you easily create a new segment definition.
On the main navigation bar, click Data.
The Data view appears.
- Open the Datasets tab.
Find the dataset in the list of datasets, either by scrolling or by using search, and
We are using the dataset Flight Delays based on data previously imported into Data Visualization from a data file . We are also using additional data files.
Dataset side navigation appears, open at Dataset Detail view.
In the side navigation menu, click Segments.
The Segments view appears.
In the Segments interface, click New
The Add Segment modal window appears.
Make the following entries:
- Under Segment Name, enter Delayed Flights.
- Under Segment Group, enter Delay Status.
- Under Filters, click the text box to open the Filter Expression modal window.
In the Filter Expression modal window, enter the following
expression to show flights that are delayed:
[airtime] IS NOT NULL AND [depdelay] > 0
Click Validate Expression to verify correctness.
Click Apply to save the filter and return to the Add
Segment modal window.
The new filter appears under Filters.
The new segment definition appears in the Segments interface.
To view how segments work in a visual, see Using Segments in Visuals.