Skip to main content
Announcements
SYSTEM MAINTENANCE: Thurs., Sept. 19, 1 AM ET, Platform will be unavailable for approx. 60 minutes.
cancel
Showing results for 
Search instead for 
Did you mean: 
sifatnabil
Specialist
Specialist

Show all values with top 50 restriction

Hi all,

I have a straight table with this dimension:

aggr(if(rank(sum(Revenue))<=50,Customer),Customer)

I want the table to show all 50 customers even if a customer is selected, but the table reduces to 1 row if I use this calculated dimension (even with show all values ticked). Is there a way to show all customers but still restrict to top 50? Without using dimension limits.

2 Replies
Anil_Babu_Samineni

What expression you used? May be one of these

Sum({1} Revenue)

OR

Sum({$<Customer= >} Revenue)

Best Anil, When applicable please mark the correct/appropriate replies as "solution" (you can mark up to 3 "solutions". Please LIKE threads if the provided solution is helpful
sunny_talwar

In addition to the change Anil mentioned, update your dimension to this

Aggr(If(Rank(Sum({<Customer>} Revenue)) <= 50, Customer), Customer)