Reports in Depth · Part 6

Tables with Spanner AI

Building a table means knowing codes, formats and colours. Spanner AI knows them, and knows which measures your document has. Say what you want to see, look at the result on the Reports tab, and save it when it is right.

What it can do

ExplainList your tables. Say what a table shows, column by column. Say what a column is made from, and why a figure is what it is.
Find out what is possibleList the measures, outlets, calculated measures and classifications of the open document, which are what a column can show.
ShowPut a table on the Reports tab, and read its first rows.
ChangeAdd, change, move and remove columns. Change the headers, sort, filters and lower table. Match the colours of the columns already there.
BuildStart a new table, from nothing or as a copy of one you have.
SaveSave a table to your settings, over the old one or as a new table beside it. Put a table back as it was saved.

Some things are still yours to do:

  • Judging the table. Spanner AI reads the first rows as text. It can't see the bars and colours as you do.
  • Sharing. A saved table is in your settings only: see Part 5.

If what you want is an answer, not a table to keep, just ask the question: "What share of the linear space does each brand have on this planogram?" Spanner AI works that out without touching your tables.

Spanner AI changes and builds the Graph tab's graphs in the same way: see Sharing Graphs, and Spanner AI.

This guide is for Spanner 2.5.1.2 and later. It assumes you use Spanner AI: see Using Spanner's AI chat and Using Spanner with AI apps.
Spanner's AI Chat window. The request reads: add linear space per sku to the current report. The reply says a Linear Space per SKU column, worked out as linear space divided by lines, has been added after the linear space columns of Selected Planogram Summary. It lists the four categories with their lines, linear space and linear space per SKU, then says the table is showing on the Reports tab and the changes are unsaved, and offers to save them or to save a copy as a new report
One request in Spanner's AI chat. The reply says what was added and how it is worked out, shows the first rows, and ends by saying the change is not saved.

Nothing is saved until you say

When Spanner AI changes or builds a table, it does so on the Reports tab, in the same way as a change you make there yourself (see Part 3, Saved or not). You see the table with your own data straight away, and nothing is kept until you ask.

The AI tells you a table isWhich means
SavedIt is the same as the one in your settings.
Changed, not savedIt differs from the one in your settings. Close Spanner now and the changes are gone.
New, not savedIt exists only until you close Spanner.

So the way to work is to try things freely, and then choose one of three endings:

  • "Save it." The table in your settings is replaced.
  • "Save it as a new table called Brand Space and Sales." Your settings gain a table, and the one you started from goes back to how it was. Use this when you started from a standard table.
  • "Put it back as it was." The saved table returns, and every unsaved change to it is dropped, any you made by hand included.

Asking for a table

  • Start from a table you have. "Like the Selected Planogram Summary, but with volume in place of value." Your tables already use your measures and colours, so a copy is right first time more often than a table built from nothing.
  • Say what a row is. A row for each brand, each product, each planogram, each shelf. It is the first thing the AI has to decide.
  • Name the figures as you would say them. "Sales value in my outlet for the latest year", "share of linear space", "growth". The AI looks up the codes in your document.
  • Say which planograms. The selected one, or all those the planogram filter lets through.
  • Ask for one change at a time, and look at the Reports tab after each.
  • Say what you see. "The bars in the third column are all full" tells the AI more than "it looks wrong".
A good first request: "Show me the Selected Planogram Summary and tell me what each column shows." You see how the AI reads a table, and you both have the same words for its columns.

What to check

Spanner checks each request before it changes anything. If any part can't be done, such as a column number that doesn't exist or a colour that isn't one, nothing is changed and the AI is told why. A table is never left half-changed.

After a change, the AI is given the table as it now stands, its first rows, and warnings. Ask it to pass them on. The ones that matter:

  • A column that is not shown. The document has nothing to fill it: usually a measure it has no data for. On the Reports tab such a column is simply missing, so this warning is the only sign.
  • A calculation that reads a column by its letter. It will go wrong when a column is added or moved. Ask the AI to change it to read by label.
  • A calculation whose total reads zero. The column it takes a total from needs a bar.
  • A lower table that does not follow. It is missing, or lacks the Parent Table filter.
Always look at the table. Check one row you know by heart: a brand whose sales you can find elsewhere, a product whose facings you can count on the planogram.

Permissions and confirmations

Saving a new tableNeeds the Add Settings AI permission in Spanner.
Saving over a table, or deleting oneNeeds the Delete Settings AI permission. Without it, the AI can still save your changes as a new table.
Everything elseNeeds no permission, as nothing in your settings is changed.

With an AI app such as Microsoft 365 Copilot, you may be asked to confirm before the AI changes something. Listing tables, reading one, and putting one on the Reports tab go ahead without asking. Changing, building, saving and putting back ask first.

While Spanner has another window open and waiting for you, such as a product editor or a message, the AI can read tables but not change them. If it says it is waiting for a window to close, that is why.

Things to ask

Understanding"Which tables do I have, and what is each for?"
"What does the last column of this table show, and how is it worked out?"
"Why is the Margin column missing from this table in this document?"
What is possible"Which sales measures and outlets does this document have?"
"What can a table of positions show?"
Changing columns"Add a share of sales column next to the sales value, in the same colours."
"Change every value column in this table to volume."
"Move the linear space columns in front of the facings, and take out the cubic space ones."
How it looks"Shade the growth column from red to green, with the strongest colour at 20%."
"Make the brand names wider and sort by sales, largest first."
"Add a third header line with the period."
New tables"Build a table with a row for each brand, showing sales value, share of sales, linear space, share of space and the index of space against sales, for the selected planogram."
"Make a table of products by pack type, counting how many are listed in each."
"Give this table a lower table listing the products of the brand I select."
Keeping it"Is this table saved?"
"Save it as a new table and make it a favourite."
"Put the Selected Planogram Summary back as it was."

That is the end of the guides. For everyday use of reports, see Using Reports.

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