![]() | |
![]() |
| | Thread Tools | Display Modes |
#1
| |||
| |||
|
#2
| |||
| |||
|
#3
| |||
| |||
|
|
-----Original Message----- I am hoping someone can advise me on a more efficient calculation for the following calc-member. I have "Time" dimension with levels Hour, Shift, Day, Month, Year. I have a organizational hierarchy in another dimension (MyHierarchy). The fact table is a set of events, each with a time-stamp and a field from the leaf level of MyHierarchy. The calc-member "Repeater" is to count the number of times where a specific member of MyHierarchy at the leaf level has an event more than once in an hour. I created a recursive calc as shown below... iif([Time].CurrentMember.Level.Name = "Hour", Count(Filter(Descendants([MyHierarchy].CurrentMember, [MyHierarchy]. [LeafLevel]), [Count] > 1)), Sum(Descendants([Time].CurrentMember, [Hour]), Repeater) ) We have a Crystal report that shows the totals for a few months. Each month has about 120K events and MyHierarchy has about 10K members at the leaf level. Opening the cube to browse takes several minutes. Viewing in AS Manager is also painfully slow. Any suggestions on a different approach to the MDX to improve performance? Thanks, Les M . |
![]() |
| Thread Tools | |
| Display Modes | |
| |