dbTalk Databases Forums  

Range, Sum and a filter of other dimension

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


Discuss Range, Sum and a filter of other dimension in the microsoft.public.sqlserver.olap forum.



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

Default Range, Sum and a filter of other dimension - 02-26-2004 , 07:06 AM






Hi,

I'm triying to make a calculated member something like this...

sum({([Date].[1900]:[Date].[2003]), ([Dimension].[level].&[A])},
[Measures].[Measure2])

But it returns a blank result to me.

Can anybody help me?

I need to sum a range of data filtered by a value of other dimension.

So I need to sum from 1900 to 2003 and filter for the member a of the
client dimension in a calculated member.

Thank's in advance!!!

Un saludo,

Enrique Barceló

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

Default Re: Range, Sum and a filter of other dimension - 02-26-2004 , 09:53 AM






Hmm, the syntax seems odd, surprised you're not getting an error. Maybe
this...?

sum({[Date].[1900]:[Date].[2003]},
([Dimension].[level].&[A] , [Measures].[Measure2]) )


public @ the domain below
www.tomchester.net

"Enrique" <sanbarsl (AT) hotmail (DOT) com> wrote

Quote:
Hi,

I'm triying to make a calculated member something like this...

sum({([Date].[1900]:[Date].[2003]), ([Dimension].[level].&[A])},
[Measures].[Measure2])

But it returns a blank result to me.

Can anybody help me?

I need to sum a range of data filtered by a value of other dimension.

So I need to sum from 1900 to 2003 and filter for the member a of the
client dimension in a calculated member.

Thank's in advance!!!

Un saludo,

Enrique Barceló



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.