Exclude Data

Hi Guys.
I have a slice which returns a [TransportType] which the data returned would contain the following values.

COLLECTION
DELIVERY
MAKE AVAILABLE

In the slice, how do I exclude MAKE AVAILABLE ?

In my world of Access Queries it would be something like NotIn(โ€œMAKE AVAILABLEโ€) so what would be the syntax in the slice and where would I put this in the editor?

Kind Regards

0 8 544
8 REPLIES 8

Steve
Platinum 4
Platinum 4

Hmmmโ€ฆ I donโ€™t understand your use of the terms โ€œsliceโ€ and โ€œreturnโ€. I would have to guess that you want to create a slice that includes only rows with a TransportType column value that is not MAKE AVAILABLE. To do so, use the following as the sliceโ€™s row filter expression:

("MAKE AVAILABLE" <> [TransportType])

Can this be extended Steve.

("MAKE AVAILABLE" ,"COLLECTION",<> [TransportType])

Multiple parameters as above?

It certainly could! Try and figure it out and let us know what you find.

OR([JobStatus] = โ€œAUTHORISEDโ€, [JobStatus] = โ€œCOMPLETEโ€,[JobStatus] = โ€œESTIMATEDโ€,[JobStatus] = โ€œAUTH-REQUESTโ€,[JobStatus] = โ€œAPPOINTMENTโ€,[JobStatus] = โ€œNOTIFICATIONโ€,[JobStatus] = โ€œIN-PROGRESSโ€)

Thanks Steve, this seems to give me the filtered data I need ( Based on a different dataset but its correct)

Kind Regards

how aboutโ€ฆ

in([JobStatus], list(โ€œAUTHORISEDโ€, โ€œCOMPLETEโ€, โ€œESTIMATEDโ€, โ€œAUTH-REQUESTโ€, โ€œAPPOINTMENTโ€, โ€œNOTIFICATIONโ€, โ€œIN-PROGRESSโ€))

Whenever I get a list of options this big, I typically start thinking backwards - what statuses do I NOT want - that might be a shorter list.

Good shoutโ€ฆ Thnks for your version.

Kind Regards

Not(in(โ€œMake Availableโ€, [TransportType]))

Cheers Guys

Top Labels in this Space