Maybe I am just blanking, but if there an easy way...
# suiteanalytics
s
Maybe I am just blanking, but if there an easy way to make search criteria on a multi-select field that is equivalent to
is not empty
.
noneof - None -
does not work on multi-select fields.
LENGTH()
also gives unexpected error, I assume bc the way multi-select fields are.
k
Maybe concatenate your field with a comma
Case when {field}||','= ',' then 1 else 0 end and look for a 1
s
CONCAT and the pipe notation both yield unexpected error when the field is multiselect
k
oh wait - you're looking for ones that have a value
and aren't empty.
I think you've got a different issue with your search: this works
s
its this stupid field specifically I believe
same thing gives me unexpected error
it's not exposed to N/query at all which would be my preferred way to get the information, it's the advanced bom default for location column on assembly item records
k
if you remove that from your criteria and pull it into your results does it still bomb?
also - the fact that it's a location join related to an item makes me believe you'll likely never get it to work.
also - is that even really a multiselect field?
s
yes it is a multiselect, a revision can be either the master default, or the default for one or many locations
And yes it still bombs just as a formulatext like
{assemblyitem.locations} || ','
I'm just running an initial search to get the list of location ids and using a
location anyof [allTheLocations]
, stupid but oh well