dbTalk Databases Forums  

Change Dimension Names

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


Discuss Change Dimension Names in the microsoft.public.sqlserver.olap forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
D.E.
 
Posts: n/a

Default Change Dimension Names - 07-25-2005 , 02:57 AM






Hi,

I have a dimension that has values :

1,2,3,4

and I want to show when Browsing cube :

USA,Canada,Tokyo,Paris

Is this possible by using an MDX query?

Thanks,
D.E.



Reply With Quote
  #2  
Old   
Francesco Anti
 
Posts: n/a

Default Re: Change Dimension Names - 07-25-2005 , 03:31 AM






I'm not sure you can use an MDX query. You can certanily use a CASE sql
statement in the dimension "Member name Column" property.
CASE YourField WHEN 1 then 'USA' WHEN 2 then 'CANADA' ..... END

Francesco Anti

"D.E." <dimitris (AT) add (DOT) gr> wrote

Quote:
Hi,

I have a dimension that has values :

1,2,3,4

and I want to show when Browsing cube :

USA,Canada,Tokyo,Paris

Is this possible by using an MDX query?

Thanks,
D.E.





Reply With Quote
  #3  
Old   
D.E.
 
Posts: n/a

Default Re: Change Dimension Names - 07-25-2005 , 03:57 AM



Francesco,
Thank you very much
It works ok.

D.E.


"Francesco Anti" <fanti_ (AT) _sicosbt (DOT) it> wrote

Quote:
I'm not sure you can use an MDX query. You can certanily use a CASE sql
statement in the dimension "Member name Column" property.
CASE YourField WHEN 1 then 'USA' WHEN 2 then 'CANADA' ..... END

Francesco Anti

"D.E." <dimitris (AT) add (DOT) gr> wrote in message
news:O9v3p6OkFHA.4000 (AT) TK2MSFTNGP12 (DOT) phx.gbl...
Hi,

I have a dimension that has values :

1,2,3,4

and I want to show when Browsing cube :

USA,Canada,Tokyo,Paris

Is this possible by using an MDX query?

Thanks,
D.E.







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.