How to order by column in EazyBI report?

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

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
How to earn badges on the Atlassian Community

How to earn badges on the Atlassian Community

Badges are a great way to show off community activity, whether you’re a newbie or a Champion.

Learn more
Community showcase
Asked 2 hours ago in Confluence

What are the resources that you use to learn more about Atlassian Products?

I am gathering information about resources available for Atlassian product knowledge transferring for a presentation in our local Atlassian User Group. I want to group them in four categories From ...

23 views 1 3
View question

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you