Do not input private or sensitive data. View Qlik Privacy & Cookie Policy.
Skip to main content

Announcements
Qlik GA: Multivariate Time Series in Qlik Predict: Get Details
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

Expression logic help please

I have a excel file as below

Capture1.PNG

Here the logic I have to get in a single expression is ,

1.1.If Room type is WRKST and OFFICE then count only the Employees with the email attached (Don’t count the Empname with blank)

2.If room Type is anything else other than OFFICE and WRKST then count employees with name and the blank fields too.

The issue I am facing is I am counting the Employee name twice.Any help is appreciated.

Thank you.

4 Replies
sunny_talwar

Can your provide the data in an excel format with the expected output.

Peter_Cammaert
Partner - Champion III
Partner - Champion III

Expression 1:

=count({<[RM RoomType]={'WRKST', 'OFFICE'}, [EM EmployeeName]={"=len(trim([EM EmployeeName]))>0"}>} [RM BuildingCo])


Expression 2:


=count({<[RM RoomType] -= {'WRKST', 'OFFICE'}>} [RM BuildingCo])

Not applicable
Author

Logic help Please

Not sure how to attach the file here,so created a new thread ..sorry and above is the link to find the excel ifle.Thank you very much

Peter_Cammaert
Partner - Champion III
Partner - Champion III

To attach a file to a post, click "Use Advanced Editor" in the top right, and in the editor select "Attach" on the bottom right.