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

Announcements
Talend Cloud AWS EU Scheduled Outage: Starting Tues 26 May 21:00 CEST with expected completion Wed 27 May 01:00 CEST
cancel
Showing results for 
Search instead for 
Did you mean: 
sarfaraz_sheikh
Contributor III
Contributor III

Regarding Rank() in Expression for TOP 10

Dear All,

I used rank() in expression defination for calculating top 10...and i got that but  in front of dimension other than top 10 showing " - " this symbol .....how i can suppress them in chart...

below is my expression :-

=if(Rank(Count( {<SUB_VERTICAL_DESC={'AUTO'} >} SI_NO)) <=10,Count( {<SUB_VERTICAL_DESC={'AUTO'} >} SI_NO))

Kindly help !!!!

Regards

Sarfaraz

Labels (1)
17 Replies
mdmukramali
Specialist III
Specialist III

Dear Sarfaraz,

in your attached Qvw file ,where it's showing '-' other than Dimensions?

Thanks,

Mukram

sarfaraz_sheikh
Contributor III
Contributor III
Author

Dear Mukram,

Can u please post expression or QVW so it will be good to understand .........

Sarfaraz

sarfaraz_sheikh
Contributor III
Contributor III
Author

Dear All,

Please look into matter.........its urgent .kindly help...

Sarfaraz

Not applicable

Hi

If you are talking about symbol before top 10 values in dimension, then go to presentation tab and check "always fully expanded" in your pivot table. Other than that I dont see any "-" symbol in dimension.

HTH

Amay

sarfaraz_sheikh
Contributor III
Contributor III
Author

Dear Amay,

I am taking about symbol "-" which is showing in expression ......i dont want blank value in expression after calculating top 10 ...i just want top 10 to be appear in expression i dont want blank there ..

Sarfaraz

mdmukramali
Specialist III
Specialist III

Dear Sarfaraz,

Find the attached file.

and No  Blank value in the Expression.

if your still able to see the blank value then please show as the blank value in the chart by taking the image.

sarfaraz_sheikh
Contributor III
Contributor III
Author

Dear Mukram,

Please have the look on below screenshot..........

Sarfaraz

krishna20
Specialist II
Specialist II

Hi Sheikh,


Try Like this

=aggr(if(Rank(total Sum([Revenue]))<=30, YourDimension), YourDimension)


Regards


Krishna