+ Reply to Thread
Results 1 to 3 of 3

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

  1. #1
    Microlong
    Guest

    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. #2
    Yuri
    Guest

    Re: 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" <[email protected]> wrote in message
    news:[email protected]...
    > 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. #3
    Microlong
    Guest

    Re: 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" <[email protected]> wrote in message
    > news:[email protected]...
    > > 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 to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1