是否可以在SSAS MDX查询中编写UNION?
例如:
`SELECT
{[Measures].[Sales Amount],[Measures].[Tax Amount]} ON COLUMNS,
{[Date].[Fiscal].[Fiscal Year].&[2002],
[Date].[Fiscal].[Fiscal Year].&[2003]} ON ROWS
FROM [Adventure_Workenter code heres_1]
WHERE ([Sales Territory].[Southwest])
UNION
SELECT
{[Measures].[Sales Amount],
[Measures].[Tax Amount] } ON COLUMNS,
{[Date].[Fiscal].[Fiscal Year].&[2002],
[Date].[Fiscal].[Fiscal Year].&[2003]} ON ROWS
FROM [Adventure_Works_2]
WHERE ([Sales Territory].[Southwest])`
即。两个立方体之间的UNION Adventure_Works_1和Adventure_Works_2