![]() | |
![]() |
| | Thread Tools | Display Modes |
#1
| |||
| |||
|
#2
| |||
| |||
|
| WITH |
|
Hi I have 2 dimensions Person and Answer with two levels "Field" and lower level "Name". Now with the below MDX query i get the output Person Answer __________________________ Kimberly Accepted Kimberly Declined Tom Enrolled Kevin NotInterested MDX Query ___________ with set [FinalSet] as 'NonEmptyCrossJoin(except({[Person].[Name].Members}, ({[Person].[All Person]})), [Answer].[Name].members, {[Question].[DMStatus]}, 2)' Select {[FinalSet]} on rows, {[Measures].[Encounter]} on columns from DM_Answer WHERE ([Question].&[DMStatus]) I want the Last Answer for that person The output should be Person Answer __________________________ Kimberly Declined (This is the lamost recent answer) Tom Enrolled Kevin NotInterested I tried lot of options like LastChild, Closingperiod but all in vain. Please help Thanks in advance Milind |
#3
| |||
| |||
|
#4
| |||
| |||
|
| With |
#5
| |||
| |||
|
#6
| ||||
| ||||
|
| With Set [TestExtract] as |
| With |
#7
| |||
| |||
|
![]() |
| Thread Tools | |
| Display Modes | |
| |