Skip to main content
Announcements
See why Qlik is a Leader in the 2024 Gartner® Magic Quadrant™ for Analytics & BI Platforms. Download Now
cancel
Showing results for 
Search instead for 
Did you mean: 
Batuhan
Contributor
Contributor

Cumulative Sum in filtered table

Hello Everyone,

I want to see the cumulative total up to the value I filtered a date variable in a table. However, since I filtered this value, I cannot do this with a formula that includes rowno() or columnno(), because when I filter, only that row/column remains on the screen and this formula naturally returns only the value of that date.

Labels (3)
1 Reply
mshann01
Contributor III
Contributor III

You cannot do this natively in the table as you noticed selecting a value filters the whole table interactively.  You could use alternate states and have the filter outside the table in a different state.  Then, your expressions for your totals can use set analysis to reference that state and field as part of it's logic.  You could alternatively use a variable in an input box that drives the set analysis expression.