Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.
We're experiencing issues with databases that has different language data.
We have a Power BI report that was created originally with a PC language set as English but when we're importing data with characters from the danish and swedish languages (ÆØÅ -ÅÄÖ), the filters and sorting doesn't show correctly when using characters that's not in the english language.
Below is a screenshot where you can see the sorting of names with swedish characters is not in the right order:
We have tried changing the language of the desktop report to swedish/danish without success.
Then we've found extensive solution which is to recreate the report in swedish or danish but that causes problems with import measures, columns, style and visuals which is a pain to recreate.
We've thought about splitting the datamodel and report but it'll be difficult and extensive to maintain.
Has anyone had similiar issues and have you been able to solve it?
Any answers are greatly appreciated.
Regards,
Jacob
Solved! Go to Solution.
Hi, @Anonymous
I reproduced your scenario, and this problem did occur, but I found a solution, which is simpler than recreating the report.
You need to create another report(with swedish language model setting) with the field(need to sort), then create a column to sort and publish it to pbi service.
Like this:
Column = RANKX('Table',[Column1],[Column1],ASC)
Secondly, You need to add a powerbi dataset data source to the original report, and then establish a relationship between the two tables, and then use the new table columns and calculated columns in the visual to replace the original one, then you can get the correct order finally.
Best Regards
Janey Guo
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Hi, @Anonymous
I reproduced your scenario, and this problem did occur, but I found a solution, which is simpler than recreating the report.
You need to create another report(with swedish language model setting) with the field(need to sort), then create a column to sort and publish it to pbi service.
Like this:
Column = RANKX('Table',[Column1],[Column1],ASC)
Secondly, You need to add a powerbi dataset data source to the original report, and then establish a relationship between the two tables, and then use the new table columns and calculated columns in the visual to replace the original one, then you can get the correct order finally.
Best Regards
Janey Guo
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Hi Janey.
Thank you for your answer.
As I understand, I would have to do this for each language and table that I wish to sort.
This seems almost the same as recreating the report if I understand correctly?
Regards,
Jacob
Hi, @Anonymous
If there are many measures and visuals in your table, then my method will save a lot of time. If there is only one visual, then it is almost the same.
You only need to create and connect the dataset containing that language field and a calculated column, and replace the original language field after create the relationship.
The whole process takes only a few minutes. I think this is the only and fast way.
Best Regards
Janey Guo
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City
Check out the April 2024 Power BI update to learn about new features.
User | Count |
---|---|
109 | |
98 | |
77 | |
66 | |
54 |
User | Count |
---|---|
144 | |
104 | |
100 | |
86 | |
64 |