Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8909415
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 15, 20262026-06-15T03:25:32+00:00 2026-06-15T03:25:32+00:00

I do have a cube V that has a measure Q and some dimensions

  • 0

I do have a cube V that has a measure Q and some dimensions D, F.
In the dimension D I wanna have 2 hierarchies that share some common members, here they are (the 2 hierarchies are A and T and the common members are M and I):

-D
   -A
       +A
       +M
       +I
   -T
       +T
       +M
       +I

I’m trying with no success to create a MDX query to access either A and T:

select {[Measures].[Q]} ON COLUMNS,
  {([F], [D].[A]} ON ROWS
from [V]

but I do get an error from JPivot using Mondrian saying that

Mondrian Error:MDX object ‘[D].[A]’ not found in cube ‘V’. So I cannot access neither.

This is my first attempt at MDX, so I recognize I might have missed something from the cube construction or the language understanding.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-15T03:25:33+00:00Added an answer on June 15, 2026 at 3:25 am

    Usually that error is returned when the member you’re referencing doesn’t exist in your dimension. The right syntax to refer to a particular Hierarchy (aside from the default) is [Dimension.Hierarchy], so try this

    select {[Measures].[Q]} ON COLUMNS,
      {([F], [D.A])} ON ROWS
    from [V]
    

    Assuming your A hierarchy has an All member then it should work.

    EDIT: I thought you couldn’t do this in Mondrian but after trying it, it turns out you can: Try crossjoining the two hierarchies’ members:

    SELECT NON EMPTY {[Measures].[Q]} ON COLUMNS,
      NON EMPTY CROSSJOIN([D.A].[Year].Members, [D.T].[Type].Members) ON ROWS
    FROM [V]
    

    The NON EMPTY functions will prevent combinations of the A and T hierarchies that do not have values from showing up in your output. Mind you, this will not really allow you to drill from Year down to Type, rather they will show side by side.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have a cube that has a dimension that is roughly 100,000 rows. It
I have a Cube dimension which has a relationship between tier and market. They
I have a cube that I have build that has data across multiple servers.
I have a ssas cube with a customer dimension that displays special characters (chinese..etc).
I have created a cube that worked fine when deploying. After a added another
So I am modifying the Cube live wallpaper example. I have a class that
In our cube, we have hierarchies with All as the default member at the
I have a simple 3D cube that I can rotate using the following code:
So I have a fairly hefty cube that won't be much good without aggregations.
I have an SSAS 2008 cube that is being used to house end of

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.