(+351) 21 24 10006  ·  info@bconcepts.pt
Carnaxide, Lisbon

How to Create a Field Translation Assistant in Copilot for Power BI

João Barros 05 de December de 2026 5 min read

This tutorial shows how to use Copilot in Power BI to create a Field Translation Assistant that suggests and applies translations for labels, titles and visual descriptions. It is useful when you need to provide reports in multiple languages without duplicating models.

Prerequisites

  • Account with Power BI Service and Copilot enabled.
  • Report in Power BI Desktop or in the Service with consistent fields and labels.
  • Basic knowledge of Power Query and DAX (introductory level).
  • Permission to edit reports and publish changes.

Step 1: Prepare a translation table

Create a simple table that maps the source text to the target translation. This table will be the source that Copilot can use as a reference to suggest translations and apply changes. Use Power Query to ensure the table can be updated easily.

// Exemplo de tabela CSV importada para Power Query
Key,Text_en,Text_pt
SalesLabel,Sales,Vendas
ProfitLabel,Profit,Lucro
RegionTitle,Region,Região

Import this file as a new query in Power Query and load it to the model as a 'Translations' table.

Step 2: Create a key column for report fields

Associate each report label or title to a key that exists in the translation table. You can create a table in the model called 'Labels' with the keys and a reference to the report element (for example, PageName and VisualID).

// Exemplo mínimo de tabela Labels (pode ser criada no Power BI Desktop > Enter Data)
Key,ElementType,ElementRef
SalesLabel,Card,Card_Sales
ProfitLabel,Card,Card_Profit
RegionTitle,TextBox,Text_Region

This makes it easier to apply translations automatically by key, instead of relying on free text.

Step 3: Use DAX to get the active translation

Create a measure that picks the active language (for example, with a slicer or parameter) and returns the translated text from the Translations table via RELATED or LOOKUPVALUE.

SelectedLanguage = SELECTEDVALUE(Language[Code], "en")

TranslatedText =
VAR key = SELECTEDVALUE(Labels[Key])
VAR lang = [SelectedLanguage]
RETURN
SWITCH(
    lang,
    "pt", LOOKUPVALUE(Translations[Text_pt], Translations[Key], key),
    LOOKUPVALUE(Translations[Text_en], Translations[Key], key)
)

This measure allows binding the translated text to dynamic elements (for example, card titles via measures).

Step 4: Integrate with Copilot to suggest improvements

Open Copilot in the Power BI Service with the report published. Ask Copilot a clear question, for example: "How to automatically apply the translations from the Translations table to page titles and visuals using the keys in Labels?".

// Prompt exemplo (no Copilot)
"Tenho as tabelas Translations (Key,Text_en,Text_pt) e Labels (Key,ElementType,ElementRef). Como posso ligar TranslatedText para substituir títulos e rótulos automaticamente? Dá passos e código DAX/Power Query." 

Copilot will suggest steps, DAX measures and possible Power Query M scripts. Follow the suggestions to create additional measures or scripts that Copilot indicates (for example, measures for each visual or M query templates for refresh).

Step 5: Apply translations to visuals

Go to each visual you want to translate. In properties such as Title -> Title Text, instead of static text, use a measure that evaluates TranslatedText with the appropriate key. For textboxes, use the measure that returns the correct text.

// Exemplo: definir título de um cartão usando uma medida
CardTitle =
VAR key = "SalesLabel"
RETURN
CALCULATE(
    [TranslatedText],
    FILTER(ALL(Labels), Labels[Key] = key)
)

Copy the logic for each element, using the corresponding key. If you have many elements, ask Copilot to generate the repetitive measures automatically based on the Labels table.

Step 6: Automate translation updates

To manage changes, keep the Translations table in an external source (for example, a file on OneDrive or SharePoint). Configure refresh in the Power BI Service. When the table is changed, the measures automatically update the texts in the report.

// Boas práticas
- Guardar Translations em OneDrive/SharePoint
- Configurar scheduled refresh no Power BI Service

Verify the result

Test by changing the language via slicer/parameter and confirm that all titles, labels and textboxes update. Also check across different pages and visuals. If something does not change, confirm the key in Labels and whether the TranslatedText measure returns the expected value (use the DAX/Performance view or a table visual to inspect).

Conclusion

You now have a Field Translation Assistant that uses Copilot as support to generate code and strategies, a Translations table for management and DAX measures to apply texts dynamically. Next steps: expand to more languages, allow automatic fallback and use Copilot to create an M script that generates measures automatically. Tip: ask Copilot for a summary of the generated measures to document the process.