Slice with multiple conditions

Iโ€™m trying to create a slice that does not equal to 3 entries. Basically I need an everything else slice. So If my column is labeled โ€˜foodโ€™, I want everything but โ€˜fruitsโ€™, โ€˜vegetablesโ€™, or โ€˜dairyโ€™. I canโ€™t seem to figure out the syntax. [column] <> โ€œfruitsโ€,โ€œvegetablesโ€,โ€œdairyโ€ doesnโ€™t seem to work.

0 3 834
3 REPLIES 3

OR([Food]<>"Fruits",[Food]<>"Vegetables",[Food]<>"Dairy")

Is there a way to add in catch all after the entry? Something like Fruits*, Dairy*? Iโ€™m still getting Fruits included and Iโ€™m thinking itโ€™s because of blank spaces "Fruits " does not get filtered.

Steve
Platinum 4
Platinum 4

Try:

NOT(IN([column], {"fruits", "vegetables", "dairy"}))

See also:





Top Labels in this Space