- Calculated fields — especially Map lookup, to turn a code on the model into a friendlier label
- Validation widgets — to check that a property matches a value from your list
- Import a lookup table
- Who can use the table
- Use a table in calculated fields
- Use a table in validation
- Manage tables
Import a lookup table
You can import from either place:- Calculated Fields → Map lookup — import while you create the field
- Lookup tables in the left sidebar (table icon) — manage the library on its own
1
Import a file
Choose a
.csv, .xlsx, or .xls file. For Excel, pick which worksheet to use if the file has
more than one. In the sidebar, start from Import CSV or Excel. In Map lookup, import
when no tables exist yet, or click Import new table.2
Name it and set resource scope
Give the table a clear name. Pick a Category (Validation or Other — other categories
may appear later). Set Resource scope to Workspace, Project, or Dashboard. That
defines where the table lives and which dashboards can reuse it. See Who can use the
table. Save.
3
Check the rows
From the Lookup tables sidebar, use View table to confirm the first row became column
headers and the rest became data rows. In Map lookup, the new table is selected for you
after import.
Who can use the table
When you import a lookup table, Resource scope sets where the table is defined — not which dashboard you happened to open first.
Category is a label to help you organise tables. It does not change how calculated
fields or validation use the data.
Use a table in calculated fields
The usual path is a calculated field with type Map lookup. You can import the table while you set up the field — you do not have to open the Lookup tables sidebar first.- Create a calculated field and choose Map lookup.
- Pick the model property that holds the code or short name.
- Import a CSV or Excel file from the dialog if you need a new table, or choose an existing one. Use Import new table when tables are already listed.
- Pick the column to match against that property, and the column to show as the result.
- Set a fallback for values that are not in the list, then save and use the field in charts or filters.
Use a table in validation
In Model Validation rules, some conditions can take their allowed values from a column in a lookup table instead of typing each value by hand. That keeps one shared list for many rules. See Validation widgets and Data Validation.Manage tables
From the Lookup tables panel you can:- Edit — change the name, category, or Resource scope
- View table — browse columns and rows
- Download — export the original CSV (or a CSV built from the table)
- Delete — remove the table
FAQ
Does importing a table change my model?
Does importing a table change my model?
No. The table lives in the dashboard library. It is not written back to Speckle or your design
tool.
What file layout works best?
What file layout works best?
Use a single sheet (or CSV) with headers in the first row and one value per cell. Speckle stores
every cell as text.
When should I use a lookup table instead of typing values in Grouping?
When should I use a lookup table instead of typing values in Grouping?
Use a lookup table when the list is long, shared across dashboards, or updated often. Use
Grouping → Value groups in Calculated fields
when you only need a few labels on one dashboard.
Can charts show the lookup table directly?
Can charts show the lookup table directly?
No. Import the table, then create a calculated field (or validation rule) that uses it. Charts
and filters use that field or rule result.
See also
- Calculated fields — Map lookup and other field types
- Common workflows — Codes to clear labels end to end
- Validation widgets — Rules that can use your lists
- Intelligence Dashboards — Overview and widgets