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

Announcements
Want to see what's currently in public preview? We've pulled it all together in one place. Check it out here
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

Logic help Please

Please find attached file

Labels (1)
1 Solution

Accepted Solutions
sunny_talwar
MVP
MVP

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
MVP
MVP

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.