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

Announcements
Join us in NYC Sept 4th for Qlik's AI Reality Tour! Register Now
cancel
Showing results for 
Search instead for 
Did you mean: 
kylealpaugh
Contributor
Contributor

subtract from above row if not null

Hello,

I have chart where I need to subtract from the previous row but some of the rows are null. Is it possible to use the next non null row instead of the null row.

My current expression.  sum(Sales)-Above(sum(sales)

kylealpaugh_0-1603210944330.png

 

I would like row 2020-10-12 to use 2020-10-09 instead of the row right above it because the row above is null and does not return a value when used. 

Any help is apricated 

 

 

0 Replies