dbTalk Databases Forums  

DDL for including lower level members in Create Global Cube

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


Discuss DDL for including lower level members in Create Global Cube in the microsoft.public.sqlserver.olap forum.



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

Default DDL for including lower level members in Create Global Cube - 12-06-2003 , 11:09 PM






Hello,

Using the example from the Microsoft's Analysis Server DDL
documentation at:
http://search.microsoft.com/gomsuri....i/ansvcddl.asp

CREATE GLOBAL CUBE SalesCA STORAGE 'C:\SalesCA.cub' FROM [Sales]
(
MEASURE [Sales].[Unit Sales],
MEASURE [Sales].[Store Cost],
MEASURE [Sales].[Store Sales],
MEASURE [Sales].[Sales Count],
MEASURE [Sales].[Store Sales Net],
DIMENSION [Sales].[Customers]
(
LEVEL [State Province],
LEVEL [City],
MEMBER [Customers].[All Customers].[USA].[CA]
),
DIMENSION [Sales].[Education Level],
DIMENSION [Sales].[Gender],
DIMENSION [Sales].[Marital Status],
DIMENSION [Sales].[Product],
DIMENSION [Sales].[Promotion Media],
DIMENSION [Sales].[Promotions],
DIMENSION [Sales].[Store],
DIMENSION [Sales].[Store Size in SQFT],
DIMENSION [Sales].[Store Type],
DIMENSION [Sales].[Time],
DIMENSION [Sales].[Yearly Income]
)


How can you adjust the query to include members in the lower level
dimension name which correspond to the City CA?

Thanks
--B


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.