Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 
fheidenstecker
Creator II
Creator II

Above Function

Hi,

I have a question regarding the Above Function. I want to calculate the difference between the current line and the previous one.

I expect the result to be as in this Excel Table

Above.png

I simply can't get it to work. The problem I think is the rowno starts again at 1, because there are 2 different years (2012,2013)

Does anybody have an idea how to solve this?

Cheers,

Fabian

1 Solution

Accepted Solutions
swuehl
MVP
MVP

Try with the TOTAL qualifier:

sum(Betrag)- above(TOTAL sum( Betrag ))

View solution in original post

5 Replies
swuehl
MVP
MVP

Try with the TOTAL qualifier:

sum(Betrag)- above(TOTAL sum( Betrag ))

Not applicable

try this

sum( Sales )  - above( sum( Sales ))

or this one

above( sum( Sales )) - sum( Sales ) 

Not applicable

PFA.

Hope it helps!

fheidenstecker
Creator II
Creator II
Author

Thats was FAST!

Thanks swuehl and Shyamal Pandit

er_mohit
Master II
Master II

See the attached file