on 2014 Dec 08 1:15 PM
Hello Everybody ,
How can I use Not InList function in sum function ?
For example
I want to Total Employees number except the number of trainees .
[Personnel Type] not in list "Trainess"
Hi
Using the eFashion universe I created query with just State and Quantity Sold. I then created a variable called UV State defined as follows...
=If(Trim([State]) InList("DC";"Texas");[State];"Other States")
Note I had to trim State because apparently it has trailing spaces.
I then created a table with UV State and Quantity Sold which results in this...
Grant points if it helps.
Regards
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
=count([Emp Id]) where (not([Personnel Type] inlist("Trainess")))
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
=Count([empoyeeid] where([Destination]<>"Trainess"))
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
try this:
=sum(if [Personnel Type] = "Trainess" then 0 else 1)
Hope that helps
Andreas
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
66 | |
10 | |
10 | |
10 | |
10 | |
8 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.