# QlikView App Dev

Discussion Board for collaboration related to QlikView App Development.

Announcements
cancel
Showing results for
Did you mean:
MVP

## RE:Diference-Perfomance

Hi all,

Which is the best method to perform the  qvw?

using IF conditions  or set analasys?   what is the major differnce?

we can perform  the caaluculation from both  set and if  conditions aswell?

so which is better  at perfomance side?  to increase the perfomance of the QVW?

anyone explain with small example?

Suresh chanty

1 Solution

Accepted Solutions
Champion

Hi Chanty,

Performance wise set analysis is faster. Below links might be helpful to understand the difference.

Difference between IF condition and Set analysis

Using “IF” in expressions vs using “Set Analysis” | QlikView Help, Tips & Hints

14 Replies
Champion

Hi Chanty,

Performance wise set analysis is faster. Below links might be helpful to understand the difference.

Difference between IF condition and Set analysis

Using “IF” in expressions vs using “Set Analysis” | QlikView Help, Tips & Hints

MVP

you can read this for if vs set analysis

Champion
MVP
Author

thnx raj..it was nice.   but it is shwng  both are same?

MVP

Hi

Performance wise - Use set analysis

In some situation, we can't use set analysis . In that case, we can use If condition.

Try to bring some flag from script in order to avoid more complex set analysis.

Thanks & Regards,
Mayil Vahanan R
MVP
Author

Thnks Mayil.

any such senario  shud use if only?

any example?

MVP

Hi

See below

how to solve this logic

Thanks & Regards,
Mayil Vahanan R
Champion

Hi Chanty,

If condition evaluates for each row of data in chart where as Set analysis calculated once per chart and not row by row. So Set Analysis would perform faster.

MVP
Author

Thnx raj.  & Mayil . now its clear