Announcements
This site is in read only until July 22 as we migrate to a new platform; refer to this community post for more details.

Dropdown columns

Rui
New Member

Hi there,

suppose i have a dropdown column and the user may have to select more than one references. Is it possible?

Thanks,
Rui

Solved Solved
0 8 521
1 ACCEPTED SOLUTION

It’s possible yes, but if you’re wanting the ability to use the Ref column and allow people to select multiple options, it’s not a natively supported behavior by AppSheet; but that’s not to say you can’t make it work.

Best thing about AppSheet is the fact that you can do any one thing 3,000 different ways.

If you want to select multiple references, AND have those records show up in the inline view like they would if you had used a Ref column, you need to get a little fancy with formulas and virtual columns.


There’s two elements to this setup:

  1. the selection dropdown, and
  2. the virtual column that holds list of related records .

The Dropdown

To setup the dropdown, use the column type “Enumlist” and set it’s basetype to Ref.
2X_b_bba10adf01eda35914225f3f28de509950955012.png
After you save, another field will be visible that allows you to select which table the ref should point to:
2X_8_810135f999176359f8ca2010e5e23d424a4d68bd.png

The Virtual Column

Once this is setup, it’s time to build the virtual column; you’ll need to construct a formula to pull in the related records that correspond to what was just selected in the dropdown:

FILTER(“Table”, in([Key], [_thisrow].[Dropdown_Column]))

You can read more about FILTER() here:

View solution in original post

8 REPLIES 8
Top Labels in this Space