Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 
venkey2847
Contributor II
Contributor II

If statement vs Set analysis

Hi All,

why we go for set analysis instead of using If conditions?

Can you please explain brief about this issue?

Which scenario we will go for if condition?

Thanks in advance....

Thanks

venkey.

3 Replies
b_garside
Partner - Specialist
Partner - Specialist

Please provide some samples. The community can help show which should be one or the other.

Generally, speaking you should use Set analysis when possible. It's much faster than an If() statement.

In some cases an If statement is needed.

vikasmahajan

read this IF Vs Set Analysis

Vikas

Hope this resolve your issue.
If the issue is solved please mark the answer with Accept as Solution & like it.
If you want to go quickly, go alone. If you want to go far, go together.
Chanty4u
MVP
MVP