Skip to main content
Announcements
Have questions about Qlik Connect? Join us live on April 10th, at 11 AM ET: SIGN UP NOW
cancel
Showing results for 
Search instead for 
Did you mean: 
Anonymous
Not applicable

Sorting in Asc or Desc in Expression?

Is it possible to sort a formula in expression in Asc or Desc order in QlikView without using the sort option provided in General Tab?

as i need to calculate further based on this sorting.

i want to do this at front end.. and not at scripting level.

5 Replies
Anil_Babu_Samineni

Yes, by help of aggregation like

Aggr(sum(sales), (fieldname, (NUMERIC), (ASCENDING)))

Please add me Anil_Babu_Samineni to interact faster when reply back. Speak low think High.

Before develop something, think If placed (The Right information | To the right people | At the Right time | In the Right place | With the Right context)
devarasu07
Master II
Master II

Hi,

Yes, this feature included in Qlikview 12+ and Sense 3.2+

you have write something like this,

=Aggr(sum(TotalNetPrice)/sum(TOTAL TotalNetPrice), (ArticleNo, (=Sum({<ArticleNo>}TotalNetPrice), DESC)))

The sortable Aggr function is finally here!

mock

ABC Analysis in Qlikview

Hope this helps to you

Regards,

Deva

Anonymous
Not applicable
Author

Thank you, but version of my Qlik View is 11.2..

Any idea how we can achieve in this version?

sunny_talwar

Front end sorting won't be possible in QV 11.2... the only possible way would be to sort the data in correct manner in the script... and then use Aggr() without sort-able functionality....

balabhaskarqlik

Did you resolved the sorting issue, post it.