Skip to main content
Announcements
Join us at Qlik Connect for 3 magical days of learning, networking,and inspiration! REGISTER TODAY and save!
cancel
Showing results for 
Search instead for 
Did you mean: 
shabarish0587
Contributor III
Contributor III

Bar Chart With Top 10 Values along with Selected Field

Hi,

Please see the sample data file and screen shot. In data file i have two field one field is Hospital Name and second one is Normalized Paid Amount. In Bar chart i want top 10 hospital Names based on Paid Amount.Please any tell me how to do this.

1 Solution

Accepted Solutions
Anil_Babu_Samineni

First of all, In your dummy data you don't have data as TOP 10

May be this in straight table as Dimension

=aggr(if(Rank(total Sum([Normalised Average Cost]))<=3, [Nombre Comercial]), [Nombre Comercial])

Expression is simple Sum([Normalised Average Cost])

And then check the suppress value is null

Capture.PNG

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

View solution in original post

5 Replies
vishsaggi
Champion III
Champion III

Use Bar chart with HospitalName as Dim and

= Sum([Normalised Average Cost]) as your expr.

Then in dimension limits tab of Chart properties check like below?

Check Restrict which values and Uncheck Show others as highlighted.

Capture.PNG

shiveshsingh
Master
Master

Use hospital name as dimension and sum (Cost) as expression.

in dimension limits tad, select restrict check box. '

hope this helps

Capture.JPG

Anil_Babu_Samineni

First of all, In your dummy data you don't have data as TOP 10

May be this in straight table as Dimension

=aggr(if(Rank(total Sum([Normalised Average Cost]))<=3, [Nombre Comercial]), [Nombre Comercial])

Expression is simple Sum([Normalised Average Cost])

And then check the suppress value is null

Capture.PNG

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
shabarish0587
Contributor III
Contributor III
Author

Thank You Anil

oknotsen
Master III
Master III

If your question is now answered, please flag the Correct Answer (via the big "Correct Answer" button near every post) and Helpful Answers (found under the Actions menu under every post).

If not, please make clear what part of this topic you still need help with .

May you live in interesting times!