select {} on columns,
[Dim Date].[PA Dates].ALLMEMBERS on rows
from MyCube
1 个答案:
答案 0 :(得分:0)
这是Index.js中的等效脚本:
AdvWrks
返回以下内容:
所以转换到你的立方体就像是:
WITH
MEMBER [Date].[Day Name].[All].[AllWeek] AS
[Date].[Day Name].[All]
SET [x] AS
{
Except
(
[Date].[Day Name].MEMBERS
,[Date].[Day Name].[All]
)
,[Date].[Day Name].[All].[AllWeek]
}
SELECT
{} ON COLUMNS
,[x] ON ROWS
FROM [Adventure Works];