1
我有一個正確的MDX查詢列表:StrToSet由會員
SELECT {[Measures].[IssueOpened] } ON COLUMNS,
{( STRTOSET("[Assigned To].[Id].[Some]:[Assigned To].[Id].[Another]") *
[Priorities].[Id].[Id].ALLMEMBERS) } ON ROWS
FROM (SELECT (STRTOSET("[CreatedOn].[Date].&[2005-01-01T00:00:00]:[CreatedOn].[Date].&[2011-12-01T00:00:00]")) ON COLUMNS
FROM [Reports])
我需要定義屬性的列表(沒有範圍),所以我修改本查詢:
SELECT {[Measures].[IssueOpened] } ON COLUMNS,
{( STRTOSET("[Assigned To].[Id].[Some], [Assigned To].[Id].[Another]") *
[Priorities].[Id].[Id].ALLMEMBERS) } ON ROWS
FROM (SELECT (STRTOSET("[CreatedOn].[Date].&[2005-01-01T00:00:00]:[CreatedOn].[Date].&[2011-12-01T00:00:00]")) ON COLUMNS
FROM [Reports])
我已經改變
STRTOSET("[Assigned To].[Id].[Some]:[Assigned To].[Id].[Another]")
到:
STRTOSET("[Assigned To].[Id].[Some], [Assigned To].[Id].[Another]")
但最後的查詢返回錯誤。我如何定義查詢中的屬性列表?