Reports in Depth · Part 3

Changing and Building Tables

A table is a list of columns with a few settings of its own, and all of it can be changed. Change a column's measure for a meeting, add a column you always want, or build a table from nothing. The one thing to remember is to save what you want to keep.

Saved or not

Changes you make to a table on the Reports tab are not saved until you say so. This is deliberate: you can try a different measure, or sort and narrow a table for one job, without spoiling the table you rely on.

ChangeKept
Sort, column widthsUntil you close Spanner, unless you save the table.
Columns added, changed, moved or deleted
A new table
The favourite starAt once.
Changes made in SettingsWhen you save the settings.

To save a table: right-click the corner cell, above the row names, and choose Save Table.

Save Table before you open Settings. The Settings window works from the saved tables. When you save your settings, the saved tables replace the ones on the Reports tab, and any change you had not saved is gone.
This guide is for Spanner 2.5.1.2 and later. What each of a column's settings means is in Part 4.

Changing a column

Right-click a column's header. The menu offers the general changes, then those that suit what the column shows.

EditOpens the column's settings: what it shows, its headers, width, bar, number format and colours.
Move Column Left, Move Column RightMoves it one place.
DeleteRemoves it from the table.

For a column of sales, four more changes swap one part of what it shows and correct its header to match:

Sales Data Change MeasureAnother measure: volume in place of value, say.
Sales Data Change OutletThe outlet or the channel.
Sales Data Change Time PeriodThe document's other period.
Sales Data Change Previous / LatestThe other year.

When you change a measure, Spanner asks whether to change the table's other columns of that measure too, and any columns calculated from it. Answer yes, and a whole summary moves from value to volume in one step.

  • Change Calculated Measure and Change Classification do the same for those kinds of column.
  • Change ... to appears where a column was built to be switched, such as a share-of-space column that can show listings, facings, linear space or area.

Adding a column

  1. Right-click the corner cell and choose Add Column.
  2. Fill in Property Code: what the column shows. Part 4 lists the codes. The quickest way to find one is to look at a column that already shows something similar: right-click its header and choose Edit.
  3. Fill in Column Headers, one box for each line of the table's headers.
  4. Choose how it looks: Cell Type, Number Style, Number Format and the colours.
  5. Click the green tick. The column is added at the right-hand end.
  6. Move it into place with Move Column Left, and Save Table if you want to keep it.

A column appears only if the open document can fill it. If you add a column and nothing appears, the code names something the document does not have: a measure it has no data for, or a misspelt property. Check the code against a column that works.

The column settings window. Property Code is Planogram_CompareToPositions. Column Headers has four boxes, the first three filled. Below are Column Width, Minimum / Maximum, Cell Type, Hue Scale, Number Style, Number Format, Scale by and Aggregation, then the negative and positive Background, Foreground and Indicator colours, Edit Command and Custom Command. A red cross is at the top right and a green tick at the bottom right
A column's settings. This table has four header lines, so Column Headers has four boxes.

The table's own settings

Right-click the corner cell and choose Edit Table. The window is the one pictured under A new table.

Table IDA short code for the table, which no other table may share. Other tables refer to it by this.
Table NameThe name in the Table list.
Table TypeWhat a row is: see Part 1. Changing it only makes sense for a table with few columns, as most columns suit one kind of row.
Column Header LevelsHow many lines each header has.
Row Header WidthThe width of the row names.
Grid Lines Size, Grid Lines ColourThe thickness and colour of the lines between cells.
Lower Table IDThe table to show underneath, if any.
FilterAdd one with the green plus. What the table follows: Product Filter, Planogram Filter, Selected Planogram. Parent Table makes it a lower table, which follows the rows selected above it.
The right-click menu on the corner cell of a table: Export, Add Column, Edit Table and Save Table
The corner cell's menu.

A new table

  1. Choose Edit › Add › New Report Table.
  2. Give it a Table ID and a Table Name. The ID box is red while the ID is empty or already used.
  3. Choose the Table Type, the number of header lines, and its filters.
  4. Click the green tick. Spanner opens the Reports tab on the new table, which has no columns yet.
  5. Add its columns, as above.
  6. Save Table. A new table that is not saved is gone when you close Spanner.

Starting from a table that is nearly right is usually quicker: copy it in Settings, as below, and change the copy.

The Edit menu with Add open. New Report Table, the last item of the Add list, is highlighted
Edit › Add › New Report Table.
The New Table window: Table ID, Table Name, Table Type, Column Header Levels, Row Header Width, Grid Lines Size, Grid Lines Colour, Lower Table ID, and a Filter box with a green plus beside it
The New Table window. Edit Table opens the same window for a table you already have.

The list in Settings

Every table is listed in Tools › Settings, under Tables. This is the place to put tables in order, copy them, pair them up and delete them.

The order of the listThe up and down arrows move a table. The Reports tab lists tables in this order.
Add and deleteThe green plus adds an empty table below the row; the red cross deletes the table.
Copy and pasteCopy takes a table's whole definition as a line of text. Paste makes a table from it, below the row. Give the new table its own ID straight away: two tables must not share one.
Lower Table IDThe ID of the table to show underneath. That table needs the Parent Table filter.
SortThe sort the table opens with, on one column or several.
FilterThe table's filters.
ColumnsEvery column and all its settings, in one grid. Rest the pointer on a column's Property ID for its letter.
The starFavourite or not.

A copied definition is plain text, so it can be pasted into an email. That is the simplest way to send a colleague one table: they copy the line, and use Paste in their own Settings. Part 5 covers sharing a whole set.

The Settings Editor with its Tables section open. Each row is a table, with its ID, Name, Table Type, Column Header Levels, Row Header Width, Lower Table ID, Grid Lines Size and Colour, and the number of its Sort levels, Filters and Columns. At the right of each row are arrows, a plus and a cross, copy and paste, and a star. Four buttons run along the foot of the window
The Tables section of Settings. The numbers under Sort, Filter and Columns are counts; the small button beside each opens the list.
The Settings Editor with the Columns grid of one table open over the Tables list. Each row is a column, with its Headers, Property ID, Column Width, Minimum / Maximum, Hue Scale, Cell Type, Number Style, Number Format, Scale by, Aggregation, six colours, Edit Command and Custom
The Columns grid of the space comparison table. The labels #0 to #4 under Custom mark columns that a calculation reads.

A worked example

A summary shows each brand's sales value. You want its share of sales beside it.

  1. Look at the value column. Right-click its header and choose Edit. Note its Property Code, its header lines and its colours, then close the window with the red cross.
  2. Add the column. Right-click the corner cell and choose Add Column.
  3. Give it the same Property Code as the value column, and the same headers with % added to the measure's line.
  4. Make it a share: Number Style % of Total, Number Format P1.
  5. Make it match: Cell Type Indicator Bar, Minimum / Maximum Sum, and the value column's colours. Click the green tick.
  6. Move it with Move Column Left until it sits beside the value.
  7. Save Table.
Ask Spanner AI: "Add a share of sales column next to the sales value in this table, in the same colours." See Part 6.

Want a table built for you?

If your reports don't show what you need, we can build the tables with you, for your own measures and the way your team works.

Email us Book a Demo