Quantcast
Channel: SQL Server Analysis Services forum
Viewing all articles
Browse latest Browse all 14337

Performance issue for the below Query MDX

$
0
0

Hi Friends,

I have performance issue  for my Query as it was running about 15 seconds.

is there anyway to increase the performance of this Query ?

Please let me know if you have idea. Thanks

SELECT
NON EMPTY
{
  [Measures].[TaskStatusSecondsDuration],
  [Measures].[MaximumSKTaskStatustime]
} 
ON 0, 
NON EMPTY 
{
GENERATE(

         [Dim_Task].[TaskNumber].[TaskNumber].MEMBERS,
        
       TOPCOUNT(
            Nonempty(
               CROSSJOIN (
	
		                    [Dim_Task].[TaskNumber].CURRENTMEMBER
			                ,[Dim_TaskStatus].[StatusReasonReportingLabel].[StatusReasonReportingLabel].MEMBERS
			                ),[Measures].[MaximumSKTaskStatustime]
			                )			
				,1
				,[Measures].[MaximumSKTaskStatustime]
	          )
	          )

	 }  
	
	DIMENSION PROPERTIES 
    MEMBER_CAPTION
   ,MEMBER_UNIQUE_NAME
   
   ON 1
   
FROM  [Cube]


Viewing all articles
Browse latest Browse all 14337

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>