Does this version show any improvement in performance:
Set [DateRange] as
'{[date].[1 jan 2005], [date].[2 jan 2005]}'
MEMBER [date].[Aggregation] AS
'AGGREGATE([DateRange])', SOLVE_ORDER
= 0
SELECT
NONEMPTYCROSSJOIN(
DESCENDANTS([Product].[All Product],
[Product].[1 level from top]),
{[Measures].[mymeasure]},
[DateRange], 2) ON COLUMNS ,
NONEMPTYCROSSJOIN(
DESCENDANTS([customer].[All customer],
[customer].[leaf level]),
{[Measures].[mymeasure]},
[DateRange], 1) ON ROWS
FROM [my physical cube]
WHERE
([date].[Aggregation])
- Deepak
Deepak Puri
Microsoft MVP - SQL Server
*** Sent via Developersdex http://www.developersdex.com ***