Basic Concepts: Single vs Multiple Values
- Single Value: A single, definite piece of information. For example, âtodayâs dateâ or âJohnâs phone numberâ.
- Multiple Values: Array values, a series of information. For example, âall dates this monthâ or âall of Johnâs phone numbersâ.
Default Single and Multiple Value States
| Field Name | Description | Default State |
|---|
| SingleLineText | Single Line Text | Single |
| LongText | Long Text | Single |
| User | User | Optional* |
| Attachment | Attachment | Multiple |
| Checkbox | Checkbox | Single |
| MultipleSelect | Multiple Select | Multiple |
| SingleSelect | Single Select | Single |
| Date | Date | Single |
| Number | Number | Single |
| Duration | Duration | Single |
| Rating | Rating | Single |
| Formula | Formula | Dynamic* |
| Rollup | Rollup | Dynamic* |
| Count | Count | Single |
| Link | Link | Optional* |
| CreatedTime | Created Time | Single |
| LastModifiedTime | Last Modified Time | Single |
| CreatedBy | Created By | Single |
| LastModifiedBy | Last Modified By | Single |
| AutoNumber | Auto Number | Single |
| Button | Button | Single |
State Changes Due to Links and References
While most fields have their default single or multiple value states, these states can change due to linking and referencing mechanisms.
- Impact of Link Fields: If a link field is multiple-valued, all fields referenced through this link field will become multiple-valued.
Example: Imagine you have a âTasksâ table and an âEmployeesâ table. If a task can be completed by multiple employees, the link field in the âTasksâ table connecting to the âEmployeesâ table will be multiple-valued. Consequently, any fields referenced through this link (such as employee phone numbers) will also become multiple-valued.
- Formulas and Rollups: Although they are typically single-valued, formulas can become multiple-valued when they reference multiple-value fields. Similarly, they can become multiple-valued when referenced through multiple-value link fields.
Example: Suppose you have a formula field calculating each employeeâs total salary. If this formula references a multiple-value salary field (e.g., salaries for different projects), the formula field will also become multiple-valued.
Examples
Understanding the distinction between single and multiple values is crucial for advanced users. It helps users understand why certain fields might contain multiple values and guides them in properly setting up and using these fields.
Consider managing a company using Teable with two tables: Employee Information and Project Tasks.
- Employee Information table:
| Name | Phone | Email | Tasks |
|---|
| John | 123456 | [email protected] | Task1, Task2 |
| Mary | 789012 | [email protected] | Task3 |
- Project Tasks table:
| Task Name | Assigned To | Due Date | Progress |
|---|
| Task1 | John | 2023-11-20 | 50% |
| Task2 | John | 2023-12-01 | 30% |
| Task3 | Mary | 2023-11-15 | 80% |
In this example:
- The âTasksâ field in the Employee Information table is multiple-valued because one employee can be responsible for multiple tasks.
- The âAssigned Toâ field in the Project Tasks table is single-valued because each task is assigned to one employee.
When you create a new task in the âProject Tasksâ table and assign it to an employee, that employeeâs âTasksâ field automatically updates to include all tasks theyâre responsible for.
Number Mini Charts
Example: You might wonder why a number field sometimes displays multiple lines or bars instead of just one. This occurs because itâs actually a multiple-value field, likely due to previous linking or referencing operations.Last modified on January 23, 2026