set_synonyms
Add natural-language synonyms to Power BI model objects for Q&A. Provide object type, name, and comma-separated synonyms to map alternate phrases like 'revenue' to a measure.
Instructions
Add Q&A natural-language synonyms for a model object (so 'revenue'/'turnover' map to a 'Sales' measure). objectType = table | column | measure | hierarchy; pass the object's table for column/measure/hierarchy. synonyms is a comma-separated list. culture defaults to the model culture. NOTE: the Q&A linguistic schema is large and complex - this authors a flat per-entity synonyms list and merges into any existing schema; richer phrasings/relationships need a hand-authored schema.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| table | No | the object's table (required for column/measure/hierarchy) | |
| culture | No | culture/locale (optional; defaults to the model culture, e.g. en-US) | |
| synonyms | Yes | synonyms, comma-separated, e.g. "revenue,turnover,takings" | |
| sessionId | Yes | ||
| objectName | Yes | the object's name | |
| objectType | Yes | table | column | measure | hierarchy |