在此查詢中,我使用的是當年的子句是2015年和季度[2013] & [Quarter1],它怎麼可能以及獲得結果集10的記錄。實際結果集不顯示。MDX:查詢分析的數據
WITH MEMBER [Measures].[Test] AS ([Measures].[ProgramAssessmentPatientCnt] + [Measures].[AssessmentPatientCnt])
MEMBER [Measures].[Test1] AS ([Measures].[CCMPatientCnt] + [Measures].[CareteamCnt] + [Measures].[CCMPatientCnt])
SELECT (({ [DimEnrollStatus].[EnrollmentStatus].[EnrollmentStatus] }),
{ [Measures].[AssessmentPatientCnt], [Measures].[Test], [Measures].[Test1] }) ON COLUMNS,
Subset (
NonEmpty (
{
({ [DimAssessment].[AssessmentText].[AssessmentText] },
{ [DimAssessment].[QuestionText].[QuestionText] },
{ [DimAssessment].[AnswerText].[AnswerText] })
},
{ [Measures].[AssessmentPatientCnt], [Measures].[Test], [Measures].[Test1] }
),
0,
10
) ON ROWS
FROM [NavigateCube]
WHERE (
{
({ [DimManagedPopulation].[ManagedPopulationName].&[1044]&[LTC Lincoln Centers] },
{ [DimAnchorDate].[Calender Year].&[2015] },
{ [DimAnchorDate].[Calendar Semester Des].[All] },
{ [DimAnchorDate].[Calendar Quarter Des].&[2013]&[Quarter1] },
{ [DimAnchorDate].[English Month Name Desc].[All] })
})
你說 - 你目前得到0的結果,但你想到10或當前你會得到10個結果,但是你指望0? – whytheq
@whytheq,不,數據顯示,甚至where子句條件是錯誤的。 – Deepthi
所以我很困惑--10行正在顯示 - 那麼問題是什麼? – whytheq