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

Announcements
Posting on Qlik Community is temporarily paused. Thank you for patience and we'll update you soon!
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.

Labels (1)
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
MVP
MVP

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!!!