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

Set analysis problem

Hi Everyone,

I am trying to count the number of projects completed before deadline using set analysis.

I am using the following code:

count ( { < Completion_Date = { " <= Deadline_Date " } > } ProjectID )

I am not getting the right result. Please help!

Regards

Arun

1 Solution

Accepted Solutions
lironbaram
Partner - Master III
Partner - Master III

hei

in your case use

count (if(Completion_Date <= Deadline_Date , ProjectID ))

set analysis wont work as it get only one value in your case is null

set analysis is like making  a selection so after the <= i try to calculate a value

but as there more then one value of Deadline Date it will get null

View solution in original post

2 Replies
lironbaram
Partner - Master III
Partner - Master III

hei

in your case use

count (if(Completion_Date <= Deadline_Date , ProjectID ))

set analysis wont work as it get only one value in your case is null

set analysis is like making  a selection so after the <= i try to calculate a value

but as there more then one value of Deadline Date it will get null

Not applicable
Author

Thanks a lot.