Qlik Community

QlikView Scripting

Discussion Board for collaboration on QlikView Scripting.

Announcements

Breathe easy -- you now have more time to plan your next steps with Qlik!
QlikView 11.2 Extended Support is now valid through December 31, 2020. Click here for more information.

Not applicable

Search in data

Hi guys,

I have a few rows of in the database that are comments made by users about handphone brands. The datafield is `comments`. These are just 2 examples,

'Overall, I prefer the iPhone 5s'

'I definitely prefer the Samsung'

I would like to filter the string and count them in terms of how many times the iPhone and Samsung was mentioned.

Thanks,

Nat

1 Reply
MVP & Luminary
MVP & Luminary

Re: Search in data

count({<comments={'*iPhone*','*Samsung*'}>}comments)


talk is cheap, supply exceeds demand