icCube:MDX 输出中的多个维度

icCube: multiple dimensions in MDX output

icCube 的 documentation 状态:

However, a SELECT is not limited to two axes. We could have columns, rows, pages, chapters, and sections. And you could still continue beyond these by specifying a number for the axis.

的确,当我尝试在演示销售多维数据集上使用三个维度时,它起作用了:

select 
    {[paris], [london]} on 0,
    {[2005], [2006]} on 1,
    product.members on 2
from sales

然而,当我尝试四个维度时:

select 
    {[paris], [london]} on 0,
    {[2005], [2006]} on 1,
    product.members on 2,
    measures.members on 3
from sales

我收到一条错误消息:Unexpected number of axes (4) for the pivot table (expected:0..3)

我错过了什么?

使用 4 轴查询没有错。但是,这取决于您正在使用的客户端是否能够显示它。

例如,Excel 接受二维结果,icCube pivot table 能够显示最多(包括)3 个轴的结果。

希望对您有所帮助。