Row filter condition

I usually ask for your precious help.
I have this formula in a slicer view IN([Validity], LIST(expired, expiring)) which works great, I would like to add that it doesn't show me the rows with the "Terminated" values present in the "Status" column. How can I change it?

Thanks for all

Solved Solved
0 10 92
3 ACCEPTED SOLUTIONS

AND(
  IN([Validity], LIST("expired", "expiring")), 
  NOT("Terminated" = [Status])

)

View solution in original post

Change it to:

AND(
    IN([Validity], LIST(expired, expiring)),
    NOT([Status] = "Terminated"
)

I hope this helps! 

View solution in original post

It would be:

AND(
  IN([Validity], LIST("expired", "expiring")), 
  NOT("Terminated" = [Employee ID].[Status])

)

 

View solution in original post

10 REPLIES 10

AND(
  IN([Validity], LIST("expired", "expiring")), 
  NOT("Terminated" = [Status])

)

Change it to:

AND(
    IN([Validity], LIST(expired, expiring)),
    NOT([Status] = "Terminated"
)

I hope this helps! 

Hi, thank you, it works very well, but can it also be applied to a column in another table?
Thanks again

Yes. You just have to provide the row in which that column exists by using a dereference expression or lookup function like ANY(SELECT( ... ))

Thank you but do I have to insert Any select at the beginning of the formula?

On the row you are checking Validity, Do you have a reference column to the specific row in that OTHER table?

Hi, could you kindly help me with this formula? A thousand thanks

It would be:

AND(
  IN([Validity], LIST("expired", "expiring")), 
  NOT("Terminated" = [Employee ID].[Status])

)

 

Thanks a lot Perfect!

Hi, yes the reference column is "Employee ID"

Top Labels in this Space