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

Announcements
Register by January 31 for $300 off your Qlik Connect pass: Register Now!
cancel
Showing results for 
Search instead for 
Did you mean: 
pgalvezt
Specialist
Specialist

PV table Substract

Hello, Is it possible to obtain the substract of 1 Expression into a new row in QlikView?

What I want is may - Abr.

Thank you

1 Solution

Accepted Solutions
swuehl
Champion III
Champion III

Try with chart inter record functions, like above(), below(), before(), after(). In your case, I would maybe try something like:

=sum(FIELD)- before(sum(FIELD))

View solution in original post

4 Replies
swuehl
Champion III
Champion III

Try with chart inter record functions, like above(), below(), before(), after(). In your case, I would maybe try something like:

=sum(FIELD)- before(sum(FIELD))

pgalvezt
Specialist
Specialist
Author

Thank you swuehl for your reply works fine, just one question When I try to build a bar char with this formula nothing happend. Maybe few data, or negative values?

Thanks

swuehl
Champion III
Champion III

before() and after() are only useful in pivot tables, with at least one dimension pivoted to the top. In other chart types, the functions return NULL.

Try using above() instead in your bar chart.

pgalvezt
Specialist
Specialist
Author

Ok! Many Thanks.