On rows, I basically want to select all the members of a hierarchy but would like to combine two of them into one. For example, the members would include A
, B
, and C
, so selecting [Group].[Group].members
would give me All
, A
, B
, and C
but I would like to get All, A,
andB&C
, where B
and C
have been merged into one member.
Is this possible within a query?
The database I'm using stores information about the shipping speed of orders, being small parcel, less than truck load, and white glove. I would like to merge small parcel and and less than truck load so I can get aggregate data across the two shipping speeds.
I tried creating a calculate member: [Measures].[Not White Glove] as AGGREGATE([Order Product].[Ships Via Group].&[Small Parcel], [Order Product].[Ships Via Group].&[Less than Truck Load])
but am unsure how to then use that as I currently have [Order Product].[Ships Via Group].members ON ROWS
.
When I put ([Measures].[Not White Glove], [Order Product].[Ships Via Group].&[White Glove], [Order Product].[Ships Via Group].&[All]) ON ROWS
I get the error Query (14, 11) The Ships Via Group hierarchy is used more than once in the Crossjoin function.
Is there a better way to go about this/what does that error mean?