![]() | |
![]() |
| | Thread Tools | Display Modes |
#1
| |||
| |||
|
#2
| |||
| |||
|
| WITH |
|
Soryr if this has been posted before but I have tried searching (my Google searching skills aren't the best) with no joy... Anyway - Analysis Server 2000 problem. I have a cube with multiple dimensions, two of those dimensions are incoming site and outgoing site (Source and Dest)....both source and destination are based on the same dimenstion table... Now I have a problem in that the users want to be able to query where the [Source] OR the [Destination] are a specific place. The MDX that I have at the moment is :- select { [Time_W].[All Time_W].[2006].[Week 13] } on rows, { [Measures].[TotCallsAllTypes] } on columns from Call where ([Destination].[All Destination].[High Street], [Source].[All Source].[High Street]) which returns the INTERSECTION of the Source and Destination (correct??) what I want is the UNION of the Source and the Destination (i.e. OR in SQL parlance) Now, without messing with the cube structure, is there an easy way to do this without writing 3 queries (source + dest - intersection) Thanks in advance Bob |
#3
| |||
| |||
|
#4
| |||
| |||
|
| WITH |
|
Darren, Thanks for that but it is still giving me the 'wrong' answer, prehaps I got my terminology wrong, in fact I probably did. What we have is the following scenarion Incoming site ID Outgoing Site ID Num Calls 1 1 1 1 2 1 3 1 1 What your MDX would return for the number of calls is 4 (is that the UNION??) What I would like to see is for the number of calls is 3 (this is the OR function in SQL parlance) Any further help would be greatly appreciated. Bob Bain |
#5
| |||
| |||
|
![]() |
| Thread Tools | |
| Display Modes | |
| |