![]() | |
![]() |
| | Thread Tools | Display Modes |
#1
| |||
| |||
|
#2
| |||
| |||
|
| ... |
#3
| |||
| |||
|
#4
| |||
| |||
|
|
Can you explain what the P-C dimension looks like, and how you are using ParallelPeriod()? Keep in mind that there is only a single level defined for such a dimension: http://msdn.microsoft.com/library/de.../en-us/olapdma d/agdimensions_5ab7.asp ... Unlike regular and virtual dimensions, which are defined with a number of levels that determines the number of levels seen by end users, a parent-child dimension is defined with a single level of a special type that usually produces multiple levels seen by end users. The number of displayed levels depends on the contents of the columns that store the member keys and the parent keys. This number can change when the dimension table is updated and the cubes using the dimension are subsequently processed. ... - Deepak *** Sent via Developersdex http://www.developersdex.com *** Don't just participate in USENET...get rewarded for it! |
#5
| |||
| |||
|
#6
| |||
| |||
|
| With Member Measures.PrevEmpl as |
#7
| |||
| |||
|
|
You're right in general, Chris - though there seem to be some cases that I can't quite explain. Consider this Foodmart HR cube query on the Employees dimension: With Member Measures.PrevEmpl as 'ParallelPeriod([Employees].[Senior Management], 1, [Employees].CurrentMember).Name' Select {Measures.PrevEmpl} on 0, [Employees].[Level].Members on 1 From HR ParallelPeriod() returns members of the [Senior Management] level in 3 cases where it should return null: Employee | PrevEmpl ------------------------------------ Jessica Olguin | Rebecca Kanagaki Jonathan Murraiin | Robert Damstra Concepcion Lozada | Donna Arnold - Deepak *** Sent via Developersdex http://www.developersdex.com *** Don't just participate in USENET...get rewarded for it! |
#8
| |||
| |||
|
|
Chris, thank you for your help. I tested this using MS AS MDX Sample Application and it does work (ealier tests were done using a specific client application). I then tested this changing the value of "Mdx Compatibility" to 2 in the connection string and got an error message ! => "The function doesn't support ragged hierarchies". However, I'm wandering whether setting the value ot this property to 1 while connecting to MS AS 2000 might have any side effect ? JC |
#9
| |||
| |||
|
#10
| |||
| |||
|
|
Thanks Chris - that explains why these data members were returned by ParallelPeriod() - but this behavior doesn't seem consistent with them being "hidden". They are not returned by ().Children or in the ().Members list of the lower level. So which MDX functions should they be visible to by design - or is that undefined? - Deepak *** Sent via Developersdex http://www.developersdex.com *** Don't just participate in USENET...get rewarded for it! |
![]() |
| Thread Tools | |
| Display Modes | |
| |