Skip to main content
Announcements
Qlik Connect 2024! Seize endless possibilities! LEARN MORE
cancel
Showing results for 
Search instead for 
Did you mean: 
Newbie_To_Qlik
Contributor II
Contributor II

Combine 2 if into one expression

Hi All

I would need some help whereby the following 2 conditions need to be fulfill for me to count the number of [Schedule End date] occurrence

[Type]="OQ" and [Routine Schedule]='Yes',

TypeRoutine ScheduleSchedule End Date
PMYes09 Mar 2021
OQNo09 Mar 2021
CalYes09 Mar 2021
CalNo09 Mar 2021
PMYes09 Mar 2021
OQYes09 Mar 2021
PMYes09 Mar 2021
OQYes09 Mar 2021
PMNo05 Mar 2021
PMYes05 Mar 2021
PMYes05 Mar 2021

 

Below is my expression and it doesn't work.

Count(if ([Type]='OQ', [Routine Schedule]='Yes',[Schedule End Date]))

Thanks 

Labels (1)
  • SaaS

1 Solution

Accepted Solutions
lironbaram
Partner - Master III
Partner - Master III

Hi 
This should work for you 

Count(if ([Type]='OQ' and [Routine Schedule]='Yes',[Schedule End Date]))

View solution in original post

1 Reply
lironbaram
Partner - Master III
Partner - Master III

Hi 
This should work for you 

Count(if ([Type]='OQ' and [Routine Schedule]='Yes',[Schedule End Date]))