set_synonym_state
Author Power BI Q&A synonyms with explicit state (Authored, Deleted, Generated, Suggested) and optional weight. Manage terms for tables, columns, measures, and hierarchies to control which terms stick or are suppressed.
Instructions
Author Q&A synonyms with an explicit State (Authored to make terms stick, Deleted to suppress an auto-generated term, Generated, Suggested) and optional Weight 0..1. objectType = table | column | measure | hierarchy; pass the object's table where needed. Extends set_synonyms (which only adds bare terms). NOTE: the Q&A linguistic schema is large; only flat per-entity terms with State/Weight are authored.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | the object's name | |
| state | No | Authored | Deleted | Generated | Suggested | Authored |
| table | No | the object's table (for column/measure/hierarchy) | |
| weight | No | term weight 0..1 (optional) | |
| culture | No | culture/locale (optional; defaults to the model culture) | |
| synonyms | Yes | synonyms, comma-separated | |
| sessionId | Yes | ||
| objectType | Yes | table | column | measure | hierarchy |