Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

It´s Possible Translate the months ?

Status
Not open for further replies.

RicardoPereira

Programmer
Jun 3, 2003
255
PT
Hi,

It´s possible translate automatically the months?
Example: May -> Maio

Thanks
 
Hi,

Yes! I have a time dimension table and added another column month_text, something like this:
Year Month Day Month_text
1990 05 01 Mai

I created a new column "Month_label" in my report contain Year and Month_text -> 1990/Mai



I read the new label "Month_label" into transformer and set the label of the time dimension properties on the level month to this new column "Month_label". You could also create it with sql by getting the month from you date and doing 12 if statements and passing it in as a label in the month level, like above.
if (month (20020501)) = 05 then Mai etc


canhe
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top