In this article
- In the Data Source toolbox, right-click on the Segment folder and select Add Segment Tree (Inside) .
- Double-click the new segment or right-click on it and select Edit.
Figure 1 - Adding a Segment
The segment tree designer that opens is similar to the filter tree designer (go to Creating a Filter Tree - Example for more information).
The example of "males between 31 and 60 years who test-drove a Ford, Volvo or BMW, and who think safety is important or very important" can be defined as shown in the figure below.
Figure 2 - Defining a Segment
The definition shown gives those answering code 1 (Male) to question q3 (gender) AND code 3, 4 or 5 ("31 to 40" or "41 to 50" or "51 to 60") to question q4 (age), AND who test drove either a Ford (code 2) a BMW (code 3) or a Volvo (code 5), AND who selected codes 4 or 5 on the Safety part of grid question qual1_4.
You can give the segment a title for each of the report languages. This title will be used in the header in aggregated tables. Titles are set in the Segment Properties page . To open this page, right-click the header in the report tree and select Properties.
Figure 3 - Giving the Segment a title
In an aggregated table, a segment may be used like any other variable . It can be nested and/or stacked with questions or other segments, in rows and/or columns. You can also include segments in banners.
Figure 4 - Including the Segment in an Aggregated Table