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: 
kadifr2008
Contributor
Contributor

SubStringCoun

Hello, i am using this formula to count the text. The issue is that in data column "status" i have : Performed and Performed Late. the formula is counting both( performed late and performed). How count only performed. Thank you

sum( if( SubStringCount( Status, 'Performed'),1,0) )

Labels (2)
1 Solution

Accepted Solutions
rwunderlich
Partner Ambassador/MVP
Partner Ambassador/MVP

Does the status column contain "Performed" by itself? Can you just do:

sum( if( Status =  'Performed',1,0) )

-Rob

View solution in original post

1 Reply
rwunderlich
Partner Ambassador/MVP
Partner Ambassador/MVP

Does the status column contain "Performed" by itself? Can you just do:

sum( if( Status =  'Performed',1,0) )

-Rob