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

Announcements
ALERT: QlikView server communication interruptions following Microsoft Windows Domain Controller security updates
cancel
Showing results for 
Search instead for 
Did you mean: 
francisvandergr
Partner - Creator II
Partner - Creator II

formule rangesum with before


I have build a formula with the following expression :

rangesum(sum(Amount*-1),before(Sum(Amount*-1),1,ColumnNo()))

The dimension of my pivot table is period.

The sort of period is desc. so  the newest period is my first column. I have included an example. I have no problem with sort asc.

So

Labels (1)
1 Reply
tresB
Champion III
Champion III

Use After() with a trick for Desc sort like the following:

=RangeSum(Sum(Amount*-1), After(Sum(Amount*-1),1, NoOfColumns() - ColumnNo()))