Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

Dynamic dimension Top X

Hi Community,

I have errors and related error types. I'm trying to show the error types of the top 5 errors in 5 bar charts.
Therefore I'm trying to do a dynamic dimension.

=if(aggr(rank(sum(Amount)), Error) = 1 , Type ) for all error types where error is rank 1

=if(aggr(rank(sum(Amount)), Error) = 2 , Type ) for all error types where error is rank 2

and so on.

But in this case I get only the top 1 error type. Can someone please help me with this forumla

thanks!!!

3 Replies
Anonymous
Not applicable
Author

Hi,

take a look to the app aatached

ashfaq_haseeb
Champion III
Champion III

Check This,

Regards

ASHFAQ

Not applicable
Author

Try like this In expression --> Sum(Amount)

                    In Dimension limittop5.PNG

Instead of variable you can also use constant numbers