Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 
Chanty4u
MVP
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?

Thanks in advance

Suresh chanty

1 Solution

Accepted Solutions
tamilarasu
Champion
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

View solution in original post

14 Replies
tamilarasu
Champion
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

maxgro
MVP
MVP

you can read this for if vs set analysis

Performance of Conditional Aggregations

Chanty4u
MVP
MVP
Author

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

what is the major fact about this?  in  your way raj? 

MayilVahanan

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
Please close the thread by marking correct answer & give likes if you like the post.
Chanty4u
MVP
MVP
Author

Thnks Mayil.

any such senario  shud use if only?

any example?

MayilVahanan

Hi

See below

how to solve this logic

Thanks & Regards, Mayil Vahanan R
Please close the thread by marking correct answer & give likes if you like the post.
tamilarasu
Champion
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.

Chanty4u
MVP
MVP
Author

Thnx raj.  & Mayil . now its clear