Tables (Admin)
The Lookup Tables feature provides a centralized data lookup system for administrators to create and manage tables at the company and project level. By referencing these tables in Field Expressions with the Lookup() function, customers can simplify complex expressions and improve data consistency.
Stratus Academy Course Video
To take the Lookup Tables course, login to Stratus Academy and and locate the course ADM-524 Tables.
Lookup Table Use Cases
The examples below illustrate using the Lookup Table and Lookup function in combination with package and part properties to calculate and display data.
Example: Labor Rate Estimate
In this example, labor rates are used in conjunction with package and/or part properties to drive labor estimating tables.
Create a CSV file to include the Lookup Table columns and data.
Under Admin > Company > Tables, either click the Create Table option to create a new table or click the Edit button associated with an existing table.
Click the Upload CSV button then click Browse to locate the file.
Click the Update button. The CSV file will import to the Lookup Table.
Create or edit a Field Expression to include the Lookup function.
Note: Property Names (e.g., OEM, Size, Material, Material Gauge, Product Name) must be included in curly brackets {}.
Add the Field to a new or existing report.
Run the report. The report automatically pulls the right data or calculation using the Lookup Table.
Example: Add Data to Stratus Sheet
Lookup Table - ProjectInformation
Stratus.Fields with Lookup()
Report and Template (Stratus Sheet)
Create a Lookup Table and Report Fields, add the fields to a Report Template and the Stratus Sheet displays the Lookup Table content.
Example: Report Data Normalization
If a part property contains a value that is inconsistently named in the Fabrication Database, ensure that Stratus report data uses the preferred spelling. Create a Part Property Lookup Table where the Spelling column includes all of the possible spellings (e.g., Cooper, CU, cu, Cu, Carbon Steel, CarbonSteel, CS, Schedule 40, Sched 40). Another column called the Correct Spelling lists the preferred spelling in each row. Create the Field to reference the Lookup Table. Then, change any reports that reference the part property to the Part Property Spelling Lookup Table.
Admin > Company > Project Roles
Any Project Roles that will need access to the Tables tab at the Company or Project level will need the Tables permission.
Admin > Company > Tables
Create Table (Manual)
A new Lookup Table can be created and updated manually.
To create a new table:
Click the Create Table button.
Table Name (Required) - Enter a Table Name.
Note (Optional) - Enter a note about the table as needed.
Clone CSV data to project tables when first created - This checkbox impacts how tables are created at the project level. See the Project Tables (Admin) article for more information or the Admin > Projects > Tables summary below.
Checked - When checked, headers and row data values from the company level will be copied into newly created Project Tables at the project level. This helps ensure consistency and reduces manual data entry errors during project setup.
Unchecked - When unchecked, only the header values from the company level will be copied into newly created Project Tables at the project level.
Data Input Method - Click the Manual Entry (Default) button.
Headers - Enter column headers in display order, separated by commas. Headers display in the Table Data section as they are entered. Headers must exist in Stratus before uploading a CSV to update row data.
Add Row - Click the Add Row button to add cell rows. Cell content can be entered now or later in the Edit dialog.
Add Column - To add a column:
Click the Add Column button to add a column. The column will be added after the last column. Edit the column header and enter cell data as needed, and then click Update.
Clear All Data - Click the Clear All Data button to clear all row data. The column header values will remain.
Delete Column - A delete button displays below each column. To remove a column, click the corresponding Delete button. The example shows Column L being deleted. Click Update when done.
Delete Row - A delete button displays in the Actions column for each row. Click the Delete button to delete any row. In this example, row 1 was deleted leaving row 2. Click Update when done.
Create Table (Upload CSV)
Lookup Tables can be created and updated by uploading CSV files sourced from Stratus Big Data exports, existing spreadsheets, or downloaded Stratus reports. For an example using a downloaded Stratus report, refer to the ADM-524 Tables course in the Stratus Academy.
To create a new table:
Click the Create Table button.
Table Name (Required) - Enter a Table Name.
Note (Optional) - Enter a note about the table as needed.
Clone CSV data to project tables when first created - This checkbox impacts how tables are created at the project level. See the Project Tables (Admin) article for more information or the Admin > Projects > Tables summary below.
Checked - When checked, headers and row data values from the company level will be copied into newly created Project Tables at the project level. This helps ensure consistency and reduces manual data entry errors during project setup.
Data Input Method - Click the Upload CSV button.
Note: Create a CSV file either by downloading and editing an existing Lookup Table or create the CSV file from scratch by including column headers and row data.
Click the CSV File Browse button.
Select the CSV file and click Open.
The Lookup Table rows will populate from the CSV file.
Click the Create button.
The Lookup Table will display the newly created table.
Data Table
Once Lookup Tables are created they display in the Lookup Tables data table.
Search - Enter characters to search for a Lookup Table.
Name - The Name of the Lookup Table.
Notes - Optional Notes entered for the Lookup Table.
Columns - The number of Columns included in the Lookup Table.
Rows - The number of Rows included in the Lookup Table.
References - Click the References number to display what is referencing this Table. In this example, the popup specifies that “The following Field Expression … This helps the Admin understand where and how the Table is being used in Stratus.
Modified - The date/time the Lookup Table was last modified.
Actions
View - Click the View button to see the Lookup Table contents.
Edit - To edit an existing table:
Under Actions, click the Edit button.
Click the Upload CSV button.
Click the CSV File Browse button.
Select the CSV file and click Open.
Column Operations
Add Column - To Add Column:
Column Name - Enter the new Column Name.
Insert Position - Select the Insert Position of the new column.
Default Value - Enter a default value, if any, that will populate all rows in the new column.
Click the Add Column button. Note: All project tables that reference this company table will be automatically updated to maintain data integrity.
Remove Column - To Remove Column:
Column to Remove - Select the Column to Remove.
Click the Remove Column button. Note: All project tables that reference this company table will be automatically updated to maintain data integrity.
Rename Column - To Rename a Column:
Column to Rename - Select the Column to Rename.
New Column Name - Enter a New Column Name.
Click the Rename Column button. Note: All project tables that reference this company table will be automatically updated to maintain data integrity.
Reorder Columns - To Reorder Columns:
Click the up or down arrow buttons in the Actions column.
When done click the Apply New Order button. Note: All project tables that reference this company table will be automatically updated to maintain data integrity.
Download CSV - Downloads the data table CSV to the local computer.
Delete - Prompt to delete the table.
Admin > Projects > Tables
The purpose of Tables at the Project Level is to override the Company Table for the selected Project. See the Project Tables (Admin) article for more information or the summary below.
Note:
Headers are inherited from the Company level reference Table.
A Table configured at the Project level overrides the Table configured at the Company level only for the selected project.
To override a Company Table for a Project:
Go to Admin > Projects.
Select the Project.
Click the Tables tab.
Click the Create Table button. The Create Table dialog will displays.
Company Table to Override - Select a Company level Table.
With the company table selected, select the Data Input Method.
Manual - See the Create Table (Manual) section for more information.
Upload CSV - See the Create Table (Upload CSV) section for more information.
Lookup() Function
See the Lookup() Function for more information.
The Lookup() function retrieves data dynamically from part a customer defined Lookup Table and is applied in a Stratus Field Expression. See the Fields (Admin) article for more information.
Syntax
Lookup(tableName, returnColumn, columnName1, operator1, value1, [columnName2, operator2, value2, ...], [defaultValue])Parameters
tableName: Name of the lookup tablereturnColumn: Column name to return the value fromcolumnName: Column to search inoperator: Comparison operator (=, !=, >, <, >=, <=, LIKE, ~, IN, ?)value: Value to match against, typically should be variable in { } curly brackets, like {Diameter}defaultValue: Value to return if no match is found
Examples
Lookup("MaterialCosts", "Price", "Material", "=", {Material}, "Grade", "=", {MaterialGrade}, "0")
Lookup("MaterialCosts", "Price", "Steel", "IN", {Material}, "Grade", "=", {MaterialGrade}, "0")
Lookup("LaborRates", "Rate", "Trade", "=", {Trade}, "Region", "=", {Region}, "50")Operators
The Lookup function supports a comprehensive set of comparison operators for flexible data matching:
Equality Operators
=- Standard equality (e.g.,Material=Steel)==- Alternative equality syntax (e.g.,Grade==A36)
Inequality Operators
!=- Not equal (e.g.,Status!=Inactive)<>- Alternative not equal syntax (e.g.,Type<>Old)
Numeric Comparison Operators
>- Greater than (e.g.,Price>100)<- Less than (e.g.,Quantity<50)>=- Greater than or equal (e.g.,Date>=2023-01-01)<=- Less than or equal (e.g.,Name<=Z)
Pattern Matching Operators
LIKE- Pattern matching with wildcards (e.g.,Description LIKE %Steel%)~- Alternative pattern matching syntax (e.g.,Name~%Smith%)IN- In or Contains (e.g.,“Description" IN "Sample Description")?- Alternative “in” syntax (e.g.,Name~%Smith%)
Pattern Matching with LIKE and ~
%- Wildcard for any sequence of characters_- Wildcard for any single characterCase-insensitive matching
Examples:
Name LIKE %Smith%- Finds "Smith", "Smithson", "Blacksmith"Code LIKE A_- Finds "A1", "AB", "AX" (any 2-character code starting with A)Description LIKE %Steel%Pipe%- Finds descriptions containing both "Steel" and "Pipe"
OpenAPI
The Tables tag include GET, POST, PUT, and DELETE endpoints to support the Tables feature.
© Copyright 2026 GTP Software, Inc All rights reserved. | About | Contact