dbTalk Databases Forums  

calculated member

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


Discuss calculated member in the microsoft.public.sqlserver.olap forum.



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

Default calculated member - 04-12-2004 , 01:27 AM






hi,
I want to create calculated member on unit sales.as
count.I am able to do thr the cube..(creating one measure
and set aggr function to count)..but this i want to do it
in calculated member.How to do? can any body tell?.Here i
am trying to gt..but its not correct..
member [Measure].[ct] as
'count({[Measures].[Unit sales]})'
how to write correct as i created in the cube?

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

Default Re: calculated member - 04-13-2004 , 12:03 AM






The first arument for Count needs to be the set that you wish to count, not
a measure.

public @ the domain below
www.tomchester.net

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

Quote:
hi,
I want to create calculated member on unit sales.as
count.I am able to do thr the cube..(creating one measure
and set aggr function to count)..but this i want to do it
in calculated member.How to do? can any body tell?.Here i
am trying to gt..but its not correct..
member [Measure].[ct] as
'count({[Measures].[Unit sales]})'
how to write correct as i created in the cube?



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.