I tried to use following MDX query as a calculated member: "Order({[Category].[All Categories]}, [Category].[All Categories], DESC)". But I am getting following error: "Member expression 'Order({[Category].[All Categories]}, [Category].[All Categories], DESC)' must not be a set". Do you have any ideas of how could I change the query to achieve what I want?
Hi Sergey,
In case you want to create a new calculated member in "Category" dimension that returns an ordered set of members, you could try the following approach:
Aggregate( Order( [Category].[Category].Members, [Category].CurrentMember.Key, DESC ) )
Please contact support@eazybi.com if you have further questions regarding this!
Kind regards,
Martins Vanags / support@eazybi.com
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.