dbTalk Databases Forums  

How to use MDX to represent Measures without any Dimensions?

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


Discuss How to use MDX to represent Measures without any Dimensions? in the microsoft.public.sqlserver.olap forum.



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

Default How to use MDX to represent Measures without any Dimensions? - 12-30-2003 , 03:41 AM






Dear All

How to use MDX to represent Measures without any Dimensions, just like the measures are shown on the pivot table? Could some experts help to solve the problem

Charle


Reply With Quote
  #2  
Old   
Thomas Ivarsson
 
Posts: n/a

Default Re: How to use MDX to represent Measures without any Dimensions? - 12-30-2003 , 05:17 AM






SELECT {Measures.Members} On Columns
From Sales
Be aware though, that different clients will give you different results. It
works in the MDX sample application but in ProClarity 5.3 professional you
will se nothing.

HTH
Thomas Ivarsson BI Consultant, Malmö, Sweden

"Charles" <anonymous (AT) discussions (DOT) microsoft.com> wrote

Quote:
Dear All,

How to use MDX to represent Measures without any Dimensions, just like
the measures are shown on the pivot table? Could some experts help to solve
the problem ?
Quote:
Charles




Reply With Quote
  #3  
Old   
Charles
 
Posts: n/a

Default Re: How to use MDX to represent Measures without any Dimensions? - 12-30-2003 , 09:26 PM



Thanks a lot.

In addition, how can I do in MDX builder if I want to show one of measures in different calculations when the associated dimension are different ?

Like this:

When the dimension is A:
([Measures1], Ancestor([A].CurrentMember, [A].[(All)])

When the dimension is B:
([Measures1], Ancestor([b].CurrentMember, [b].[(All)])


How can I present both in a single calculated member in MDX builder? Any selection logics? Any suggestions?

Actually, thanks to those experts.

Charles

----- Thomas Ivarsson wrote: -----

SELECT {Measures.Members} On Columns
From Sales
Be aware though, that different clients will give you different results. It
works in the MDX sample application but in ProClarity 5.3 professional you
will se nothing.

HTH
Thomas Ivarsson BI Consultant, Malmö, Sweden

"Charles" <anonymous (AT) discussions (DOT) microsoft.com> wrote

Quote:
Dear All,
How to use MDX to represent Measures without any Dimensions, just like
the measures are shown on the pivot table? Could some experts help to solve
the problem ?
Quote:
Charles


Reply With Quote
  #4  
Old   
Charles
 
Posts: n/a

Default Re: How to use MDX to represent Measures without any Dimensions? - 01-13-2004 , 03:11 AM



Is this the limitation of MDX

----- Charles wrote: ----

Thanks a lot

In addition, how can I do in MDX builder if I want to show one of measures in different calculations when the associated dimension are different

Like this:

When the dimension is A:
([Measures1], Ancestor([A].CurrentMember, [A].[(All)]

When the dimension is B:
([Measures1], Ancestor([b].CurrentMember, [b].[(All)]


How can I present both in a single calculated member in MDX builder? Any selection logics? Any suggestions?

Actually, thanks to those experts

Charle

----- Thomas Ivarsson wrote: ----

SELECT {Measures.Members} On Column
From Sale
Be aware though, that different clients will give you different results. I
works in the MDX sample application but in ProClarity 5.3 professional yo
will se nothing

HT
Thomas Ivarsson BI Consultant, Malmö, Swede

"Charles" <anonymous (AT) discussions (DOT) microsoft.com> wrote in messag
news:3F9B33C5-EDE6-4819-BFEF-0428A79DF63D (AT) microsoft (DOT) com..
Quote:
Dear All
How to use MDX to represent Measures without any Dimensions, just lik
the measures are shown on the pivot table? Could some experts help to solv
the problem
Quote:
Charle


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.