Skip to main content
Announcements
Introducing a new Enhanced File Management feature in Qlik Cloud! GET THE DETAILS!
cancel
Showing results for 
Search instead for 
Did you mean: 
mohan2391
Creator III
Creator III

UI Sorting on Rangesum(Above(***))

Hi 

I have data like below.

20221112_115315.jpg

I want a new column that needs to be generated only in UI. (We should start with a reference number 30, mentioned in formula below)

New column = 30+total received-total closed(till that week)

This below expression is working as expected and giving correct numbers

20221112_120154.jpg

But the users want to see this above UI table in screenshot in reverse order. I mean they want to see w8, 2, 1, 30

w7, 4, 3, 29

******

w2, 3, 4, 28

w1, 1, 2, 29

Basically only the sorting should change but numbers should not change.

When I sort it in descending order in Sorting option, the numbers are changing, but it shouldn't happen.

Can you please suggest how to achieve this without changing the new column values. And I need it only in front end not in script.

Labels (5)
1 Solution

Accepted Solutions
ckarras22
Partner - Creator
Partner - Creator

Hello,

I think you need:

30 + RangeSum(below(total sum(received),0,100000))-RangeSum(below(total sum(closed),0,100000))

order.jpg

View solution in original post

1 Reply
ckarras22
Partner - Creator
Partner - Creator

Hello,

I think you need:

30 + RangeSum(below(total sum(received),0,100000))-RangeSum(below(total sum(closed),0,100000))

order.jpg