There are two dimensions
[record].[record id]
[product].[product name]
[measures].[sales]
I want to create a new dimension attribute, in the record dimension.
with member [record].[derived record id] as iif([product].[product name].[product name]
in ('pen', 'eraser', 'notepad'), 0, [record].[record id].[record id])
select [measures].[sales] on 0,
[record].[derived record id].[derived record id] on 1
You see what I am trying to do is to combine some the the rows where product name is in a select list and leave the rest as is. I can do this during the load process to create this new attribute, but how do I do it in MDX?
Thanks in advance.