0
我正在TFS 2010中定製其中一個CMMI報告。其中一個是「Bug狀態」。當我在BIDS的查詢設計器中打開查詢時,我看到兩個反斜槓(//)用於評論。找不到關於添加註釋的任何MDX語法
但是評論停止了嗎?它看起來像一個標籤是停止....
有沒有任何參考找到有關評論語法?
下面是查詢:
SELECT
{
[Measures].[Work Item Count]
} ON COLUMNS,
{
//Filter out people who don't currently have any work items assigned to them
(
CrossJoin
(
//
// This block of code gets the top 10 users, based on how many active bugs they have.
//
TopCount(
NonEmpty(
[Work Item].[System_AssignedTo].Children,
[Measures].[Work Item Count]
),
@TopUserCount,
[Measures].[Work Item Count]
),
[Work Item].[Microsoft_VSTS_Common_Priority].[All].Children,
[Work Item].[Microsoft_VSTS_Common_Severity].[All].Children
),
[Measures].[Work Item Count]
)
} ON ROWS
FROM
(
SELECT
CrossJoin(
StrToMember("[Team Project].[Project Node GUID].&[{" + @ProjectGuid + "}]"),
StrToMember("[Work Item].[System_WorkItemType].[" + @BugName + "]"),
StrToMember("[Work Item].[System_State].&[" + @ActiveName + "]"),
StrToSet(@AreaParam),
StrToSet(@IterationParam),
StrToSet(@PriorityParam),
StrToSet(@SeverityParam)
) ON COLUMNS
FROM [Team System]
)
安德烈,非常感謝! – 2010-07-13 13:12:13