dbTalk Databases Forums  

AND in MDX for related records

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


Discuss AND in MDX for related records in the microsoft.public.sqlserver.olap forum.



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

Default AND in MDX for related records - 04-06-2005 , 09:37 PM






Hi All

I have the grain of fact table in this fashion

EncounterID PersonID QuestionID AnswerID
1 1000 Cigar Yes
1 1000 Cigarette Yes
1 1000 Pipe No
2 2000 Cigar Yes

I have created a member property for QuestionID
Now, I want to write a MDX which returns people who smoke cigar and
cigarette. If anyone can give me some idea, I really appreciate it.

thanks

Milind


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.