Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

can any one tell me how to count males based on Value 'Mr. in "ashok, Mr. saini' column name is employee name

I would appreciate if you can tell me how to count males based on Value 'Mr. in "ashok, Mr. saini' column name is employee name. I tried but it is returning only 0 value

Count({<[EMPLOYEE NAME]={MR.}>}[EMPLOYEE NAME])

1 Solution

Accepted Solutions
vvvvvvizard
Partner - Specialist
Partner - Specialist

Count({$<[EMPLOYEE NAME]={"*Mr*"}>}[EMPLOYEE NAME])

View solution in original post

5 Replies
martinpohl
Partner - Master
Partner - Master

Hello,

you can use

Count({<[EMPLOYEE NAME]={'*Mr.*'}>}[EMPLOYEE NAME])

Set Analysis is case sensitive, so if not all values are in same cases, create a field with upper() and change to

Count({<[EMPLOYEE NAME]={'*MR.*'}>}[EMPLOYEE NAME])

regards

vvvvvvizard
Partner - Specialist
Partner - Specialist

Count({$<[EMPLOYEE NAME]={"*Mr*"}>}[EMPLOYEE NAME])

antoniotiman
Master III
Master III

Try this

Count({<[EMPLOYEE NAME]={"=WildMatch([EMPLOYEE NAME],'*MR*') > 0"}>}[EMPLOYEE NAME])

Anonymous
Not applicable
Author

Try

Count({<[EMPLOYEE NAME]={"$(=WildMatch([EMPLOYEE NAME],'*MR*')) "}> }>}[EMPLOYEE NAME])

Not applicable
Author

It worked Than you very much for your suggestion