dbTalk Databases Forums  

Using Alias in MDX queries

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


Discuss Using Alias in MDX queries in the microsoft.public.sqlserver.olap forum.



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

Default Using Alias in MDX queries - 10-21-2003 , 05:07 AM






What is the symtax for retireving members from a
mulitdimensional cube by providinf aliases. For examle if
I want to retrieve the measure [Total Sales] as 'Sales'
how should I change the MDX query to achive the above.

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

Default Re: Using Alias in MDX queries - 10-21-2003 , 12:16 PM






The only way to alias a member is by creating a calculated member...

WITH MEMBER Measures.[Sales] AS
' Measures.[Total Sales] '

tom @ the domain below
www.tomchester.net


"S S" <simi_suk (AT) yahoo (DOT) com> wrote

Quote:
What is the symtax for retireving members from a
mulitdimensional cube by providinf aliases. For examle if
I want to retrieve the measure [Total Sales] as 'Sales'
how should I change the MDX query to achive the above.



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.