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

Announcements
Qlik Open Lakehouse is Now Generally Available! Discover the key highlights and partner resources here.
cancel
Showing results for 
Search instead for 
Did you mean: 
Vic13
Contributor
Contributor

Counting values with specific sequence

Hi everyone,

I am new to Qlikview and I am looking for guidance on how I can count the number of values in a field that meet a specific sequence.

The sequence that I am wanting to count is a combination of two letters followed by five numbers. (LL#####)

Any help is appreciated.

1 Solution

Accepted Solutions
Anil_Babu_Samineni

May be this?

Count(If(FieldName like 'LL?????', FieldName))

Or

Count({<FieldName = {"=Match(Len(FieldName)=7,'LL#####')"}>} FieldName)

Or

Count({<FieldName = {"=Match(FieldName,'LL#####')"}>} FieldName)

Best Anil, When applicable please mark the correct/appropriate replies as "solution" (you can mark up to 3 "solutions". Please LIKE threads if the provided solution is helpful

View solution in original post

1 Reply
Anil_Babu_Samineni

May be this?

Count(If(FieldName like 'LL?????', FieldName))

Or

Count({<FieldName = {"=Match(Len(FieldName)=7,'LL#####')"}>} FieldName)

Or

Count({<FieldName = {"=Match(FieldName,'LL#####')"}>} FieldName)

Best Anil, When applicable please mark the correct/appropriate replies as "solution" (you can mark up to 3 "solutions". Please LIKE threads if the provided solution is helpful