VALID_IF DROPDOWNS FROM A LIST IN A EXTERNAL ...

VALID_IF DROPDOWNS FROM A LIST IN A EXTERNAL SPREADSHEET

Hello! I have a list of value in an external spreadsheet saved on my Drive. It is a 5.000> rows spreadsheet and 100 columns.

With VALID_IF constrains it is possibile to limit the user input to a single value choosen from that external SPREADSHEET.

Do you think is going to be slow? Are there any workaround?

More info: The spreadsheet is created with an IMPORTHTML expression that grabs the data from the Italian National statistical Institute (ISTAT) and it is automatically updated when data changesโ€ฆ Fortunately, data changes rarely (only once or twice per year).

0 9 450
9 REPLIES 9

Yes itโ€™s possible to limit the list. The only question could beโ€ฆ how do you want to limit the data?

Enum type (dropdown)

Noโ€ฆ I mean how do you need to filter the data with the formula? Is there only one condition to check or something else?

Sorryโ€ฆ

Yes, if possible, my best scenario will be this one:

  1. SPREADSHEET COL A = Italian Regions ( only 20 repeated) COL B = Italian provinces (only 80 repeated) COL C=

Italian cities (5.000> unique values)

  1. USER User have to input 3 values: REGION, PROVINCE, CITY

  2. FILTER Filter will be like:

1ยฐ If user inputs REGION = โ€œLombardyโ€, then filter only the province in Lombardy.

2ยฐ if user input PROVINCE = โ€œMilanโ€, then filter only the cities in the Milan Area.

3ยฐ User choose only between more or less 200 unique values (instead of the whole 5.000>)

Thanks

Soโ€ฆ basically you are looking for a dependent dropdown. You can do that with the simple fomulas in Valid_If like TableName[Region], TableName[Province] and TableName[City].

Yes, exactly! Thank you very much.

So it is not a problem if data are not in my app sheet source? Or I am obliged to add a new source (the external spreadsheet)?

Sorry, Iโ€™ll try to be as clear as possibleโ€ฆ

I am considering to set a validation mechanism on user imputed addresses (not mandatory, but nice to have), but at the same time Iโ€™m afraid of a worsening of performance in terms of speed โ€ฆ

I have 2 spreadsheet: n.1 = my actual data source in Appsheet n.2 = italian addresses

I can choose between 3 alternatives options:

  1. Add in Appsheet a new table (Address) from a new source (Spreadsheet n.2)

  2. ImportRange all the data from Spreasheet 2 into a new table in Spreadsheet 1 in order to manage only 1 unique data source inside Appsheet;

  3. Create a VALID_IF with expression builder constrain using the url of SPREADSHEET 2. (is it actually possible? And how?). This solution should not require to add any new tables to Spreadsheet 1.

In terms of speed, which one youโ€™ll suggest?

Huge thanks for your helpfulness.

The data needs to be in your app. Otherwise you canโ€™t read it.

One solution is to use security filter. You could use usersettings for that purpose. User opens the usersettings and choose the region and provinceโ€ฆ then it will sync the app and now you have 200 addresses in your device.

When the user opens the app without usersettings, it wonโ€™t bring any data to the device.

Top Labels in this Space