Top 3 Simplest Ways To Improve Your MDX Query

Who is online?  0 guests and 1 members
Home  »  Blogs  »  DustinRyan  »  Top 3 Simplest Ways To Improve Your MDX Query
Anil likes this.
 
4.78
/5
Avg: 4.78/5: (1 votes)

Comments (1)

user765622
user765622 said:
Could you help me enhance the performance of this query ? It is running in cube browser but won't run in excel . Scope([Measures].[Down Time]); Scope([MACHINE].[Facilities].allmembers); this = Case when [MACHINE].[Facilities].Currentmember.level is [MACHINE].[Facilities].[Facility] then iif( not isError([MACHINE].[Department Constraint].&[True]), Aggregate([MACHINE].[Department Constraint].&[True], [MACHINE].[Facilities].Currentmember), null) when [MACHINE].[Facilities].Currentmember.level is [MACHINE].[Facilities].[Department] then iif( not isError([MACHINE].[Department Constraint].&[True]), Aggregate([MACHINE].[Department Constraint].&[True], [MACHINE].[Facilities].Currentmember), null) when [MACHINE].[Facilities].Currentmember.level is [MACHINE].[Facilities].[Production Line No] then iif( not isError([MACHINE].[Production Line Constraint].&[True]), Aggregate([MACHINE].[Production Line Constraint].&[True], [MACHINE].[Facilities].Currentmember), null) when [MACHINE].[Facilities].Currentmember.level is [MACHINE].[Facilities].[Work Center] then iif( not isError([MACHINE].[Work Center Constraint].&[True]), Aggregate([MACHINE].[Work Center Constraint].&[True], [MACHINE].[Facilities].Currentmember), null) else [Measures].[Down Time Reported] End; end scope; end scope;
10/10/2012
 · 
 
by
Blogs RSS Feed

DustinRyan's latest blog posts

Blogs RSS Feed

Latest community blog posts