Lompat ke konten

Pelajaran 19 ยท Controls and Interactivity

Input Tables

Collect plans, comments and corrections with Sigma input tables. Learn empty and linked types, primary keys, where data is stored, and design safeguards.

Reports often lead to input: a sales target, a comment on an unusual number or a decision on an exception. Input tables let people add and edit values inside Sigma, next to live data. According to Sigma's documentation, they let you add new data without overwriting your source data.

Two types

Type What it is Rows
Empty input table Stands alone; can be pre-filled by a CSV upload You can add rows
Linked input table A child of a parent element in the same document Follow the parent's rows

A linked table is a natural fit for adding comments or status to existing records. It needs a primary key column that defines its grain. According to the documentation, only empty input tables support adding new rows.

The primary key rule

The documentation advises choosing a value that is unique for every row and does not change over time, such as a UUID or a record ID. It advises against dates, timestamps, calculated columns and values that change, such as names or statuses.

Why? Your comments are tied to the key. If the key changes, the comment can lose its row, or attach to the wrong one.

Python Stand-in: what happens when a key changes

Press Run (or Ctrl + Enter) to see the result here.

Program input ยท what you'd type while the program runs

Type the answers before you press Run, one per line. Each time the program reads a line (with input()), it gets the next line from this box.

Where the data goes

Sigma writes input table data to write schemas in your data platform, which an administrator configures for the connection. For each input table it also keeps a separate edit log that records changes. The documentation says that tables with the SIGDS_ prefix hold this data and these logs, and that you should not modify them. You cannot query them directly; to use the data elsewhere, create warehouse views and query those.

flowchart LR
  U["User edits"] --> S["Sigma input table"]
  S --> W["Write schema in your platform"]
  W --> V["Warehouse view you create"]
  V --> R["Reports and pipelines"]

Entered data lands in your platform; views make it usable elsewhere.

Because of this, input tables depend on a connection set up for writing, so ask your admin whether yours is. Also note that deleting the input table element does not delete its data in the platform; that must be done there.

Limits to remember

The documentation (as of December 2026) states a CSV upload limit of 200 MB, UTF-8 only, and pasting of up to 2,000 rows and 25 columns from the clipboard. Limits can change, so check before you plan a large load.

Typical uses

  • Budgets and forecasts by team.
  • Targets by region and month.
  • Mapping tables, such as product to family.
  • Review status and comments for exceptions.
  • Corrections that a data team later applies at the source.

Design for quality

Free text invites messy data. Make input easy to get right:

  • Offer fixed choices for statuses and categories.
  • Use the right data type for numbers and dates.
  • Show the unit: "Target (USD)".
  • Mark required fields and check them with a validation column.
  • Record who changed what and when, using the system information available, and keep history when it matters.
  • Separate a draft value from an approved one.
SQL Stand-in: validate entries and keep a history

Press Run (or Ctrl + Enter) to see the result here.

This stand-in uses its own version column to keep history. Sigma keeps its own edit log; check what it records before you rely on it as an audit trail.

Permissions and versions

Who may type matters as much as what they type. Set document permissions carefully. According to the workbook modes documentation, entering input table values in explore mode is possible only when the table is set to use the published version. Test with a real user role.

Linking back to analysis

Combine input data with source data by key, using a Lookup or join. For example, compare actual revenue with a typed target and flag regions below 90 percent. The budget project does this kind of comparison.

Safety and governance

Entered data is real data. It can be wrong, sensitive or covered by company policy. Do not collect personal information that you do not need. Decide who owns the table, how long to keep entries and how to correct mistakes. Do not let an entry change a payment or legal record without a human review in the proper system.

Common mistake: using an input table as the system of record for an important process without an owner or a recovery plan. Agree where the master data lives.

Planning one before you build

Answer five questions on paper. What does one row mean? Which column is the key? Who may enter or change each value? Which values are allowed? What happens to the entry next, and who reads it?

If a report will use the entries, agree with your data team about the warehouse view early. Then create a few test rows, including an empty value, a negative number and a very long comment, and follow them all the way to the final report.

Cleaning up over time

Entries age. Targets are replaced, comments become irrelevant and people change roles. Decide how old entries are marked, for example with a status or a period column, instead of deleting them without a record. Filter reports to the current entries, and keep the filter visible. Review the table from time to time with its owner to find blanks, duplicates and values that no longer match the allowed list.

Check your understanding

Quick check ยท 4 questions

of 4 answered You scored / 4 ยท perfect!

  1. 1. Which key is best for a linked input table?

    Stable unique IDs keep entries attached to the correct row.
  2. 2. Which input table type lets users add new rows?

    The documentation says only empty input tables support adding rows.
  3. 3. How should other tools read input table data?

    The internal tables should not be modified or queried directly.
  4. 4. What does deleting an input table element do to data in the platform?

    Platform data must be removed in the platform.

Summary

  • Input tables collect values without overwriting source data.
  • Choose empty or linked tables; use stable unique primary keys.
  • Data is written to configured schemas with an edit log; use views downstream.
  • Validate entries and separate drafts from approvals.
  • Plan ownership, privacy and retention.

Next: Sharing, Publishing and Exports

Progres Anda disimpan di browser ini. Tidak perlu akun.