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

Sorting problem with last and before

Hi all,

I am calculating the $ Change column with this expression

=(before( sum(Balance), 1 ) - sum(Balance))


Now the problem is, I want to sort this in ascending order, basically find out which account has the most declined balance.

I tried the following expressions for sorting but both do not seem to be working.

=(before( sum(Balance), 1 ) - sum(Balance))


or

=last( (before( sum(Balance), 1 ) - sum(Balance)))


Has anyone had any luck getting this working before?

error loading image

0 Replies