Skip to content
AskTable

Documentation feedback

Current pageHidden fields and masking/en/data/hidden-fields

0 / 5,000

Your feedback will be sent to the maintenance team.

Go to console
Go to console
AskTable
Go to console

Build agents

Hidden fields and masking

Hide fields not needed for analysis, and mask sensitive information in results.

Hiding keeps a column out of AI analysis entirely; masking keeps the column in calculations but replaces the values passed to the model. Both affect only what the AI sees; who can query which data is decided by data permissions.

GoalSettingExample
Unrelated to analysis, avoid confusionHideInternal auto-increment IDs, creator IDs
Needed for statistics, but the model should not see real valuesMaskPhone numbers, ID card numbers, bank card numbers
Sensitive and not used in analysisHide and maskID card numbers kept only for records

This requires a project owner or project administrator. Entry: “More” → “Data sources” → click a data source → choose a table → “Field structure”.

Hide a field

Turn on the “Hide” switch at the right of the field row. The row turns gray and the change takes effect immediately. The agent skips the column when generating queries, answering questions, and retrieving fields. The data itself is not deleted.

Turn the switch off to restore it; the field joins retrieval again immediately.

Masking

Click a field row to expand the details and choose a type in “Masking”: person name, phone number, ID card number, bank card number, or email; choose “Not enabled” to turn it off. Selection saves immediately.

Masking happens before query results are passed to the model; the model sees only replaced values, and original values never enter the model. After setting it, ask a question that returns the column in a conversation to confirm the values are replaced.

How to choose

  • Do not hide columns needed for statistics, counting, or grouping; mask them instead. After hiding, metrics that depend on the column can no longer be calculated.
  • Hiding IDs, technical fields, and other columns unrelated to business questions makes the agent less likely to choose the wrong field.

Common issues

SymptomCauseAction
The agent still uses a fieldThe “Hide” switch is offTurn it on
Phone numbers in results are still plain textThe masking type is “Not enabled”Choose “Phone number”
A metric cannot be calculated after hidingThe metric depends on the columnUnhide it and use masking instead
A switch change failsNetwork or service problemRefresh and retry; contact an administrator if it keeps failing