![]() | |
![]() |
| | Thread Tools | Display Modes |
#1
| |||
| |||
|
#2
| |||
| |||
|
| Newsgroups: microsoft.public.sqlserver.olap |
#3
| |||
| |||
|
|
See if the technique discussed in this recent thread helps (it looks like you have an intermediate alphabetic level as well). Milind reported reduction in query time from 36 to 4 secs: http://groups.google.com/group/micro...olap/msg/17525 2463615cf46 Newsgroups: microsoft.public.sqlserver.olap From: Deepak Puri Date: Fri, 13 Jan 2006 14:09:05 -0800 Subject: Re: MDX Query Performance Milind, Assuming that there are aggregations at the "Alphabetic" level, this earlier thread technique below may help: with member [Measures].[AsCount] as 'Count(Generate(NonEmptyCrossJoin([Person].Children), NonEmptyCrossJoin([Person].Children)))' Select {[Measures].[AsCount]} on columns from DM_Answer where ([QuestionSet].&[DiabetesAs], [Question].&[DMPreventSocial], [Client].&[52]) (the above assumes that the [Person] default member is at the [All] level, so ().Children is called twice) .. - Deepak Deepak Puri Microsoft MVP - SQL Server *** Sent via Developersdex http://www.developersdex.com *** |
![]() |
| Thread Tools | |
| Display Modes | |
| |