Skip to main content
Woohoo! Qlik Community has won “Best in Class Community” in the 2024 Khoros Kudos awards!
Announcements
Join us at Qlik Connect for 3 magical days of learning, networking,and inspiration! REGISTER TODAY and save!
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.