Enumlist of not registered items

Hi. I want to know if there are ways to show only unregistered items in enumlist in another table. I have 2 tables. One is for registering the products. Another one is solely for the product details. 

For example:

Table 1

  • Planner
  • Markers
  • Pencil case
  • Box

In Table 2, details on planner and markers are already available. In the form list, i want to show only pencil case and box. Is this possible?

Solved Solved
0 5 148
1 ACCEPTED SOLUTION

Aurelien
Google Developer Expert
Google Developer Expert

Ok, then you may want to combine the FILTER with NOT(), IN() and AND(). 

For reference:

NOT() - AppSheet Help

IN() - AppSheet Help

AND() - AppSheet Help

Something like:

FILTER("itemTable",
  AND(
    [status]="not available",
    NOT(
      IN([keyColumnItemTable],yourCurrentTable[RefColumnToItemTable])
    )
  )
)

 

View solution in original post

5 REPLIES 5

Aurelien
Google Developer Expert
Google Developer Expert

Hi @snerdya 

yes, you need to set type EnumList, base type Ref, and then go a little below and set a filter expression in the Valid_If field.

 

Aurelien_1-1662536105565.png

 

Something like:

 

FILTER("itemTable",
  [status]="not available"
)

 

How about if i want to eliminate available item from the list?

Did you try my suggestion ?

Here is the documentation for the FILTER() expression: FILTER() - AppSheet Help

 

Yes I have tried your suggestion but there is error. What i wanted to do is filtering items that is not yet existed in the current table and comparing items that has been registered in the current table and the master table. but i'll try again your suggestion 

Aurelien
Google Developer Expert
Google Developer Expert

Ok, then you may want to combine the FILTER with NOT(), IN() and AND(). 

For reference:

NOT() - AppSheet Help

IN() - AppSheet Help

AND() - AppSheet Help

Something like:

FILTER("itemTable",
  AND(
    [status]="not available",
    NOT(
      IN([keyColumnItemTable],yourCurrentTable[RefColumnToItemTable])
    )
  )
)

 

Top Labels in this Space