Power BI report translation and embedding (title, column names) - powerbi

I just begun working on a project and have been tasked with translating some reports. I have found a handful of ways ranging from manual dataset translation to scripts and such. I was wondering, if there is some way of automating this process. Is there a way of taking an existing dataset, running some commands or something and with a few steps, have a translated report. My team has these reports embedded and there is a language code in the URL, perhaps there is some way of making use of that.
The dataset, that I am testing and trying to get it to translate consists of 4 tables and column names are only values with text, everything else is numbers. Logically, numbers don't translate, so columns are only necessary. There are also some visual titles, that should be translated.
I appreciate any help and any efforts made to resolve this.

For an embedded report, there's a couple of things that you can do:
Use translations files in the PBI model to handle measures and column names. These will show up as labels in visuals. See the section, Translate Power BI field and table names, here: https://pbi-guy.com/tag/tabular-editor/
The language can be selected from the app by putting it in a querystring: https://community.powerbi.com/t5/Developer/Setting-language-and-locale-for-embedded-report/td-p/606714
Add a table with translations for labels and titles. See this section from the same link above: Create one report and a “translation table” to display the right language. Note that a filter will need to be set by the app to select the language in addition to how the language is set in the querystring above.
A couple of important caveats:
Anything overwritten in the report will override a translation. So if you change a column name in a visual, that's what it will always be no matter what language is selected.
Not every visual supports expressions, so sometimes you'll have to wrangle a button or multi-row card to use as a label or title.
the free version of tabular editor can be found here: https://github.com/TabularEditor/TabularEditor/releases/tag/2.17.2

Related

PowerBI replace column names with values from a table containing translations

My report has visuals as tables, that display data. These visual names or value names are displayed in english. Once the data is published and then embedded, it needs to be displayed in the according language that is selected by a user.
How to change the value names, without messing up the data?
For example, here would be a visual:
|Electricity| 1 | 5 | 6 | 10 | in english
|Electricidad| 1 | 5 | 6 | 10 | in spanish
The dataset contains multiple tables from which data is taken and then visualized, but the translated values are in one table in one column. The table has a column fieldname that is like an identifier in all of the languages available, and text value that contains all of the translations. How could I make a measure or something, to dynamically replace the names but not touch the values?
The report has a table and a pie chart and maybe something can be done with the field Value, when selecting the pie chart. Any help is welcome, thank you!
if your report is going to be embedded, you can leverage external tool like Metadata Translator to automatically translate the metadata (column names, measures, ...) to the language of your choice using the locale of the user opening the report.
You can fetch the tool from this link. The tool is available in GitHub but you need to build it on your computer to install it, I found that installing it through Power BI Business Ops is much easier.
It's fairly simple to use and you can even automate the translation part trough API as Azure Cognitive Service or Google Translate. Behind the hood it's leveraging features that have been available in SSAS for a long time. You can even see the translation using another external tool like Tabular Editor, but it's harder to manage them from there.
Last but not least, Microsoft released very recently a very good series of videos to achieve multi language report. It's not so easy to set up but I would have been quite glad to have this kind of documentation when I had to figure this all by myself few years ago...
Hope this helps.

Is there a fast way to see all the active mesures in a Power BI report?

I am trying to siff through a large PBI report and for that I want to be able to determine the active measures and tables in the data model. In others words, I wanna be able to see what's being used from what's unused or obsolete in the model.
Is there, by any chance, a shortcut for that?
Thanks in advance
I think what you are after is RADACAD's amazing PowerBI Helper Utility.
This utility, once installed, is integrated in to the PowerBI external tools ribbon.
See the section at the link above around removing unused fields and measures.
Remove Not-used fields If there is a field not used in any visual, filter, or other calculations, then this is a safe field to be
removed. Power BI Help can identify these fields even if they are DAX
calculated columns or measures. Using the dependency tree of the
measure, it will identify if the field is used in another calculation
that is used in a visual or filter.

Power BI with SQL Analysis Services: how to "Hide" all not used tables from "Fields"

When I work in Power BI Desktop connected to SQL Analysis Services, my model looks like this,
Enter image description here
And the "Fields" tab on the right spans for more than a page long:
Enter image description here
In reality I actually use only a few tables and a few columns in those tables + my measures.
To simplify that look, I can go to ellipses near each tables title, and hide that particular table. I also can do this on "model" tab, but in my case, when I have a few dozens of tables, it is time consuming.
Is there a way how to "hide" all not used tables and columns, to help report consumers to comprehend the model and my calculations?
You can also easily hide multiple fields in Power BI Desktop. The best place to do that is to go into the Model tab. Then select all fields that you want to hide (using Ctrl or Shift with selection), and then in the Properties tab beside it, turn the Is Hidden property to On.

Is there a way that POWERBI does not agregate all numeric data?

so, I got 3 xlsx full of data already treated, so I pretty much just got to display the data using the graphs. The problem seems to be, that Powerbi aggregates all numeric data (using: count, sum, etc.) In their community they suggest to create new measures, the thing is, in that case I HAVE TO CREATE A LOT OF MEASURES...Also, I tried to convert the data to text and even so, Powerbi counts it!!!
any help, pls?
There are several ways to tackle this:
When you pull a field into the field well for a visualisation, you can click the drop down in the field well and select "Don't summarize"
in the data model, select the column and on the ribbon select "don't summarize" as the summarization option in the Properties group.
The screenshot shows the field well option on the left and the data model options on the right, one for a numeric and one for a text field.
And, yes, you never want to use the implicit measures, i.e. the automatic calculations that Power BI creates. If you want to keep on top of what is being calculated, create your own measures, and yes, there will be many.
Edit: If by "aggregating" you are referring to the fact that text values will be grouped in a table (you don't see any duplicates), then you need to add a column with unique values to the table so all the duplicates of the text values show up. This can be done in the data source by adding an Index column, then using that Index column in the table and setting it to a very narrow with to make it invisible.

Plain Report in PowerBI report similar to repeatable section in Cognos

I'm new to Power BI but am not seeing something that I feel should be pretty common report functionality. I have a cognos report that has a list grouped by specific fields, each item in the list has fields, etc. Each "item" is repeated in the list.
Can Power BI do something similar to this functionality? I have been looking at multi-row cards, tables, etc. but I'm not seeing a repeater control or something that would allow to mimic this functionality? The multi-row cards would work but I can't style them how the customer wants or needs b/c they are printed and need to match a certain format.
Even the single cards, if I could drop all the fields I need as single cards, format them how I want. Is there a way to have all rows repeated in a "list/set" of those single cards? Right now when I drop a bunch of single cards and a splicer it displays the first record and that is it? Surely there is a way to get all the records.
Here is an example (I need the formatting to remain basically the same, each row from data source represents one page that looks like this)
Thanks,
Tim
I don't think this is possible in Power BI yet. A muti-row card has similar functionality, but is not customizable enough to match what you are trying to do. Custom formatting is one of the drawbacks of Power BI at this time.
You can vote for this idea on the Power BI Ideas site, but I'm guessing it's not a high priority for Microsoft for now.