Skip to main content
Announcements
Introducing Qlik Answers: A plug-and-play, Generative AI powered RAG solution. READ ALL ABOUT IT!
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

i have one dimension in that dimension differnt ids is there i want to find count of abc ids....

Hi all,

id

12abc34

5abc345

6rtd45

678abc

abc123

tyu12

qwta3

7ytu8a

34abc45

6 Replies
sunny_talwar

May be this:

=Count({<id = {'*abc*'}>} id)

sunny_talwar

or

=Sum(If(WildMatch(id, '*abc*'), 1, 0))


Update: Sample attached

Not applicable
Author

or

sum(if(SubStringCount(id,'abc')>0,1,0))

PrashantSangle

hi,

try

count({<id={"*abc*"}>}id)

Regards

Great dreamer's dreams never fulfilled, they are always transcended.
Please appreciate our Qlik community members by giving Kudos for sharing their time for your query. If your query is answered, please mark the topic as resolved 🙂
ahmar811
Creator III
Creator III

Sunny your statement is wrong

=Sum(If(WildMatch(id, '*abc*', 1, 0))

These should be

=Sum(If(WildMatch(id, '*abc*'), 1, 0))

sunny_talwar

Thanks for pointing out, but I did notice my mistake and made the change

Best,

Sunny