Skip to main content
Announcements
Jan 15, Trends 2025! Get expert guidance to thrive post-AI with After AI: REGISTER NOW
cancel
Showing results for 
Search instead for 
Did you mean: 
markgraham123
Specialist
Specialist

Set analysis statement for If statement

Hi All,

Regarding performance, Set analysis or If statement???

Which would work quicker.

Could someone help me in scripting the below statement using Set analysis

=count(DISTINCT(If(Name='John',Awards)))

1 Solution

Accepted Solutions
marcus_malinow
Partner - Specialist III
Partner - Specialist III

Set analysis is definitely quicker!

count({$<Name={'John'}>} DISTINCT Awards)

View solution in original post

2 Replies
marcus_malinow
Partner - Specialist III
Partner - Specialist III

Set analysis is definitely quicker!

count({$<Name={'John'}>} DISTINCT Awards)

markgraham123
Specialist
Specialist
Author

Thanq Marcus