In survey research, it is commonplace to create tables that show the answers to multiple questions across the top. For example, the table below shows both age and gender as columns. In this post, I show how to make such a banner in Displayr.

Selecting the variables in the banner

Once you have added a data set to your document:

  • Click on the first variable you wish to include in the banner. In the above example, I've used age.
  • Press Insert > Banner (Variables). This creates a new variable set called BANNER at the top of the data set.
  • Drag across the next variable and place it adjacent to the first variable in the BANNER field on the right of the page. In the example below, I've placed D3 - Gender to the right of age.
  • Add or remove further variables as needed. Keep in mind though that once a banner goes off the edge of the page, it's probably too big.

Reviewing your banner

As you drag across variables, you will see a preview that automatically updates. But, a better way to preview it is to create a table at the same time. Do this by:

  1. Dragging simple variable (e.g., age) onto a page
  2. Dragging your banner over the table and releasing it in the Columns field

Customizing the categories that appear in the banner

You can customize the categories that appear in a banner by:

  1. Clicking on the banner variable set.
  2. Checking or unchecking options. These are best understood by clicking on them and seeing what happens. The options are Add sub NETs, Add column Spans of variable set names, and Add Overall NET

Merging categories

Merge categories by holding down your control key, selecting the categories, and selecting from the top of the screen Data Manipulation > Merge and Rename.

The only exception to this is for dates, where you instead need to select the original data variable in the Data Sets Tree and click Date/Time (right-side of the screen).

Coloring/Formatting

You can change the coloring of the fonts, headings, and background of the table using Appearance > Table Styles.

Statistical testing

Statistical testing can be customized using Appearance > Highlight Results.