Column security
Hide or mask columns of a source for each group.
Open a model as an admin and choose Column security on the ribbon. A protection belongs to the source, so it covers the column in every model over that source and every field that reads it.
Set it up
- Find the column by its name, or by the name of a field that reads it, and choose Protect.
- Give each group Full, Masked or No access.
- Choose Protect column.
- Use Preview as user on a few people.
Changes apply from the next request.
Levels
| Level | What the person gets |
|---|---|
| Full | The column, as if it weren’t protected |
| Masked | The field, with every value shown as ••• |
| No access | Nothing. The column is hidden |
People get the highest level of any of their groups, Everyone included. With no grant at all a protected column is hidden. Admins always have full access, and editors have no special access. Columns that aren’t protected are open to anyone who can use the model.
Hidden fields
A hidden field isn’t in the model that person sees. A query, filter, value list or formula that names it fails as it would for a field that doesn’t exist. Calculations that depend on it are hidden too, and hierarchies lose the level.
Joins and row rules on a hidden column keep working. The names of join key columns can still be seen.
A report that uses a hidden field still opens. The affected block says it can’t be computed and the others show data. Editors can keep hidden fields that a report already has, but can’t add them.
Masked fields
Values, counts and formulas over a masked column are all masked. Grouping by a masked field gives one ••• group for each combination of the other fields, with measures over all its rows that the person may see. Filtering by one is refused with column_masked, and its value list is empty.
Runs, exports and deliveries
- Runs, schedules and exports read columns as the person they run as, and say when some are masked.
- A run’s data is shown only to admins and to people who can open the report and have the same row and column access. Changing a protection or its grants hides earlier runs’ data from everyone but admins.
- An alert on a masked measure isn’t evaluated, and you can’t save one on a measure you don’t have in full.
- If the model has a field on a protected column, deliveries carry data only to eligible accounts.
Distinct counts and ranges of protected columns are shown only to people with full access.
If a column is renamed
When a source no longer has a protected column, models over it can’t be saved (column_protection_conflict). Protect the new column, then remove the old protection. Until then, non-admins see no statistics for that source.
Limits of it
Views and copies of a column aren’t traced, so protect those as well. If a protected column joins to an unprotected one, the same values are in both, and the editor warns you. Admins and anyone who can read the source files see everything, and people may still infer something from other columns, row counts or join results.
To limit rows instead, use row security. The two work together.


