dbTalk Databases Forums  

GROUPING in "CREATE SESSION CUBE"

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


Discuss GROUPING in "CREATE SESSION CUBE" in the microsoft.public.sqlserver.olap forum.



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

Default GROUPING in "CREATE SESSION CUBE" - 07-18-2005 , 10:38 AM






Below is the grouping example using Create Session Cube.

CREATE SESSION CUBE [SalesAssignmentsCA] FROM [SalesCA]
(
MEASURE [SalesCA].[Unit Sales],
DIMENSION [SalesCA].[Time],
DIMENSION [SalesCA].[Customers] HIDDEN AS [HiddenCustomers],
DIMENSION [Customers] NOT_RELATED_TO_FACTS FROM [HiddenCustomers]
(
LEVEL [State Province],
LEVEL [SalesPerson] GROUPING,
LEVEL [City],
GROUP [SalesPerson].[SalesPerson A]
(
MEMBER [HiddenCustomers].[CA].[Altadena],
MEMBER [HiddenCustomers].[CA].[Beverly Hills],
MEMBER [HiddenCustomers].[CA].[Bellflower],
MEMBER [HiddenCustomers].[CA].[Daly City],
MEMBER [HiddenCustomers].[CA].[Fremont],
MEMBER [HiddenCustomers].[CA].[Concord]
....
),
....
)
)

Here, I'd like to specify member list within GROUP more effectively. For
example,

SET Filter( [HiddenCustomers].[CA].Children, <<Condition>>)

But looks like that current AS does not support this kind of syntax. Any
ideas?

Thanks in advance,

Ohjoo Kwon



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.