dbTalk Databases Forums  

Changing a level of a dimension

microsoft.public.sqlserver.olap microsoft.public.sqlserver.olap


Discuss Changing a level of a dimension in the microsoft.public.sqlserver.olap forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
Botinha
 
Posts: n/a

Default Changing a level of a dimension - 02-18-2004 , 11:46 AM






Hi!!

I have a problem. The problem is that i need to build a time dimension
with for levels year, semester, quarter, month.
I had made the semester level manualy...but the month level returns
the name in english...and i want to change it!!!
How could i call a function defined in the database that i am using?

i.e.:
in the dimension editor from analysis manager
and in the basic tab proprerties in
Member name column: ??user_function??"dbo"."TB_SIG_PRODUCAO"."CTR_D_En reg_CNT"

It's possible?
In resume i want to translate the month name to another language in a
proper way!!Because i will need to translate to 3 or 4 languages...


Thanks in advance

Botinha

Reply With Quote
  #2  
Old   
Tom Chester
 
Posts: n/a

Default Re: Changing a level of a dimension - 02-18-2004 , 12:41 PM






I suggest using views to source dimensions (and fact tables for that
matter).

public @ the domain below
www.tomchester.net

"Botinha" <botinha (AT) netcabo (DOT) pt> wrote

Quote:
Hi!!

I have a problem. The problem is that i need to build a time dimension
with for levels year, semester, quarter, month.
I had made the semester level manualy...but the month level returns
the name in english...and i want to change it!!!
How could i call a function defined in the database that i am using?

i.e.:
in the dimension editor from analysis manager
and in the basic tab proprerties in
Member name column:
??user_function??"dbo"."TB_SIG_PRODUCAO"."CTR_D_En reg_CNT"

It's possible?
In resume i want to translate the month name to another language in a
proper way!!Because i will need to translate to 3 or 4 languages...


Thanks in advance

Botinha



Reply With Quote
  #3  
Old   
Jamie Thomson
 
Posts: n/a

Default RE: Changing a level of a dimension - 02-19-2004 , 09:36 AM



Botinha
Better to build views inbetween your star schema and Analysis Services and build the values in there using either a CASE statement or a lookup to another table with all of the translations

Regard
Jami


Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.3
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.