Tableau 2020.2: Data roles in Ask Data
Data roles in Ask Data let you bank synonyms once and reuse them across data sources.
- Data roles let you add synonyms and edit field descriptions in Ask Data so users can phrase natural-language questions more flexibly
- You can add synonyms for both a field name (e.g. 'demographic' for segment) and its individual domain values (e.g. 'business' for corporate)
- Always hit enter after typing a synonym so Ask Data stores it correctly
- Publishing a data role to a project folder makes those synonym assignments reusable, and you can apply different saved roles to swap assignments in and out
Data roles in Ask Data let you add synonyms and edit field descriptions once, then publish and reuse that work across data sources so users can phrase natural-language questions more flexibly.
Demoed on a published data source with Ask Data enabled, using a segment field with domain values like consumer, corporate and home office.
- Open the field edit interface 0:42
Hover over a field in Ask Data's field list to see a pencil icon and a preview of its type and domain values, then click the icon to open the edit interface where you add a data role.
- Add synonyms for the field name 1:02
Type alternative words a user might type instead of the actual field name (e.g. 'demographic' for a segment field) so Ask Data recognises more phrasings of the same question.
- Add synonyms for individual domain values 1:40
Expand the field's values and add synonyms for specific values too, not just the field name itself (e.g. 'business' for 'corporate', 'home' for 'home office'), since users may refer to values by different terms.
- Always hit enter after typing a synonym 1:58
Clicking away without pressing enter won't store the synonym; you must hit enter each time so the entry actually saves before you move on.
- Publish the synonym work as a data role 2:20
Once your synonyms and descriptions are set up, publish them as a named data role to a project folder, which turns this one-off effort into a reusable asset with a logical name.
- Apply saved roles to other data sources 2:41
After publishing, the field shows which role is currently applied; you can swap in a different previously-saved role and hit apply to instantly pick up its synonym assignments instead.
- Switching roles swaps assignments in and out 3:02
Applying a different role removes the current synonyms and replaces them with whatever was saved in that other role, letting you reuse different synonym sets across multiple data sources without redoing the work.
- This was a beta version at the time, and the interface was noted as a little buggy when loading domain values.
- Forgetting to hit enter after typing a synonym means it won't be stored.
Reach for this when multiple data sources share similar fields and you want users across your organisation to get consistent, flexible natural-language search in Ask Data without re-typing synonyms for every source.
How this Rollup was made provenance & method
A Rollup is drafted by AI from the video's transcript, then reviewed and edited by Tim. Everything used to produce this one is listed below — the model, the exact prompt, and the source video — so the process is transparent and reproducible.
- Transcription
- On-device — NVIDIA Parakeet v3 for recent videos, OpenAI Whisper large-v3 for earlier ones. The transcript never leaves the machine or gets published.
- Drafting
- Claude Sonnet 5 in the cloud, from that transcript.
- Prompt
- The exact Rollup prompt (v2) — the full system prompt, unedited.
- Source video
- Watch on YouTube
- Drafted
- 5 July 2026 at 09:38
- Reviewed & edited
- 5 July 2026 at 09:41 · by Tim Ngwena
Model + prompt + video is everything you'd need to recreate a Rollup like this yourself. The one thing we don't share is the transcript.
Rights. The video and its transcript are the property of TN Media Ltd. Unauthorised use or download is prohibited. © TN Media Ltd.