Reports in Depth · Part 4

Column Reference

Everything a column can show and every way it can look, for when you are building or changing a table. Keep it open beside the column settings window.

Property Code

The Property Code says what the column shows. It is one of these.

The column showsWriteExample
A property of the rowThe property's name.Name, UPC, PositionsCount
A property of what the row belongs toOn a position's row, Product., Fitting. or Planogram. before the name. On a fitting, bay or point of sale row, Planogram.Product.Name
Planogram.Name
SalesA sales code: see below.VALUE_OU_1_TY
A calculated measureIts code, with Aggregation Calculate.cVALUEGROU1
A classificationIts heading in curly brackets, or its number in square brackets, counting from 0. [#] gives a column for every classification.{Brand}, [2]
A product's figure on planogramsA name starting Planogram_.Planogram_SelectedLinearSpace
Planogram_LinearSpace
A calculation on other columnsCALC: and a script: see Calculations.

The Planogram_ figures come in two families:

  • With Selected in the name, for the selected planogram: Planogram_SelectedListings, Planogram_SelectedPositions, Planogram_SelectedFacings, Planogram_SelectedLinearSpace, Planogram_SelectedAreaSpace, Planogram_SelectedCubicSpace.
  • Without, for the filtered planograms together, or for each planogram where the columns repeat: Planogram_Listed, Planogram_Listings, Planogram_Positions, Planogram_Facings, Planogram_LinearSpace, Planogram_AreaSpace, Planogram_CubicSpace.

The surest way to find a code is to look at a column that already shows what you want: right-click its header and choose Edit. Codes must be spelt exactly, capitals included.

Ask Spanner AI: "What can a column in this table show? List the measures, outlets and calculated measures in this document."
This guide is for Spanner 2.5.1.2 and later. Part 3 shows where each setting is.

Sales codes

A sales code has four parts, joined by underscores.

VALUE OU 1 TY _ _ _ Measure Outlet Period Year a measure's code whose sales 1 or 2 TY or YA
The selected planogram's outlet's sales value, for the first period, latest year.
PartWriteFor
MeasureThe measure's codeOne of the document's measures. To find a code, look at a sales column that already shows the measure, or ask Spanner AI for the list.
OutletOUThe selected planogram's outlet.
CHThe selected planogram's channel.
An outlet's nameThat outlet, whatever is selected.
pOU, pCHEach planogram's own outlet or channel, in a table whose columns repeat for each planogram.
#Each outlet in turn, in a table whose columns repeat for each outlet.
Period1, 2The document's first and second periods.
YearTY, YAThe latest year, and the year before.

On a position's row, write Product. before the code: Product.VALUE_OU_1_TY. Give a sales column the measure's code as its Number Format, and it is written the way that measure is everywhere else in Spanner.

Cell Type

The Cell Type adds a bar, a colour or a symbol to the number.

Indicator Bar Reverse Bar + / - Background Scale Background Scale - » + Tick / Cross On / Off Drop Down 8,4203,070 2.4m1.1m +12-8 4.62.1 7.5%-6.2% Brand AOwn Label
NoneThe number or text alone.
Indicator BarA bar from the left, behind the number. Its length is the value against the column's maximum.
Reverse BarThe same bar, from the right.
+ / -A bar from the middle: right for a positive value, left for a negative one, each in its own colour.
Background ScaleThe cell is shaded between two colours, from zero to the maximum.
Background Scale - » +The same, from minus the maximum to plus it. For growth and change.
Tick / Cross, On / OffFor a yes or no value.
Drop DownFor a column that is edited by picking from a list. It needs an Edit Command.

Number Style and Format

Number Style chooses what is written in the cell.

ValueThe figure.
% of TotalThe figure as a share of the column's total. Use it with the Number Format P1.
NoneNothing: the bar or colour alone.

Number Format chooses how it is written.

Number Format12345.678 is shown asUse for
012346The default.
N0, N1, N212,346   12,345.7   12,345.68Numbers, with commas and that many decimal places.
P10.125 as 12.5%Shares and growth.
+0.0;-0.0;0.0+12345.7A change, with its sign.
A measure's codeAs that measure is set to showSales.
Linear, DimIn your units of lengthWidths, heights, depths and linear space.
Area, CubicIn your units of area or volumeArea and volume.
ColourThe cell painted in the colourA column that holds a colour.
upper, lower, properText in capitals, small letters or With Initial Capitals.

Hiding zeros

A table with many empty combinations, such as a matrix of two classifications, is easier to read when a zero is left blank. There is no setting for this: it is done with the Number Format. A format made of # writes nothing for zero. A format in three parts, separated by semicolons, is used for positive figures, negative figures and zero in turn, so a # as its third part hides the zeros.

Number FormatShowsUse for
#,#12   1,234   and nothing for 0Counts and other whole numbers.
0.0%;-0.0%;#12.5%   -3.0%   and nothing for 0Shares and growth.
¤#,##0;-¤#,##0;#£1,235   -£40   and nothing for 0Sales value. Spanner writes your currency symbol in place of ¤.
  • #,# also leaves blank a figure that rounds to zero, such as 0.3.
  • A sales column whose Number Format is the measure's code is written as the measure is set to show. To hide its zeros, put a format like the last one in place of the code.
  • The cell keeps its background colour. Only the figure is hidden.

Scale by multiplies the figure before it is shown: 0.001 shows thousands.

Aggregation

Where a row stands for several things, as a brand stands for its products, Aggregation says how their figures become one.

SumAdded together. For text, every value is listed.
CountHow many have a value: not empty, not zero, not "no". Count a yes or no column to count the yeses.
Minimum, MaximumThe smallest and the largest.
First, LastOne value from the group. Use it for text that is the same for all of them.
CalculateFor a calculated measure. The calculation is done on the group's totals, so growth is the group's growth, not the sum of its products' growth.

Minimum / Maximum

This sets what a full bar, or the strongest colour, stands for.

AutoThe largest value in the column. The biggest row has a full bar.
SumThe column's total. Each bar is then the row's share, and the bars add up to one full bar.
A numberThat value. For growth, 0.1 gives the strongest colour at 10% and beyond.

Colours

A column has six colours: background, text and bar, each for positive and negative values. On screen they are labelled Background, Foreground and Indicator. In a background scale, the two background colours are the two ends of the scale. With Hue Scale ticked the shading passes through the colours between them, as from red through yellow to green; without, it fades straight from one to the other.

Give the columns of one measure the same pale background, so the eye groups them. The standard tables use these:

Columns ofBackgroundTextBar
Sales value#FFFFFFD0#FF402000#FFDFC2AB
Lines#FFE0FFF0#FF000040#FFD0C0FF
PositionsHoneydew#FF202000#FFC0FFC0
Facings#FFF3FBD4#FF201000#FFDCEF93
Linear space#FFFAF0D4#FF201000#FFF0D0A0
Area#FFFFE8E8#FF301010#FFF0C0C0
Growth, as a scale#FF80FF40 at the top#FF004000#FFFF8080 at the bottom

Column Headers

A column has one header for each of the table's header lines. Write the parts that change from document to document as codes, and Spanner fills them in. The same table then reads correctly for any outlet or period.

WriteShown as
<OUTLET>, <CHANNEL>The selected planogram's outlet and channel.
<TIME1>, <TIME2>The document's periods, as "52 Weeks".
<VALUE> and other measure codesThe measure's short description.
<SELECTEDPLANOGRAM>, <COMPARISONPLAN>The selected planogram's name, and the comparison planogram's.
<COMPAREFROM>, <COMPARETO>The two statuses of a comparison table.
<ROWVIEW>, <COLUMNVIEW>The classifications chosen by the row view and the column view.
<PLANOGRAM_NAME>Where the columns repeat by planogram: each planogram, or each group of planograms.
<COLUMNVALUE>Where the columns repeat by a second classification: each of its values.
[Latest], [Linear] [Space]A word in square brackets is shown in the language Spanner is running in.

Leave a space before a single character at the end of a header: write <VALUE> %.

Filters

A table's filters are part of the table, not of a column.

Product FilterThe table shows only the products the document's product filter lets through.
Planogram FilterOnly the filtered planograms are listed or counted.
Selected PlanogramOnly what is on the selected planogram.
Parent TableThe table is a lower table: it shows what belongs to the rows selected in the table above, and is left out of the Table list.
A test you typeA property of the row, a comparison and a value, such as PositionsCount>0: only rows that pass are shown. The comparisons are =, !=, >, >=, < and <=.

Edit Command and Custom Command

Edit Command makes a column editable. Leave it empty for a column that is only read.

EditThe cell can be typed into. For most properties, and for sales.
SpreadFor sales on a grouped row: the group's products are scaled to your figure. See Part 2.
A command starting SetFor properties that need more than a typed value, such as a position's orientation. Copy it from the standard table that edits the same property.

Custom Command holds extras, separated by semicolons.

#0, #1 ...A label, so a calculation can read this column. Use each number once in a table.
hide0Leaves the column out while every product's value is zero. For measures that only some documents have data for.
TotalIn a table that crosses two classifications: the column is a row total, shown once.
Swap{Listings.Facings.LinearSpace}Adds Change ... to to the column's menu. The name in the list that is part of the Property Code can be switched for any of the others: Planogram_LinearSpace becomes Planogram_Facings.
Export:=...Writes that formula in the column when the table is exported to Excel.

Calculations

Most figures need no calculation of yours: a share is the Number Style % of Total, and growth is a calculated measure. A CALC: column is for a figure made from other columns of the same row, such as the index of a share of space against a share of sales.

The script is a list of steps separated by semicolons. Each step has its parts separated by colons.

StepDoes
GET:#0:APuts this row's value from the column labelled #0 into A. A to Z are yours to use.
GETTOT:#0:BPuts that column's total into B.
I2D:C, L2D:CMakes a whole number, or a length, ready for arithmetic. Counts such as lines and facings need I2D; linear space needs L2D.
DBL:CStarts the sum with C.
DBLADD:D, DBLSUB:D, DBLMUL:D, DBLDIV:DAdds D, takes it away, multiplies by it, divides by it.
DBLVAL:7:CPuts the number 7 into C.
RETURN:DBLEnds the script. The sum so far is the cell's value.

The index of space share against sales share. Label the sales column #0 and the linear space column #1, by putting those in their Custom Commands. Then the index column's Property Code is:

CALC:GET:#0:A;GETTOT:#0:B;GET:#1:C;GETTOT:#1:D;L2D:C;L2D:D;DBL:C;DBLDIV:D;DBLMUL:B;DBLDIV:A;RETURN:DBL

Read it as: the row's space, divided by all the space, multiplied by all the sales, divided by the row's sales.

  • Read columns by label, not by letter. Older tables read a column by its letter, as GET:D:A. That goes wrong when a column is added, moved or left out. A label stays with its column.
  • A total needs a bar. GETTOT only has a total where the column it reads has a bar or scale Cell Type, or the Number Style % of Total.
  • Calculations are for tables with one set of columns. They do not suit tables whose columns repeat.

Next: Part 5, Sharing Tables.

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