dbTalk Databases Forums  

Selecting Member Names and Member Properties together.... across time

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


Discuss Selecting Member Names and Member Properties together.... across time in the microsoft.public.sqlserver.olap forum.



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

Default Selecting Member Names and Member Properties together.... across time - 12-13-2004 , 09:55 AM






I found this mdx query online. It's a good start for what I need, but I
want some extra columns.
This code gets me the "Store Sqft" but I also need "Store City" and
"Store Name" in the same result set. I also need the "Units Shipped"
measure but accross Quarters.
So basically I need to see
"Store City" | "store name" | "store sqft" | "[2002][Q1] Units Shipped"
Quote:
"[2002][Q2] Units Shipped" | etc.

SELECT
{[Measures].[Units Shipped]} ON COLUMNS,
NON EMPTY [Store].[Store Name].MEMBERS DIMENSION PROPERTIES
[Store].[Store Name].[Store Sqft] ON ROWS
FROM
Warehouse


-----------------------------------
Any help will be greatly appreciated.
Thanks

Francisco Alvarado



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.