Skip to content

Grouping file

A grouping file is a short CSV list that groups the values of one column of your data, such as each store’s district and region, each product’s brand or each rep’s team. The data file does not need those columns itself. The list is kept with the data’s setup, so every later file groups the same way.

Add one in the setup’s Groups step, under Grouping files. Add a grouping file reads any list. Where a group has nothing above it, the step also offers a template. Download this as a CSV with your 12 stores gives the file with one row per store and blank columns to fill. Fill it in a spreadsheet and choose Upload the filled-in file, or choose Type the groups here to fill the same table in the app instead. A list already kept has Edit, Replace and Remove.

The file is a CSV file (.csv, .tsv or .txt) with the column names on its first line. The separator, the encoding and the quotes are read as in a data file. Blank lines are skipped, and spaces around a value are trimmed.

Column What it holds
The key The values of your data’s column, one per row, written as the data writes them, such as Store 01 Northfield. The template puts it first.
Each group The group each key sits in, such as district or region. Each becomes a level or a filter.
A start date Optional. The day the row starts, for a key that moves group. A blank cell means from the start.

BInbox matches the list to the data by the values in its columns, whatever the columns are named. The key is the list column whose values are each on one row and that covers the most of the data’s rows in one of its columns. If the list has start dates, the finer data column wins (the one with more different values), so a short list that names a store twice still matches on the store and not on its region. When the list comes from a template, the key is that template’s column. A list with no column whose values the data has is refused.

Once the list is matched, the setup says how many of the data’s rows it covers and asks where its columns go. It gives these choices:

  • Group stores by Region > District puts the list’s columns above the stores, broadest first.
  • Another way to group stores, picked in the report’s Grouping pill is offered when the stores already have levels above them that the list does not give. The list is then a second grouping beside those levels.
  • Keep the list only; pick its columns as levels or filters yourself keeps the list and leaves its columns for you to place.

A grouping file also decides what a map draws: a list that puts each store in a region, with a ZIP level under the store, draws each region as the ZIP areas of its stores.

A store the list does not name, or names with a blank group, is grouped under “Not in the store list”, unless the data file has that column itself.

A column whose filled cells are all dates is read as start dates. A key can then have several rows, one for each date it moves group. Store 04, for example, is in South and then, from 2026-07-01, in East. Dates are read as in a data file, day first when a first number goes past 12.

The kept list then asks, for example, When a store moves: and gives two choices. The default is Keep its history: months before the move stay under the old group. The other choice is Restate: every month counts under its latest group.

Each message names the list and the level, here the store list.

Message When
Matched on {level}: {file}'s "{list column}" matches the file's "{column}". The key is found. The number of rows matched follows.
{n} {stores} not in the list: {each with its rows}. They will be grouped under "Not in the {list}". Some of the data’s values are not in the list.
Listed more than once, the first row kept: {stores}. A key is on two rows with the same start date, or with none.
{n} rows of the list have no {store} and are left out. Some rows have a blank key.
{n} of the list's rows are not in this file; they stay for later files. The list names stores this file does not have.
{n} {stores} move group on a date, from its "{column}" column. The list has start dates.
It has the same columns as the {list} you kept, so it replaces it. The list is a new copy of one already kept.
None of {file}'s columns holds values this file has. Its first column should list the {stores}. No column of the list matches. Nothing is kept.

This is the store list for the retail sample, with twelve stores, each in one district and one region.

store,district,region
Store 01 Northfield,North Central,North
Store 02 Kirkby Moor,North Central,North
Store 03 Harrow Point,North Outer,North
Store 04 Southgate,South Central,South
Store 05 Bayside,South Central,South
Store 06 Ferrylands,South Outer,South
Store 07 Eastmere,East Central,East
Store 08 Lowfen,East Central,East
Store 09 Marshwick,East Outer,East
Store 10 Westbrook,West Central,West
Store 11 Cliffside,West Central,West
Store 12 Ridgeway,West Outer,West

This list has the same stores by region, with Store 04 moving from South to East on 2026-07-01. Its first row has no date, so it holds from the start.

store,region,from
Store 01 Northfield,North,
Store 02 Kirkby Moor,North,
Store 03 Harrow Point,North,
Store 04 Southgate,South,
Store 04 Southgate,East,2026-07-01
Store 05 Bayside,South,
Store 06 Ferrylands,South,
Store 07 Eastmere,East,
Store 08 Lowfen,East,
Store 09 Marshwick,East,
Store 10 Westbrook,West,
Store 11 Cliffside,West,
Store 12 Ridgeway,West,