Hi , Below MDX Query its taking long time.Can you please help me, how to reduce time?. Give me some points. WITH MEMBER [Measures]. [CurrentDate] as 'NOW()' MEMBER DateDif as vba!datediff("d",[Invoice Sent Date].[Date] .currentmember.member_value, VBAMDX.Format(VBAMDX.Now(),"MM/dd/yy")) Member [DueBucket] as IIF (DateDif > 180, "Above 180", IIF(DateDif>120, "121-180", IIF(DateDif>90, "91-120", IIF(DateDif>60, "61-90", IIF(DateDif>30, "31-60", IIF(DateDif>=0, "0-30", "Not Due")))))) SELECT NON EMPTY {[Measures].[Amount] ,CurrentDate,DateDif , [DueBucket] } ON COLUMNS, NON EMPTY {([Customer].[Customer Name].[Customer Name].ALLMEMBERS * [Lob].[Lob Code].[Lob Code].ALLMEMBERS * [Date].[Month Name].[Month Name].ALLMEMBERS * [Invoice Sent Date].[Date].[Date].ALLMEMBERS ) } ON ROWS FROM [iWise]Regards,Raghav.
↧