Skip to main content
Announcements
See what Drew Clarke has to say about the Qlik Talend Cloud launch! READ THE BLOG
cancel
Showing results for 
Search instead for 
Did you mean: 
mithunr40
Contributor III
Contributor III

Substringcount()

I want to show the list of employees whose name contains letter 'b' (case insensitive/they will be displayed distributed by COUNTRY_NAME). They given to me the fields and the functions to use in set analysis: EMPLOYEE_ID,FIRST_NAME,concat(),SubStringCount(),lower().

Please help me to solve this problem.

 

Thank you.

Labels (1)
3 Replies
MayilVahanan

HI

Try like below

=Concat(Distinct Aggr(If(SubStringCount(lower(FIRST_NAME), 'b'), FIRST_NAME), FIRST_NAME),',')

Thanks & Regards, Mayil Vahanan R
Please close the thread by marking correct answer & give likes if you like the post.
mithunr40
Contributor III
Contributor III
Author

Thank you for your answer @MayilVahanan  but the output is wrong and i think they have mentioned country_name also so please check and help me to solve the problem.

MayilVahanan

Hi

Can you provide sample data and expected output?

Thanks & Regards, Mayil Vahanan R
Please close the thread by marking correct answer & give likes if you like the post.