dbTalk Databases Forums  

How to filter some part of data in the Measure for a selected dimension member

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


Discuss How to filter some part of data in the Measure for a selected dimension member in the microsoft.public.sqlserver.olap forum.



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

Default How to filter some part of data in the Measure for a selected dimension member - 07-27-2004 , 06:06 PM






Please suggest me any idea to achieve this in my Cube.
My cube Fact table has 2 measures and 7 dimension.

My fact table has two measures. One is Quantity and one is Revenue.
I have a dimension called "Product Dim".

For a selected ‘Product Dimension’ member as “ProductCode” = 200003, I
need to display the ‘Quantity ‘ measure as 0 and still display the
revenue measure.
For the rest of the “ProductCode”, I need to display the values in the
measure’ Quantitty’.
When I select ALL productcode , I need to display the summary of
‘Quantity’ not including the selected ProductCode= 200003.


Thanks,
Norman Chen


*** Sent via Developersdex http://www.developersdex.com ***
Don't just participate in USENET...get rewarded for it!

Reply With Quote
  #2  
Old   
patrick.vercoutter@jt-int.com
 
Posts: n/a

Default Re: How to filter some part of data in the Measure for a selected dimension member - 07-28-2004 , 01:06 PM






Create 'Calculated cell' (use wizzard in MSAS)
- dim measure : single measure = quantities
- dim product : single member = 200003
next screen
- mdx expression = 0

************************************************** ********************
Sent via Fuzzy Software @ http://www.fuzzysoftware.com/
Comprehensive, categorised, searchable collection of links to ASP & ASP.NET resources...

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.