I have a cube with a size containing a parent-child hierarchy and several invisible attributes. The only way this size should be requested is through the parent-child hierarchy.
My problem is how the following MDX name is resolved:
[MyDimension].[All].Children
In this case, one of the invisible attribute is selected (allowed: [MyDimension].[MyInvisibleAttributeUsedOnlyForOrdering].[All].Children ), which leads to unexpected results.
The problem occurs when using the CUBEMEMBER/CUBEVALUE in Excel. Because Excel does not account for invisible attributes, autocomplete moves directly from [MyDimension] to [MyDimension].[All] without asking the user for a hierarchy. When another attribute is visible, it works great because Excel's autocomplete forces the user to select one of the hierarchies, resulting in a two-digit [MyDimension].[MyParentChildHierarchy].[All].[MyCorrectMembers] .
A possible workaround is to set the entire invisible attribute as non-aggressive, so that [MyDimension].[All] only makes sense in the area of ββmy parent-child hierarchy, but I'm looking for a better and more universal solution.
Thanks in advance for any decision or explanation of the behavior of SSAS.
Ndech source share