Skip to main content
Woohoo! Qlik Community has won “Best in Class Community” in the 2024 Khoros Kudos awards!
Announcements
Nov. 20th, Qlik Insider - Lakehouses: Driving the Future of Data & AI - PICK A SESSION
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

How to write expression in chart?

Hi,

I have to write expression  when

Progress <>'In', 'Out', 'Delete '  then count of ID

can anyone suggest me please.

Thanks.

1 Solution

Accepted Solutions
MK_QSL
MVP
MVP

=COUNT({<Progress -= {'In','Out','Delete'}>}DISTINCT ID)

View solution in original post

7 Replies
sunny_talwar

Try something like this:

=Count({<Progress = e({<Progress = {'In', 'Out', 'Delete'}>})>} ID)

you might need a DISTINCT if you only want to count the unique instances.

HTH

Best,

S

amit_saini
Master III
Master III

Hi,

Try something similar:

count(distinct if(filedname<>0, UserID)

or

count(distinct if(UserID<>0, UserID)

or

count({$<UserID-= {'0'}>} distinct UserID)


Thanks,

AS

MK_QSL
MVP
MVP

=COUNT({<Progress -= {'In','Out','Delete'}>}DISTINCT ID)

amit_saini
Master III
Master III

Try this:

count({$<Progress-= {'In', 'Out', 'Delete'}>} distinct ID)

Thanks,
AS

Not applicable
Author

Thanks for all answers

mukesh24
Partner - Creator III
Partner - Creator III

Hi,

=COUNT({<Progress -= {'In','Out','Delete'}>}DISTINCT ID)

=count(if(not wildmatch(Progress,'In','Out','Delete'),ID)


Regards,

Mukesh

Not applicable
Author

Hi,

Try this.

=Count({$<FieldName = e({$<Progress = {'In', 'Out', 'Delete'}>})>} ID)