I have measure called Sales KG
in my cube and two dimensions: Groups
and Formats
.
Is there anyway to display last ones in single r
It is giving you the above error because you are breaking dimensionality and hierarchility. When you write
{ ([Formats].[Format_TT].[Format_TT]),
([Groups].[Group_Name].[Group_Name]) }
MDX translates that you have a set (marked by {}), containing two tuples ([Formats].[Format_TT].[Format_TT]),([Groups].[Group_Name].[Group_Name])
, marked by "()" each. Now the issue is all the tuple in a SET must contain then same hierarchies(The principle of hierarchility), plus they should be in the same order (Dimensionality)
select
[Measures].[Sales KG] on Columns,
{ ([Formats].[Format_TT].[Format_TT], [Groups].[Group_Name].[Group_Name]) } on Rows
from [Model]