How to order by column in EazyBI report?

Sergey Shmarkatyuk
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
October 4, 2016

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? 

1 answer

0 votes
Sir Mārtiņš Vanags
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
October 4, 2016

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

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events