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.
| Change | Kept |
|---|---|
| Sort, column widths | Until you close Spanner, unless you save the table. |
| Columns added, changed, moved or deleted | |
| A new table | |
| The favourite star | At once. |
| Changes made in Settings | When you save the settings. |
To save a table: right-click the corner cell, above the row names, and choose Save Table.
Changing a column
Right-click a column's header. The menu offers the general changes, then those that suit what the column shows.
| Edit | Opens the column's settings: what it shows, its headers, width, bar, number format and colours. |
| Move Column Left, Move Column Right | Moves it one place. |
| Delete | Removes 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 Measure | Another measure: volume in place of value, say. |
| Sales Data Change Outlet | The outlet or the channel. |
| Sales Data Change Time Period | The document's other period. |
| Sales Data Change Previous / Latest | The 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
- Right-click the corner cell and choose Add Column.
- 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.
- Fill in Column Headers, one box for each line of the table's headers.
- Choose how it looks: Cell Type, Number Style, Number Format and the colours.
- Click the green tick. The column is added at the right-hand end.
- 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 table's own settings
Right-click the corner cell and choose Edit Table. The window is the one pictured under A new table.
| Table ID | A short code for the table, which no other table may share. Other tables refer to it by this. |
| Table Name | The name in the Table list. |
| Table Type | What 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 Levels | How many lines each header has. |
| Row Header Width | The width of the row names. |
| Grid Lines Size, Grid Lines Colour | The thickness and colour of the lines between cells. |
| Lower Table ID | The table to show underneath, if any. |
| Filter | Add 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. |
A new table
- Choose Edit › Add › New Report Table.
- Give it a Table ID and a Table Name. The ID box is red while the ID is empty or already used.
- Choose the Table Type, the number of header lines, and its filters.
- Click the green tick. Spanner opens the Reports tab on the new table, which has no columns yet.
- Add its columns, as above.
- 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 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 list | The up and down arrows move a table. The Reports tab lists tables in this order. |
| Add and delete | The green plus adds an empty table below the row; the red cross deletes the table. |
| Copy and paste | Copy 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 ID | The ID of the table to show underneath. That table needs the Parent Table filter. |
| Sort | The sort the table opens with, on one column or several. |
| Filter | The table's filters. |
| Columns | Every column and all its settings, in one grid. Rest the pointer on a column's Property ID for its letter. |
| The star | Favourite 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.
A worked example
A summary shows each brand's sales value. You want its share of sales beside it.
- 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.
- Add the column. Right-click the corner cell and choose Add Column.
- Give it the same Property Code as the value column, and the same headers with % added to the measure's line.
- Make it a share: Number Style % of Total, Number Format
P1. - Make it match: Cell Type Indicator Bar, Minimum / Maximum Sum, and the value column's colours. Click the green tick.
- Move it with Move Column Left until it sits beside the value.
- Save Table.