Skip to main content
Announcements
Qlik Connect 2024! Seize endless possibilities! LEARN MORE
cancel
Showing results for 
Search instead for 
Did you mean: 
Pulkit_Thukral
Partner - Creator II
Partner - Creator II

Issue -Line chart with 2 dimensions

Using a line chart with 2 dimensions ,Primary dimension being the 'Date' figure and secondary dimension is a general field (Ex- Engineers).

Requirement is to restrict Engineers to 'TOP 10' among the entire data which in the chart is showing improper values.

Being the secondary dimension Different Top 10 values are coming for each Date value(Primary Dimension).

How to restrict this issue to only secondary dimension with top10 values in entire data and not on each date values. ??

1 Solution

Accepted Solutions
swuehl
MVP
MVP

Try using a calculated second dimension like

=aggr( if( Rank(Sum(Value),4,0)<=10, Engineer), Engineer)

See also attached a sample QVW.

edit: Corrected a typo

View solution in original post

2 Replies
swuehl
MVP
MVP

Try using a calculated second dimension like

=aggr( if( Rank(Sum(Value),4,0)<=10, Engineer), Engineer)

See also attached a sample QVW.

edit: Corrected a typo

Pulkit_Thukral
Partner - Creator II
Partner - Creator II
Author

Thanx for your help .

Its working