{"id":810,"date":"2020-12-22T11:01:47","date_gmt":"2020-12-22T09:01:47","guid":{"rendered":"https:\/\/www.flip-design.de\/?p=810"},"modified":"2020-12-22T11:01:47","modified_gmt":"2020-12-22T09:01:47","slug":"power-bi-translations-and-the-xmla-endpoint","status":"publish","type":"post","link":"https:\/\/www.flip-design.de\/?p=810","title":{"rendered":"Power BI: Translations and the XMLA Endpoint"},"content":{"rendered":"\n<p>When you need translations for your \u00a0Power BI reporting in a multi lingual scenario, you need a Premium capacity. When you have edited your PBIX with Tabular Editor and added translations, this works with Power BI Desktop, but unfortunately not with Power BI Pro or Free. If you use a SSAS Cube with translations as your data source, you should don\u2019t have this problem and you can use pro licenses. &#x1f60a;<\/p>\n\n\n\n<p>But in the most cases in a self service BI environment, Excel, CSV and so on are used as data sources. Theses sources are not able to provide translations. So you must to do something in your data model with M or DAX. With the <a href=\"https:\/\/tabulareditor.com\/\">Tabular Editor<\/a> from Daniel Otykier you can add the needed translations to your data model.<\/p>\n\n\n\n<p>With Power BI Premium you can use the XMLA endpoint. This endpoint gives you the possibility to read the data from your model and re-use them for Reporting Services and so on and now you are able to writeback data to your model. You can write back perspectives, translations and measure groups. To try this, you must enable the Read\/Write option for your premium capacity. You can also try this with a Azure-SKU for Power BI Embedded \u2013 with an A4 or higher.<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><a href=\"https:\/\/www.flip-design.de\/wp-content\/uploads\/2020\/12\/image-31.png\"><img decoding=\"async\" loading=\"lazy\" width=\"605\" height=\"330\" src=\"https:\/\/www.flip-design.de\/wp-content\/uploads\/2020\/12\/image-31.png\" alt=\"\" class=\"wp-image-811\" srcset=\"https:\/\/www.flip-design.de\/wp-content\/uploads\/2020\/12\/image-31.png 605w, https:\/\/www.flip-design.de\/wp-content\/uploads\/2020\/12\/image-31-300x164.png 300w, https:\/\/www.flip-design.de\/wp-content\/uploads\/2020\/12\/image-31-500x273.png 500w\" sizes=\"(max-width: 605px) 100vw, 605px\" \/><\/a><\/figure>\n\n\n\n<p><br>After that and assigning the capacity to your workspace, you can consume the translations. Otherwise you get the origin data labels from your model.<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><a href=\"https:\/\/www.flip-design.de\/wp-content\/uploads\/2020\/12\/image-32.png\"><img decoding=\"async\" loading=\"lazy\" width=\"430\" height=\"496\" src=\"https:\/\/www.flip-design.de\/wp-content\/uploads\/2020\/12\/image-32.png\" alt=\"\" class=\"wp-image-812\" srcset=\"https:\/\/www.flip-design.de\/wp-content\/uploads\/2020\/12\/image-32.png 430w, https:\/\/www.flip-design.de\/wp-content\/uploads\/2020\/12\/image-32-260x300.png 260w\" sizes=\"(max-width: 430px) 100vw, 430px\" \/><\/a><\/figure>\n\n\n\n<p>At the properties dialogue of your workspace or of your dataset, you get the access connection for your XMLA endpoint. With this URL you can connect via the Tabular Editor to your Power BI data model.<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><a href=\"https:\/\/www.flip-design.de\/wp-content\/uploads\/2020\/12\/image-33.png\"><img decoding=\"async\" loading=\"lazy\" width=\"487\" height=\"239\" src=\"https:\/\/www.flip-design.de\/wp-content\/uploads\/2020\/12\/image-33.png\" alt=\"\" class=\"wp-image-813\" srcset=\"https:\/\/www.flip-design.de\/wp-content\/uploads\/2020\/12\/image-33.png 487w, https:\/\/www.flip-design.de\/wp-content\/uploads\/2020\/12\/image-33-300x147.png 300w\" sizes=\"(max-width: 487px) 100vw, 487px\" \/><\/a><\/figure>\n\n\n\n<p>Now you can add the translations for your tables, columns and measures.<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><a href=\"https:\/\/www.flip-design.de\/wp-content\/uploads\/2020\/12\/image-34.png\"><img decoding=\"async\" loading=\"lazy\" width=\"405\" height=\"544\" src=\"https:\/\/www.flip-design.de\/wp-content\/uploads\/2020\/12\/image-34.png\" alt=\"\" class=\"wp-image-814\" srcset=\"https:\/\/www.flip-design.de\/wp-content\/uploads\/2020\/12\/image-34.png 405w, https:\/\/www.flip-design.de\/wp-content\/uploads\/2020\/12\/image-34-223x300.png 223w\" sizes=\"(max-width: 405px) 100vw, 405px\" \/><\/a><\/figure>\n\n\n\n<figure class=\"wp-block-image size-large\"><a href=\"https:\/\/www.flip-design.de\/wp-content\/uploads\/2020\/12\/image-35.png\"><img decoding=\"async\" loading=\"lazy\" width=\"605\" height=\"380\" src=\"https:\/\/www.flip-design.de\/wp-content\/uploads\/2020\/12\/image-35.png\" alt=\"\" class=\"wp-image-815\" srcset=\"https:\/\/www.flip-design.de\/wp-content\/uploads\/2020\/12\/image-35.png 605w, https:\/\/www.flip-design.de\/wp-content\/uploads\/2020\/12\/image-35-300x188.png 300w, https:\/\/www.flip-design.de\/wp-content\/uploads\/2020\/12\/image-35-478x300.png 478w\" sizes=\"(max-width: 605px) 100vw, 605px\" \/><\/a><\/figure>\n\n\n\n<p>If you want to add a default translation for every object in your data model, Daniel has wrote an awesome script to do this: <a href=\"https:\/\/tabulareditor.com\/2019\/10\/23\/TabularEditorTricks3.html\">https:\/\/tabulareditor.com\/2019\/10\/23\/TabularEditorTricks3.html<\/a><br>From SQL BI you can get a good editor to edit very easily the export file without having an active connection to the model: <a href=\"https:\/\/www.sqlbi.com\/tools\/ssas-tabular-translator\/\">https:\/\/www.sqlbi.com\/tools\/ssas-tabular-translator\/<\/a><br>So another department can make the translations for you and after that, you can re-import the file to add the translations.<\/p>\n\n\n\n<p>After saving your modifications, you can consume your report:<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><a href=\"https:\/\/www.flip-design.de\/wp-content\/uploads\/2020\/12\/image-36.png\"><img decoding=\"async\" loading=\"lazy\" width=\"605\" height=\"319\" src=\"https:\/\/www.flip-design.de\/wp-content\/uploads\/2020\/12\/image-36.png\" alt=\"\" class=\"wp-image-816\" srcset=\"https:\/\/www.flip-design.de\/wp-content\/uploads\/2020\/12\/image-36.png 605w, https:\/\/www.flip-design.de\/wp-content\/uploads\/2020\/12\/image-36-300x158.png 300w, https:\/\/www.flip-design.de\/wp-content\/uploads\/2020\/12\/image-36-500x264.png 500w\" sizes=\"(max-width: 605px) 100vw, 605px\" \/><\/a><\/figure>\n\n\n\n<p>And here is the report with the added translations:<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><a href=\"https:\/\/www.flip-design.de\/wp-content\/uploads\/2020\/12\/image-37.png\"><img decoding=\"async\" loading=\"lazy\" width=\"605\" height=\"319\" src=\"https:\/\/www.flip-design.de\/wp-content\/uploads\/2020\/12\/image-37.png\" alt=\"\" class=\"wp-image-817\" srcset=\"https:\/\/www.flip-design.de\/wp-content\/uploads\/2020\/12\/image-37.png 605w, https:\/\/www.flip-design.de\/wp-content\/uploads\/2020\/12\/image-37-300x158.png 300w, https:\/\/www.flip-design.de\/wp-content\/uploads\/2020\/12\/image-37-500x264.png 500w\" sizes=\"(max-width: 605px) 100vw, 605px\" \/><\/a><\/figure>\n","protected":false},"excerpt":{"rendered":"<p>When you need translations for your \u00a0Power BI reporting in a multi lingual scenario, you need a Premium capacity. When you have edited your PBIX with Tabular Editor and added translations, this works with Power BI Desktop, but unfortunately not &hellip; <a href=\"https:\/\/www.flip-design.de\/?p=810\">Continue reading <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"","sticky":false,"template":"","format":"standard","meta":{"_monsterinsights_skip_tracking":false,"_monsterinsights_sitenote_active":false,"_monsterinsights_sitenote_note":"","_monsterinsights_sitenote_category":0},"categories":[1],"tags":[],"_links":{"self":[{"href":"https:\/\/www.flip-design.de\/index.php?rest_route=\/wp\/v2\/posts\/810"}],"collection":[{"href":"https:\/\/www.flip-design.de\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.flip-design.de\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.flip-design.de\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.flip-design.de\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=810"}],"version-history":[{"count":2,"href":"https:\/\/www.flip-design.de\/index.php?rest_route=\/wp\/v2\/posts\/810\/revisions"}],"predecessor-version":[{"id":819,"href":"https:\/\/www.flip-design.de\/index.php?rest_route=\/wp\/v2\/posts\/810\/revisions\/819"}],"wp:attachment":[{"href":"https:\/\/www.flip-design.de\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=810"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.flip-design.de\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=810"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.flip-design.de\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=810"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}