Do not input private or sensitive data. View Qlik Privacy & Cookie Policy.
Skip to main content

Announcements
Want to see what's currently in public preview? We've pulled it all together in one place. Check it out here
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
MVP
MVP

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
MVP
MVP

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.