Do not input private or sensitive data. View Qlik Privacy & Cookie Policy.
Skip to main content

Announcements
Join us to spark ideas for how to put the latest capabilities into action. Register here!
cancel
Showing results for 
Search instead for 
Did you mean: 
dmohanty
Partner - Specialist
Partner - Specialist

Show Top 10 values in a Line Chart (Avoid 'Others'; No Dimension Limits: v10)

Hi All,

I have a scenario to restrict the values on X-Axis of a Line chart to Top 10 and ignore others. But I am getting one 11th record as 'Others' (summation of rest values). Also I can't use Dimension Limits to restrict as it's version 10.

For example, I have 20 Years as dimension and Total Sales as KPI.

So could any one help me out how to ignore the 'Others'?

Regards!!!

1 Solution

Accepted Solutions
dmohanty
Partner - Specialist
Partner - Specialist
Author

Hi All,

I got the result by implementing the below Expression:

Sum({<Year = {"=Rank(sum(Sales))<=10"}>}Sales)

Also, in the Sort options, only enable: Y-value as Descending.

Also, if anyone has any other ways to implement, they are welcome to post.

Regards!!

View solution in original post

1 Reply
dmohanty
Partner - Specialist
Partner - Specialist
Author

Hi All,

I got the result by implementing the below Expression:

Sum({<Year = {"=Rank(sum(Sales))<=10"}>}Sales)

Also, in the Sort options, only enable: Y-value as Descending.

Also, if anyone has any other ways to implement, they are welcome to post.

Regards!!