set_translation
Set translated Caption, Description, or DisplayFolder for Power BI model objects in a specific culture. Supports tables, columns, measures, hierarchies, and models after running add_culture.
Instructions
Set a translated Caption, Description or DisplayFolder for a model object in a culture. objectType = table | column | measure | hierarchy | model. For a column/measure/hierarchy, also pass its table. Run add_culture first.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| table | No | the object's table (required for column/measure/hierarchy) | |
| value | Yes | the translated text | |
| culture | Yes | culture/locale, e.g. fr-FR | |
| property | Yes | Caption | Description | DisplayFolder | |
| sessionId | Yes | ||
| objectName | Yes | the object's name (the model name for objectType=model) | |
| objectType | Yes | table | column | measure | hierarchy | model |