Drillthrough MDX ERROR(Error.Number:-21467259) ?(urgent question)

M

Microlong

In Excel 2003, I designed Macro which drill through Cubes by VBA. Now I
happened a problem that MDX Statment can't include more one member on each
axis. e.g.:
SELECT [Warehouse].[All Warehouses].[Canada].[BC] ON ROWS,
[Time].[1998].[Q1] ON COLUMNS,
[Time].[1997].[Q1] ON COLUMNS,/*error raises*/
[Product].[All Products].[Drink] ON PAGES,
[Measures].[Units Shipped] ON SECTIONS
FROM [My Cube]
if there have two members on columns axis, an error will be raised. But
there is the page area in PivotTable, End-User can set
"EnableMultiplePageItems " is TURE to select MULTIPLE ITEMS. it makes for
Error.Number:-21467259 and its description: Axis name is unrecognized or
duplicated ,or it creates a sequence gap,'1'.
Any one knows how to deal with it and have some good ways. thank for any
help or suggestions!
 
Y

Yuri

Axis name is unrecognized or
duplicated

As far as I know in MDX

You should not repeat one axis twice

NOT

[Time].[1998].[Q1] ON COLUMNS,

[Time].[1997].[Q1] ON COLUMNS,

BUT

Instead {[Time].[1998].[Q1],[Time].[1997].[Q1]} ON COLUMNS

It is called tuple and is put in {}

You should look up smth in news microsoft.public.sqlserver.olap on MDX
expressions

Microlong said:
In Excel 2003, I designed Macro which drill through Cubes by VBA. Now I
happened a problem that MDX Statment can't include more one member on each
axis. e.g.:
SELECT [Warehouse].[All Warehouses].[Canada].[BC] ON ROWS,
[Time].[1998].[Q1] ON COLUMNS,
[Time].[1997].[Q1] ON COLUMNS,/*error raises*/
[Product].[All Products].[Drink] ON PAGES,
[Measures].[Units Shipped] ON SECTIONS
FROM [My Cube]
if there have two members on columns axis, an error will be raised. But
there is the page area in PivotTable, End-User can set
"EnableMultiplePageItems " is TURE to select MULTIPLE ITEMS. it makes for
Error.Number:-21467259 and its description: Axis name is unrecognized or
duplicated ,or it creates a sequence gap,'1'.
Any one knows how to deal with it and have some good ways. thank for any
help or suggestions!
 
M

Microlong

thank for Yuri:
I research some information about OLAP SERVICE 2000, I found drillthrough
doesn't support more tuples in one MDX. e.g.:
SELECT [Warehouse].[All Warehouses].[Canada].[BC] ON ROWS,
{[Time].[1998].[Q1],[Time].[1997].[Q1]} ON COLUMNS
[Product].[All Products].[Drink] ON PAGES,
[Measures].[Units Shipped] ON SECTIONS
FROM [My Cube]
drillthrugh doesn't support above MDX statement even if its expression is
right .
thanks for your help!
Yuri said:
Axis name is unrecognized or
duplicated

As far as I know in MDX

You should not repeat one axis twice

NOT

[Time].[1998].[Q1] ON COLUMNS,

[Time].[1997].[Q1] ON COLUMNS,

BUT

Instead {[Time].[1998].[Q1],[Time].[1997].[Q1]} ON COLUMNS

It is called tuple and is put in {}

You should look up smth in news microsoft.public.sqlserver.olap on MDX
expressions

Microlong said:
In Excel 2003, I designed Macro which drill through Cubes by VBA. Now I
happened a problem that MDX Statment can't include more one member on each
axis. e.g.:
SELECT [Warehouse].[All Warehouses].[Canada].[BC] ON ROWS,
[Time].[1998].[Q1] ON COLUMNS,
[Time].[1997].[Q1] ON COLUMNS,/*error raises*/
[Product].[All Products].[Drink] ON PAGES,
[Measures].[Units Shipped] ON SECTIONS
FROM [My Cube]
if there have two members on columns axis, an error will be raised. But
there is the page area in PivotTable, End-User can set
"EnableMultiplePageItems " is TURE to select MULTIPLE ITEMS. it makes for
Error.Number:-21467259 and its description: Axis name is unrecognized or
duplicated ,or it creates a sequence gap,'1'.
Any one knows how to deal with it and have some good ways. thank for any
help or suggestions!
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Similar Threads


Top