adomd.net - MDX query containing 2 dimensions from the same Hierarchy -


There are structures related to my cube that I have a hierarchy with "class" and "sub class". I also have a measurement of the name "Value" which is trying to get the I

A simple question can be seen:

  Select nonimity ([ Measure]. [Value]] column, non-mmt ([some dimension]. [Class hierarchy] [class]) [miciube] on the rows  

And I obviously have sub- I can read the subclass using the class which is back to Adamomed.

My issue is two times, first how do I "level up" this hierarchy so that classes and all classes can be achieved as separate members in cellset? It does not work:

  Select nonimity ([solution]. [Values]) Columns, non-dimension ([some dimension]. [Class hierarchy]. [Class], [Some The class hierarchy hierarchy is used more than once in the crossover function  . [Sub category]. [Subclass]] [mikebue] on the rows  

P>

The second issue, which I need to do, filters the above into special classes. It does not work for the same reason above. ], [some dimension]. [Class]. [Class]. [And] [class]. [Class]. Classbie]}, [Some dimension]. [Class hierarchy]. [All classes]] [Micheeb] on the rows

Any help is greatly appreciated MDX is driving me crazy!

You are missing members property on your dimension.

For your first example Try it:

  Select nonimity ([solution]. [Value]) on column, non PT [(some dimensions]. [Class hierarchy]. [Class] .mmbrs, [some quantization] [class hierarchy]. [All class] .mmbrs] [micibus] on rows  
< P> Try this for your second example:

  [class hierarchy]. [Class]. And [Class A], [some dimension]. [Class hierarchy]. [Class hierarchy] [Class hierarchy]. [Class]] [[classbie], [some dimension]. [Class hierarchy]. [All class] .mmbrs] [michib]  

Comments

Popular posts from this blog

c# - How to capture HTTP packet with SharpPcap -

php - Multiple Select with Explode: only returns the word "Array" -

php - jQuery AJAX Post not working -