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

Announcements
Qlik Open Lakehouse is Now Generally Available! Discover the key highlights and partner resources here.
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

Pie Chart data display.

Hi,

Can some one help me in solving my requirement.

I have a pie chart which displays country wise top 10 sales records. I want to display the records based on decreasing order of sales.

Attached Image for reference.

Thanks in Advance.

9 Replies
PrashantSangle

Hi,

Go to sort->expression -> Write Expression -> Desending

Regards

Great dreamer's dreams never fulfilled, they are always transcended.
Please appreciate our Qlik community members by giving Kudos for sharing their time for your query. If your query is answered, please mark the topic as resolved 🙂
veeranj
Creator II
Creator II

Hi,

Go To Dimension limits and set  show only(largest) to 10 values.
Now go to Sort and  write the expression over there and select descending option.

Thanks

Anjee

Not applicable
Author

Thanks for your reply.

I have set those properties but its not working.

Not applicable
Author

Thanks for your reply.

I have set the dimension limits . What expression do i need to write in sort?

swuehl
MVP
MVP

Either use sort option 'y value' and descending in sort tab, or try repeating your expression on expression tab also as sort expression in sort tab.

Something like

=sum(Sales)

?

It would make things a lot easier if you describe what settings you are using in your chart, i.e. which dimension, which expression, and other options you've set.

At best, post a small sample QVW.

Not applicable
Author

Hi Swuehl,

Thanks for your reply.

I have one dimension i.e Country, one expression i.e Sum(Sales) and selected the relative option. In Sort tab for Sum(Sales) i have selected the descending option and for country i have selected the order as A-Z. But it is not showing in descending order of their percentages.

Do i need to write any expression in Sort?

swuehl
MVP
MVP

Not sure where you've find the sort tab for your expression.

Disable the text sort order for your dimension.

Enabling the sorting the dimension by Y-value descending should do what you want.

Alternatively, use the sort by expression sort option with sum(Sales).

Not applicable
Author

Thanks Swuehl.

Now i got it.

pratap6699
Creator
Creator

dimension limits-->display 10

sort-->sum(sales)

expre-->sum(sales)