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

Announcements
Posting on Qlik Community is temporarily paused for some users. Thank you for patience and we'll update you soon!
cancel
Showing results for 
Search instead for 
Did you mean: 
realpixel
Creator
Creator

Expression count by value

Hello,

I have a column in chart named HMDAU, I want to count only all value begenning by 'EX******'

Someone have an idea how to do?

Thank

Labels (1)
11 Replies
its_anandrjs
Champion III
Champion III

If in database in fields all values start with EX and you want to count then then use

=Count(if(left(HMDAU,2) = 'EX', HMDAU))


And gwassenaar give correct suggestion.

MayilVahanan
MVP
MVP

Hi

For your requirement you can use like this

HMDAU As dimension

Then count({<HMDAU={'EX*'}>}HMDAU) as Expression.. // For Count

or

MaxString({<HMDAU={'EX*'}>} HMDAU)  as expression. // For Value


In your case, try second solution

Thanks & Regards, Mayil Vahanan R
Please close the thread by marking correct answer & give likes if you like the post.