Creating entity segments

Entity segments are a more advanced use of segments, where the extraction of an entity enables cohort analysis.

  1. On the main navigation bar, click Data.
  2. Select Flight Delays dataset.
    Dataset side navigation appears, open at Dataset Detail view.
  3. In the side navigation menu, click Segments.
  4. In the Segments list, find the segment to clone, and click sClone.

    To make our task simpler, we are first cloning the Delayed Departure segment that was created in Cloning Segments .

    A pre-populated Add Segment modal window appears.

  5. Edit the Add Segment modal window by changing its entries.
    • Change Segment Name to Delayed Airlines.
    • Leave other fields 'as is'.
    • Under Entity to extract, click the text box to open the Entity Expression modal window.
  6. In the Entity Expression modal window, enter the following expression:
    [airlineid]
  7. Optional: Click Validate Expression to verify correctness.
  8. Click Apply to save the expression and return to the Add Segment modal window.
  9. In the Add Segment modal window, notice the new expression in the Entity to extract field.
  10. Click Save.

    The new segment definition appears in the Segments interface. The segment Delayed Airlines has an entry in the Entity column, airlineid.

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