Skip to main content
Announcements
See what Drew Clarke has to say about the Qlik Talend Cloud launch! READ THE BLOG
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

Sorting issue in bar chart

hi Everyone,

i have two bar chart as below.

In first table, i want to show only 4 customers when their gross margin % is greater than 30% and sort them by customers with sum (revenue) in descending order.

Please find refer the attached qvf

thanks in advance

Sortin.JPG

5 Replies
Gysbert_Wassenaar

See attached qvf. Is that what you want?


talk is cheap, supply exceeds demand
Not applicable
Author

No, i want sorting based on customers with their revenue when gross Margin % is greater than 30%

In first table, i want to show only 4 customers when their gross margin % is greater than 30% and sort them by customers with sum (revenue) in descending order.

-> 4 customers with gross Margin % greater than 30%

-> they should be sort based on their sum(revenue) in descending order

Not applicable
Author

Oh, i got a solution !

I have used the expression to customers by revenue.

thanks

Chanty4u
MVP
MVP

Great.

Please close the thread by making correct and helpful answers.

Not applicable
Author

sorry, though i was able to sort them by revenue with greater than 30% gross margin.

but still i am not able to define to show only 4 customers on bar chart.

Because the limit condition i have used to get customers more than 30%.

then how can i get only 4 customers