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

Announcements
Join us in Bucharest on Sept 18th for Qlik's AI Reality Tour! Register Now
cancel
Showing results for 
Search instead for 
Did you mean: 
mcsmithums1
Contributor II
Contributor II

Looping in chart script if a cell exists after filters are applied

The situation:

I have an app with 6 nonzero variables: var1, var2, ... var6.

I use data from excel that is a very large table.

When some filters are applied in qlik, the table reduces and a specific cell will exist or not exist based on a matchup of a name column to a number column (Var1 in name column and "x" in number column). I would like to sum the var1's to var6's in qlik based on if the cell matchup exists (if it does add together if it doesn't make it 0). 

I believe this problem should be solved with a loop as there are a LARGE number of combinations of which of the 6 variables requirements are met or not met.

Thank you!

Labels (1)
1 Reply
rwunderlich
Partner Ambassador/MVP
Partner Ambassador/MVP

RangeSum(var1, var2, var3, var4, var5, var6)

-Rob