Skip to main content
Announcements
Qlik Connect 2024! Seize endless possibilities! LEARN MORE
cancel
Showing results for 
Search instead for 
Did you mean: 
ioannagr
Creator III
Creator III

group by bunch of letters?

Hello,

 

I have a bunch or sentences and in all them I can find the word "photo", "photographer", "photogenic". I want to count in every sentence that contains one of these words, say, look for "phot".

 

 

Can this be done?

 

Thanks!

Ioanna

1 Solution

Accepted Solutions
tresesco
MVP
MVP

Like this?

=Count({<reason={"*phot*"}>}id)

View solution in original post

6 Replies
tresesco
MVP
MVP

Try SubStringCount()

ioannagr
Creator III
Creator III
Author

But, these sentences are under the field "reasons".  I mean, they're not just separate sentences. 

What should i do?

 

 

tresesco
MVP
MVP

Could you share a sample data and expected output against that? Also mention where/how would you want the output, i.e. - in a chart or kpi object.

ioannagr
Creator III
Creator III
Author

In a KPI.

 

Well, I can't share, but it's something  like that

id reason

1 photo is not very  nice

2 photo is not nice

3 not photogenic

4 is late

 

 

I want for example to count  all the reasons that have to do with the photo, search for "phot" in each sentence, then count the sentence in because there's "phot" in it.

 

 

tresesco
MVP
MVP

Like this?

=Count({<reason={"*phot*"}>}id)

ioannagr
Creator III
Creator III
Author

Thanks you rock 😄