using UPPER() with a list, nested expression issue

I am tyring to make a new app, something relatively basic just have something to start from scratch and try to retrain myself with a little more experience under my belt, and the hope that i will do a better job of planning from the beginning.

i am running into an issue already with trying to use the upper() function.

i have an enum data type column called [category], and the app is essentially going to be a fairly basic idea tracker to be used with our morning meetings where people come up with ideas to eliminate waste and make our jobs more efficient. the hope is that the app will help track ideas and testing on those ideas to record the outcomes. so the user would log their idea and assign it a [category] to show what department or area of work the idea focuses on.

 

i have a sheet called options_db and it has two columns, category and option. so the [category] column in the ideas_db table, as previously stated, is an enum with no hard coded options. i have added the following to the valid_if expression:

sort(
SELECT(options_db[option],[category]="category")
)

 

this works and displays the desired options, but i am wanting to convert all the values to uppercase. i tried using upper() in several areas but i am not getting the outcoming i was hoping for. i presume it is because upper() expects a "text" data type, and enum, and this column is list.

how do i get this all converted to uppercase in the UI? i don't mind the lowercase on the backend, but users will likely bark about it ๐Ÿ™‚

thank you

0 5 272
5 REPLIES 5

Set ideas_db[option] as a Ref column to options_db. Add a new column to options_db to hold the capitalized (or whatever) display value, and set it as the Label column.

i don't think i'm following. I will re-read this a few times. Pasting this image for ease of reference for myself while i read this again


mykrobinson_0-1673440376135.png

 

@Marc_Dillon got it, thank you

mykrobinson_0-1673538421347.png

 

this does bring up another question though. How do i restrict the end user from adding more options now? I don't have the same parameters as i did with the Enum data type to not allow new entries.

Make the table read-only.

Top Labels in this Space