Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 15
Default Drillthrough MDX ERROR(Error.Number:-21467259) ?(urgent question)

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!


--
Developer
QA Dashboard
Microsoft China Development Centre
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 2
Default Drillthrough MDX ERROR(Error.Number:-21467259) ?(urgent question)

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" wrote in message
...
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!


--
Developer
QA Dashboard
Microsoft China Development Centre



  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 15
Default Drillthrough MDX ERROR(Error.Number:-21467259) ?(urgent questi

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" wrote:

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" wrote in message
...
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!


--
Developer
QA Dashboard
Microsoft China Development Centre




Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
#VALUE ERROR Question Brent Excel Discussion (Misc queries) 1 May 13th 10 12:32 AM
pivot table error.Please help! very urgent anu_manu Excel Discussion (Misc queries) 0 February 13th 06 08:34 PM
validation error, urgent plz help daroc Excel Worksheet Functions 1 January 23rd 06 10:25 PM
Automation Error, Unknown Error. Error value - 440 Neo[_2_] Excel Programming 0 May 29th 04 05:26 AM
Urgent: Object Explicit Error Jonathan Lowe Excel Programming 2 October 20th 03 11:14 PM


All times are GMT +1. The time now is 10:35 AM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"