MDX error: The 'Fiscal' hierarchy appears more than once in the tuple

  • I'm new to MDX and having trouble with the following:

    WITH MEMBER [Time].[Fiscal].[FYTD] AS

    Aggregate(PeriodsToDate([Time].[Fiscal].[Fiscal Year],

    [Time].[Fiscal].[Fiscal Period].&[200809]))

    SELECT

    ([Time].[Fiscal].[FYTD], [Time].[Fiscal].[Fiscal Year].&[2009]) ON COLUMNS,

    non empty([Person Office].[Office].Children) ON ROWS

    FROM

    [Performance]

    WHERE

    [Measures].[Time Billable Hours]

    It runs well when I run it only for the member FYTD, but when I add the second column for FY 2009 I get the error:

    The 'Fiscal' hierarchy appears more than once in the tuple.

    Any help would be appreciated.

    Thanks,

    John

  • enclose it in a set:

    ({[Time].[Fiscal].[FYTD], [Time].[Fiscal].[Fiscal Year].&[2009]}) ON COLUMNS,

  • That did it. Thank you.

Viewing 3 posts - 1 through 3 (of 3 total)

You must be logged in to reply to this topic. Login to reply