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

Announcements
Join us to spark ideas for how to put the latest capabilities into action. Register here!
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

Is it possible to establish if statement inside for loop in qlik sense?

I have this scenario that I want to use in expressions. For example;

//Use for statement

for (x=0;x=1;x++) {

//Use if statement

if (effectiveyear<=2015) {

Sum(expressions)

}

}

1 Reply
Gysbert_Wassenaar
Partner - Champion III
Partner - Champion III

That makes no sense at all (pardon the pun). What are you trying to calculate? Can you provide a small app with example data that explains what you need?


talk is cheap, supply exceeds demand