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: 
rajni_batra
Specialist
Specialist

Above function on Expression

Hi Folks,

I am trying to calculate Opening and closing balance in a straight table. But stuck at getting above row value.

Please help here.

1 Solution

Accepted Solutions
Gysbert_Wassenaar
Partner - Champion III
Partner - Champion III

See attached example.


talk is cheap, supply exceeds demand

View solution in original post

3 Replies
robert_mika
Master III
Master III

Change to pivot Table and use

above(sum([Opening Balance])+Sum([Debit Amount])-Sum([Credit Amount]))

Above works on dimension so if you have 3 dimension it will give value based on all dimensions

Gysbert_Wassenaar
Partner - Champion III
Partner - Champion III

See attached example.


talk is cheap, supply exceeds demand
rajni_batra
Specialist
Specialist
Author

Thanks a ton Gysbert!!!