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

Announcements
See why IDC MarketScape names Qlik a 2025 Leader! Read more
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

How to write expr to show Top 5,10,15 sum in Bar chart?

Hi Frnz,

I need to show Top 5 ,Top 10, Top 15 Accounts Sum in One Bar chart. Please help me to find this.

Please find the attached QVW. You will get clear idea.

13 Replies
sasiparupudi1
Master III
Master III

Style tab select stacked option

Not applicable
Author

Hi,

I am not getting Top data. Please let me know  which expression I have to write.

Gysbert_Wassenaar
Partner - Champion III
Partner - Champion III

See attached example.


talk is cheap, supply exceeds demand
sasiparupudi1
Master III
Master III

Hi

I am able to see the top  data?

Not applicable
Author

Hi Gysbert,

I have used same expression in my qvw.

but is showing error in expression ( Red line)

Gysbert_Wassenaar
Partner - Champion III
Partner - Champion III

Make sure to use the exact case sensitive field names that exist in your document.


talk is cheap, supply exceeds demand
Not applicable
Author

Hi Frnz,

Please let me know any simple expression to get top account details.

I am using below expression.

=rangesum(max(AMID_VALUE,1),max(AMID_VALUE,2),max(AMID_VALUE,3),max(AMID_VALUE,4),max(AMID_VALUE,5),max(AMID_VALUE,6),max(AMID_VALUE,7),max(AMID_VALUE,8),max(AMID_VALUE,9),max(AMID_VALUE,10))

Instead of this, any alternative please.

sasiparupudi1
Master III
Master III

Hi

If you want the expressions to be simple, I suggest you go with Gysbert's solution

Sasi

Not applicable
Author

Hi,

Yes. I have tried this expression. But it is not working.

sum({<RANK={'<11'}>}AMID_VALUE)