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

Announcements
Learn how to migrate to Qlik Cloud Analytics™: On-Demand Briefing!
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

Logic help Please

Please find attached file

1 Solution

Accepted Solutions
sunny_talwar

Try this:

=Count({<[RM RoomType] = {'WRKST', 'OFFICE'}, [EM EmployeeName] = {"=Len(Trim([EM EmployeeName])) > 0"}>} [EM EmployeeName]) + Count({<[RM RoomType] -= {'WRKST', 'OFFICE'}>} [RM RoomType])

View solution in original post

5 Replies
ThornOfCrowns
Specialist II
Specialist II

Is this the same query as:

Expression logic help please

If so, please try to keep your replies or additional comments to the same thread as it makes it easier to follow.

Thanks.

sunny_talwar

Try this:

=Count({<[RM RoomType] = {'WRKST', 'OFFICE'}, [EM EmployeeName] = {"=Len(Trim([EM EmployeeName])) > 0"}>} [EM EmployeeName]) + Count({<[RM RoomType] -= {'WRKST', 'OFFICE'}>} [RM RoomType])

MK_QSL
MVP
MVP

=Count(

  {

  <[RM RoomType] = {'WRKST', 'OFFICE'}, [EM EmployeeName] = {"=Len(Trim([EM EmployeeName])) > 0"}>

  +

  <[RM RoomType] -= {'WRKST', 'OFFICE'}>

  }

  [RM RoomType])

Not applicable
Author

Thank you.This did magic

Not applicable
Author

Thank you.Yopur logic was very helpful.