dbTalk Databases Forums  

Filtering MDX expression

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


Discuss Filtering MDX expression in the microsoft.public.sqlserver.olap forum.



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

Default Filtering MDX expression - 07-14-2004 , 01:45 PM






I have a dataset that isn't that clean for Male/Female. It want to seperate
it to M/F/U(nknown)
There are some U's some blanks and some O's in that columns.
How can I filter it so

select {[TotalSubs]} on Columns, CrossJoin([Gender].members, [Age
Group].members) on Rows from [Consumer]


also I'm getting
Gender | Age | Total Subs
M | 25-30 | 100

any way to get a percentage of the total ?


Gender | Age | Total Subs | %
All | | 1000 | 100%
M | 25-30 | 100 | 10%



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.