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

Announcements
See why IDC MarketScape names Qlik a 2025 Leader! Read more
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

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

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.