dbTalk Databases Forums  

Partially shared dimensions and virtual cube

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


Discuss Partially shared dimensions and virtual cube in the microsoft.public.sqlserver.olap forum.



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

Default Partially shared dimensions and virtual cube - 09-10-2003 , 06:19 AM







I have the following star schema



TIME

-----

Year

Quarter

Month

Time_id



Market

--------

Country

State

City

Market_id





Areas

-------

Area

Market_id

Area_id





SALES (The fact table)

--------

Time_id

Market_id

SALES





CALLS (this is another fact table)

--------------------------------------

TIME_ID

MARKET_ID

AREA_ID

CALL_COUNT (This is the measre)





Now I made two cubes 1 for sales and another for calls



Sales cube have dimensions Time and Market, and fact table sales



Calls cube have dimensions

TIME and Market (composed of Market and area tables i.e

market and area are snowflaked for calls cube)



Now I want to create a combined virtual cube named combined

The dimensions of this cube will be

time

market



The measures of this virtual cube will be

SALES

CALL_COUNT



The problem is, its not shoiwng the sales and call_count side by side.





How can I achieve this



Thanks



Asim Naveed


--
Posted via http://dbforums.com

Reply With Quote
  #2  
Old   
Sean Boon [MS]
 
Posts: n/a

Default Re: Partially shared dimensions and virtual cube - 09-10-2003 , 01:18 PM






You might need to use the VALIDMEASURE() MDX function in order to see the
data that you want. You'll just need to create calculated members in the
virtual cube that wrap your base measures in the VALIDMEASURE() function and
it should allow you to view the data.

Sean



--
Sean Boon
SQL Server BI Product Unit

**This posting is provided AS IS, with no warranties, and confers no
rights.**

"asim73" <member31195 (AT) dbforums (DOT) com> wrote

Quote:
I have the following star schema



TIME

-----

Year

Quarter

Month

Time_id



Market

--------

Country

State

City

Market_id





Areas

-------

Area

Market_id

Area_id





SALES (The fact table)

--------

Time_id

Market_id

SALES





CALLS (this is another fact table)

--------------------------------------

TIME_ID

MARKET_ID

AREA_ID

CALL_COUNT (This is the measre)





Now I made two cubes 1 for sales and another for calls



Sales cube have dimensions Time and Market, and fact table sales



Calls cube have dimensions

TIME and Market (composed of Market and area tables i.e

market and area are snowflaked for calls cube)



Now I want to create a combined virtual cube named combined

The dimensions of this cube will be

time

market



The measures of this virtual cube will be

SALES

CALL_COUNT



The problem is, its not shoiwng the sales and call_count side by side.





How can I achieve this



Thanks



Asim Naveed


--
Posted via http://dbforums.com



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.