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

joker problem

I got a problem with a count if

I have a field with 5 digit itemnumbers and want to get all that starts with 7

count(IF(itemnumber='7%%%%' ,................................................

´How do i use a joker like % or * or what is it??

1 Solution

Accepted Solutions
alexandros17
Partner - Champion III
Partner - Champion III

count(If(wildmatch(itemnumber,'7*')>0, .....

Let me know

View solution in original post

4 Replies
alexandros17
Partner - Champion III
Partner - Champion III

count(If(wildmatch(itemnumber,'7*')>0, .....

Let me know

senpradip007
Specialist III
Specialist III

Try like:

Count(if(WildMatch(itemnumber, '7*')>0, itemnumber)

mjayachandran
Creator II
Creator II

You can also

=if(left(itemnumber,1) = 7, itemnumber, null())

tresesco
MVP
MVP

Or, using set analysis to better the performance, like:

=Count({<itemnumber={"7*"}>}intemnumber )

Note: See if you need DISTINCT or not.