Creating segments

CDP Data Visualization lets you easily create a new segment definition.

  1. On the main navigation bar, click Data.

    The Data view appears.

  2. Open the Datasets tab.
  3. Find the dataset in the list of datasets, either by scrolling or by using search, and click it.

    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.

  4. In the side navigation menu, click Segments.

    The Segments view appears.

  5. In the Segments interface, click New Segment.

    The Add Segment modal window appears.

  6. 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.
  7. In the Filter Expression modal window, enter the following expression to show flights that are delayed:
    [airtime] IS NOT NULL AND [depdelay] > 0
  8. Optional: Click Validate Expression to verify correctness.
  9. Click Apply to save the filter and return to the Add Segment modal window.

    The new filter appears under Filters.

  10. Click Save.

    The new segment definition appears in the Segments interface.

    To view how segments work in a visual, see Using Segments in Visuals.