Skip to main content
Announcements
Live today at 11 AM ET. Get your questions about Qlik Connect answered, or just listen in. SIGN UP NOW
cancel
Showing results for 
Search instead for 
Did you mean: 
leobhavin
Contributor II
Contributor II

Count Blanks and Non-Blanks

I have a table with fields called, "Priority", "Status" and "Response SLA".

Values under:

Priority = Emergency, Urgent , Routine, N/A

Status = Resolved, Closed, Inprog

Response SLA = Pass, Fail, (BLANK)

I am using the following formula:

count({<[Response Measure Result]={'FAIL'},[Customer Priority]={'EMERGENCY','EMERGENCY (OOH)','URGENT','ROUTINE'}>}[Work Order])

In the above formula, I want to also count the number of "blanks" under Response SLA with the other parameters remaining same. When I put, '' after Fail it does not work. Can you assist.

5 Replies
jwjackso
Specialist III
Specialist III

Ignore 'PASS' and count the rest using -=


count({<[Response Measure Result]-={'PASS'},[Customer Priority]={'EMERGENCY','EMERGENCY (OOH)','URGENT','ROUTINE'}>}[Work Order])

leobhavin
Contributor II
Contributor II
Author

Hi...There are blanks too. Would your formula count the blanks. When I say blanks there is no data in the field

jwjackso
Specialist III
Specialist III

It should count every row where [Response Measure Result] is not equal to 'PASS'.

leobhavin
Contributor II
Contributor II
Author

Sorry but your formula does not count the blanks or empty cells.

jwjackso
Specialist III
Specialist III

What does your data look like when the [Response Measure Result] is a blank or empty?