Skip to main content
Announcements
See what Drew Clarke has to say about the Qlik Talend Cloud launch! READ THE BLOG
cancel
Showing results for 
Search instead for 
Did you mean: 
Anonymous
Not applicable

multiple null condition

how can i write multiple null condition in this kpi ?

Employees nearing retirement age

select  count(source_person_id)
FROM DIM_PEOPLE
where EMPLOYEE_NUMBER is not null
and END_OF_SERVICE_DATE is null
and original_date_of_hire is not null
and DateDiff(year , DOB,getdate()) >58

4 Replies
tamilarasu
Champion
Champion

Hi Bayan,

You can use above SQL query directly in Qlikview. Are you getting any error?

Anonymous
Not applicable
Author

I am using Qliksense not Qlikview

tamilarasu
Champion
Champion

Is this not working in QlikSense? Did you get any error?

fabdulazeez
Partner - Creator III
Partner - Creator III

something like this

Count({<EMpno=-{''},eos={''},dob={"<$(=AddYears(Today(),-58))"}>}EMpno)