DCSIMG
Friendly Names and Translations - Ella Maschiach's BI Blog

Ella Maschiach's BI Blog

BI, Olap Technologies, Tools, System Analysis and Design

News

About Ella Maschiach

Business Inteligence

Friendly Names and Translations

We define names for our tables and columns following the guidelines defined in our company. we might even adhere to international naming conventions. Still, nothing promises us the names we give our DB objects will be comprehensible to our customers.

And this is where SSAS steps in - Analysis Services enables you to give alternative names to your dimension attributes in the following two ways:

  1. Translations may be given to: dimensions, dimension attributes, user hierarchies, measures, measure groups and to many other objects. The translation usually appears in a separate tab called (surprise) "Translations". This tab enables us to define and manage several translations for the currently selected object. This way, we can create a cube and publish it to customers all over the world, giving each of them the chance to view the object with a caption in their native language. Microsoft gives you the ability to customize a translation for each and every language.
  2. FriendlyName is a property of a view or table or of a column. We can edit the FriendlyName property in Data Source View Designer, in the Tables or Diagram pane, by clicking the table, and then in the Properties window. You may choose to display either the data source names or the friendly names of objects. We can only create one FriendlyName property for each object.

Translations do NOT affect the names of objects (dimensions, measures, etc.), just their captions. MDX queries use object names so they are not affected by translations. FriendlyName, on the other hand, does appear in MDX queries. Even more so, if you refresh your DSV and your table has changed, SSAS seems to "forget" the friendly name you gave your table (though still leaving the FriendlyName you gave the column itself).

 

It sounds like I just tried to sell you translations now didn't it? Well, let me tell you then that I'm still switching from translations to FriendlyName! How's that you may ask?

Well, truth be told, my customers are currently viewing my cube through a viewer which doesn't support translations (the joke's on me no doubt)... as with other viewers out there, mine is not compatible with all the new things in SQL Server 2005. And so, some features are not working when I use translations, whereas with friendly names they are!

This means I get the shorter end of the stick as I need to write MDX queries with Hebrew in them – ahhhhhhhhhh!! The shock, the horror… Looking on the brighter side, I guess I should console myself, as my users are only from Israel and so I only need one language to move to (which is why I can use FriendlyName and not translations). Maybe if I move to England everything will be simpler ;) …

Comments

furmangg said:

What client tool are you using that doesn't support translations? Can't you just stick a token in the connection string to tell SSAS what language to return to the client?

# October 13, 2007 1:07 AM

Ella Maschiach said:

Well I am currently using Nova View Analytics version 5.1.79. The application shows me the name in the translation when the attribute is on the slicers pane. The problem is, that it shows me the name in English in my SSAS project in the attribute caption, when the attribute is added to the main matrix.

This problem was discussed with panorama, and I understood from them that I should write the name I want for the attribute in my native language in the FriendlyName property. Translations should be completely covered only in the next version of the product, to be released during 2008.

# October 14, 2007 10:48 AM

Pratima said:

How do i automate this procedure. For e.g if i change the dimension/ dimension attribute names via Visual studio, and the cube gets deployed every night, then these changes will be lost. Any work around for this?

# September 1, 2008 7:27 AM

Ella Maschiach said:

Hi Pratima,

If you change your dimension/ dimension attribute names via Visual studio and the change is deployed to the server, then you needn't worry as your change will be saved. The only time it doesn't remember the change is when you refresh the DSV and the table has changed (I'm assuming your table doesn't change on a daily basis). Around that, I don't know that there's another way around.

Hope that helped,

Ella

# September 2, 2008 7:19 AM
Leave a Comment

(required) 

(required) 

(optional)

(required) 


Enter the numbers above: